Slide 7
Slide 7 text
• Instructional & portable
• Only views & controllers
• Data store is local, non-flaky, & dumb
(i.e. unrealistic)
In order to illustrate how frameworks differ from libraries, let's look at TodoMVC...
What is it?
- The same app (todos) built in ~20 different js frameworks (Backbone, Angular, Ember,
Knockout, etc)
- Intended to be instructional & portable
- TodoMVC is good, but it's not the whole picture
- only deals with views & controllers
- data store is local, non-flaky, & dumb (not very realistic)
[as opposed to REST: validations, relations, collaboration]
This focus on views & controllers (and it leaves out the back-end) is consistent with most of
the javascript frameworks out there: most focus on data-binding and routing, punt on
persistence.