Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SDRuby Backbone lightning talk

1,150 views

Published on

Published in: Technology
  • Be the first to comment

SDRuby Backbone lightning talk

  1. 1. GIVE YOURSELF SOME BACKBONE Ryan Weald isurfsoftware.comMonday, February 28, 2011
  2. 2. WHAT IS BACKBONE.JS? •Lightweight MVC framework •Model - View - Controller & Collections •Way to organize your Javascript •Slightly different MVC from RailsMonday, February 28, 2011
  3. 3. CHANGING THE FLOW Rails Model Rails Controller Rails ViewMonday, February 28, 2011
  4. 4. CHANGING THE FLOW Rails Model Rails Controller Backbone Model Backbone Controller Backbone ViewMonday, February 28, 2011
  5. 5. WHY WOULD I WANT THAT •Easier to test your Javascript •Makes your Rails app a simple REST API •Simplify your Ajax •Offload computation to the clientMonday, February 28, 2011
  6. 6. CODE SAMPLEMonday, February 28, 2011
  7. 7. RESOURCES http://documentcloud.github.com/backbone/ http://www.jamesyu.org/2011/01/27/ cloudedit-a-backbone-js-tutorial-by-example/Monday, February 28, 2011
  8. 8. DONE!Monday, February 28, 2011
  9. 9. DONE! Ryan Weald isurfsoftware.com github.com/rweald twitter.com/ucsd_surfNerdMonday, February 28, 2011

×