Friday, November 28th, 2008
SproutCore: Mixins and Talk
If you skip in 20 minutes to the presentation above you will find Charles Jolley talking about SproutCore:
During this presentation I actually built and deployed a small application on stage but the most interesting thing, I think, is the part where I talk about how thick client frameworks like SproutCore change the way you build your server side as well. It’s a model I call “microservices.”
SproutCore 1.0 is coming together nicely, and we keep seeing improvements such as mixin support that allows you to simply:
-
-
MyApp.MyMixin = {
-
initMixin: function() {
-
console.log("mixin inited!"); // just for demo
-
}
-
};
-
-
MyApp.myController = SC.Object.create(MyApp.MyMixin, {
-
// other properties
-
});
-
// => "mixin inited!"
-












Nice talk. Some inspiration taken from Douglas Crockford on the 3270 :) http://yuiblog.com/blog/2007/11/06/video-crockford/ (5:15)