Friday, November 28th, 2008

SproutCore: Mixins and Talk

Category: JavaScript, Library

<>p>

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:

javascript
< view plain text >
  1. MyApp.MyMixin = {
  2.   initMixin: function() {
  3.    console.log("mixin inited!");  // just for demo
  4.   }
  5. };
  6.  
  7. MyApp.myController = SC.Object.create(MyApp.MyMixin, {
  8.   // other properties
  9. });
  10. // => "mixin inited!"

Posted by Dion Almaer at 5:07 am
1 Comment

+----
1.9 rating from 13 votes

1 Comment »

Comments feed TrackBack URI

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

Comment by lovejs — November 28, 2008

Leave a comment

You must be logged in to post a comment.