*Real-time Web apps
with HTML5 & BackboneTrevor Landau
New York Times@trevor_landau
trevorlandau.net
Web page + Desktop app=
Web App?
Real-time please…
* AJAX
https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest
* NYT Web App
http://app.nytimes.com
* Trellohttp://trello.com
* Linkedin Mobilehttp://touch.www.linkedin.com/mobile.html
*Pandorahttp://www.pandora.com
* JS gives us the power!
*MVC(Model, View, Controller)
* Backbone
* Angular
* Ember
* etc…
http://addyosmani.github.com/todomvc/
* What is MVC?
http://en.wikipedia.org/wiki/Model-view-controller
*Backbone.jsWith jQuery and Underscore
*Models
*Collections
*Views
*Eventshttp://en.wikipedia.org/wiki/Observer_pattern
*Resources
http://backbonejs.org/#http://trevorlandau.net/presentations/backbone#/http://ricostacruz.com/backbone-patterns/http://backbonetutorials.com/http://documentcloud.github.com/backbone/docs/backbone.htmlhttp://addyosmani.github.com/backbone-fundamentals/https://gist.github.com/3725515
*@trevor_landau
http://www.slideshare.net/landaut/realtime-webapps
trevorlandau.net