All Projects → mgutz → backbone-knockout-examples

mgutz / backbone-knockout-examples

Licence: other
Backbone examples ported from Knockout.

Programming Languages

javascript
184084 projects - #8 most used programming language

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].