Activate your free membership today | Log-in

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:
  1.  
  2. MyApp.MyMixin = {
  3.   initMixin: function() {
  4.    console.log("mixin inited!")// just for demo
  5.   }
  6. };
  7.  
  8. MyApp.myController = SC.Object.create(MyApp.MyMixin, {
  9.   // other properties
  10. });
  11. // => "mixin inited!"
  12.  

Related Content:

Posted by Dion Almaer at 5:07 am
1 Comment

++---
2 rating from 12 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.