background preloader

Sproutcore

Facebook Twitter

SproutCore.

Ki - statecharts

jQuery. DataStore-About DataSources. Data sources connect your in-memory store to one or more server backends.

DataStore-About DataSources

Unlike the rest of the DataStore framework, the data source is really not much more than an API definition. Most of its contents are up to you to implement according to the type of backend you want to work with. To get started working with your own data source, you just need to define one in your application. Usually it goes into a file at the root level of your app or framework or in a directory called “data_sources”.

It’s up to you. MyApp.DataSource = SC.DataSource.extend({ // code goes here... You then need to switch your application store to use your own data source. // change... store: SC.Store.create().from(SC.Record.fixtures), // to... store: SC.Store.create().from(‘MyApp.DataSource’) Note that the line above names your data source class as a string (If you were using an older version of 1.0, you may have to update your app to make this change, as sproutcore will no longer accept the actual class itself). Hottest 'sproutcore' Answers. JSON. Community. Facebook HTML5 Event Palo Alto, CA - Jan 26 Charles Jolley gives a general introduction to SproutCore.

Community

Visit Event Website Day of JS Mountain View, CA - Jan 27 Yehuda Katz gives a general introduction to SproutCore and why it's the right choice for your app. Visit Event Website DevNexus Atlanta, GA - Mar 21-22 Yehuda Katz discusses SproutCore and using it to build multi-device web applications. Visit Event Website jQuery Conf Mountain View, CA - Apr 16-17 Yehuda Katz discussed techniques for managing large-scale applications, getting truth out of the DOM, and lessons learned from SproutCore.

Visit Event Website Philly ETE Philadelphia, PA - Apr 27-28 Yehuda Katz gives a general introduction to SproutCore and what makes it great. Visit Event Website jQuery Meetup Boston Yehuda Katz gives a general introduction to SproutCore for jQuery developers. Visit Event Website BarCamp Sarasota, FL - Apr 30-May 1 Visit Event Website JS Day Italy Verona, Italy - May 11-12 Visit Event Website Web Directions Portland, OR - May 12.

Sproutcore and App Dev In General. I’ve been intentionally learning how to develop using Sproutcore for about a month now, so I’ve been more aware of the buzz about it, and I have to say that most things I read are missing the point about the value promise of Sproutcore.

Sproutcore and App Dev In General

The impetus behind my learning is that it is an application development framework for the HTML5/JavaScript platform, versus the Flash Platform that I’m used to developing for. The key here is that it is an application development framework. It is not another DOM access library, widget set, or MVC, and it shouldn’t even be compared to them. It’s not a “Flash-killer“. It’s not even a “Flex-killer” per se, although in my mind it is an alternative in part. Flash is just a display technology. I realize that Adobe’s building in support for FlexUnit4 in Flash Builder 4 / Flex 4 SDK which is wonderful.