SDRuby Backbone lightning talk

1,081 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,081
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
15
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

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

×