MVC Todo apps for JavaScriptMVC, Ember.js (SproutCore), Backbone.js, Spine.js, YUILibrary, Knockout.js and more
Switch branches/tags
Pull request Compare This branch is 2640 commits behind tastejs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

##TodoMVC - A common demo application for popular JavaScript MVC frameworks (0.25)


Developers these days are spoiled with choice when it comes to selecting an MVC framework for structuring and organizing JavaScript web apps. Backbone, Spine, Ember.js (SproutCore 2.0), JavaScriptMVC... the list of new and stable solutions goes on and on, but just how do you decide on which to use in a sea of so many options?

To help solve this problem, TodoMVC was created - a project which offers the same Todo application implemented using MVC concepts in most of the popular JavaScript MVC frameworks of today. Solutions look and feel the same, have a common feature set, and make it easy for you to compare the syntax and structure of different frameworks, so you can select the one you feel the most comfortable with.

####Todo apps are included for:

  • Backbone.js
  • Ember.js (SproutCore 2.0)
  • Spine.js
  • JavaScriptMVC
  • Sammy.js
  • YUILibrary
  • KnockoutJS (MVVM)
  • Knockback
  • AngularJS
  • Broke.js
  • Fidel.js
  • ExtJS

Additionally, apps are also included for:

  • Backbone + RequireJS (using AMD for modules)
  • AngularJS + PersistenceJS
  • A jQuery-only (non-MVC) app is included too for comparison purposes


Preview of some of the apps included:


As of January 2012, I'm happy to introduce Aaron Boushley as a core committer to TodoMVC. Aaron is a JavaScript developer with a keen interest in architectural frameworks and will be helping both standardize existing examples and improve the project as we work on expansion.

##Official site & Getting Involved

For live previews of Todo apps and more information on the project, see the official TodoMVC site here:

Whilst we enjoy implementing and improving existing Todo apps, we're always interested in speaking to framework authors (and users) wishing to share Todo app implementations in their framework/solution of choice. If you have an implementation you would like to show us or a patch you would like to send upstream, please feel free to send through a pull request. One of us will be happy to review them and consider them for inclusion.

Note that due to the current number of MVC/MVVM/MV* frameworks in circulation at the moment, it's not always possible to include each one in TodoMVC, but we'll definitely discuss the merits of any framework prior to making a decision. We hope you understand :)

##Changelog 0.25

  • A number of clean-ups and fixes have been made to existing examples
  • Backbone + RequireJS example added and tweaked
  • Improved Ember.js example
  • KnockBack (2 examples) added

##Next release

The target release timeline for TodoMVC 0.3 in mid-January 2012. This will contain standardized revisions to existing applications as well as Dojo (and other) implementations of the Todo app.