6. Problems facing with jQuery-only application
Data is tightly coupled with DOM
jQuery Callback is hell
Mostly get lost in forest of jQuery selectors and
callbacks
Scripts get scattered
Problem while debugging code
10. Problems facing with jQuery-only application…
Mostly get lost in forest of
jQuery selectors and callbacks
11. Problems facing with jQuery-only application…
Scripts get scattered
We love bugs
While trying to debug a jQuery application, I drink
lots of caffeine
14. SOLUTION…
Abstraction
abstraction is the process of separating ideas from specific
instances of those ideas at work. Wikipedia
We already know about it.
Model/Collection
Views/Templates
Controller/Router
20. BACKBONE.JS
Can easily be used in existing application or in a
component of existing application.
The focus is on supplying you with helpful
methods to manipulate and query your data.
21. BACKBONE.JS
Synchronous events are used as the fundamental
building block.
And if you want a specific event to be asynchronous and aggregated, no
problem.
http://underscorejs.org/#debounce
Backbone scales well, from embedded
widgets to massive apps.
22. BACKBONE.JS
Backbone is a library, not a framework, and plays well with
others.
Dojo
D3 visualization
Knockoutjs
Meteorjs
"Two way data-binding" is avoided.
Extension available.
24. BACKBONE.JS IS BACKBONE OF
Well known apps
https://trello.com/
https://delicious.com/
http://www.khanacademy.org/
& many more
Project Done by my team
Eternal Message
Cocolink-discussion
Startup project
onTreat.com (WIP)