Backbone Examples from Knockout
This project contains Knockout examples ported to Backbone. The motivation is to learn enough about each to determine which framework best suits my style.
Opinion
My initial impression is Knockout is the more elegant framework as of this writing. However, almost everything jashkenas, the author of Backbone, has created has been excellent. Backbone's markup is cleaner, which facilitates integrating creative assets from designers. Backbone's' synchronization with RESTful services could also be a plus. We'll see.
Knockout's examples have too much inline javascript in data attributes. Perhaps that is intentional to keep the examples concise. Not sure I like that. Who knows, I'm un-learning a lot of things and that may be one of those compromises which makes code simpler at the expense of architectural correctness.
Pre-requisites
Install both via npm
Examples Ported
- Hello World
- Click Counter
- Simple List
Run It
node app.js
TODOS
- Use Docco
- Create a Pretty Examples Site