Delivered at Newcastle Ruby Group on 20th July 2011. Brief overview of the rise of JavaScript in web development and how backbone.js will allow Rails developers to use JavaScript without ditching Rails.
8. Rails Models Heavy lifting Controllers & Routing Calling the shots Views Looking good
9. AJAX before Rails 3 Just let Rails do it’s thing ActionView::Helpers::PrototypeHelper _remote_ Control
10. AJAX after Rails 3 GET OUTA’ MY FACE! Unobtrusive JavaScript with jQuery ActionView::Helpers::JavaScriptHelper Go roll your own…
11. Can we do THAT?! But Facebook does it, it can’t be that hard. Ohhh, just add that. And that…. And that….. Awesome.
12. Convoluted Code You just cooked yourself up some spaghetti. JS becomes unmaintainable You start playing Jenga with code You hate it
13. There MUST be a better way Sproutcore? Cappuccino? Uki? Qooxdoo? GWT? But that all goes away from Rails.
14. It’s all JavaScript JavaScript runs in the client/browser It’s is incredibly fast It can run on the server BUT if you’re building on Rails, you have to duplicate all your domain logic.
15. Web Development Sucks “The core of the problem revolves around the most exciting domain in web application development today: Javascript. The explosion of Javascript has given rise to amazing applications of stellar quality for quite some time now, but I see them coming only from teams with gobs of time and expertise.” http://harry.me/2011/01/27/today-web-development-sucks/
16. The next DHH? “I see an opportunity for the next DHH to rise.”