Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

MVC Todo apps for JavaScriptMVC, SproutCore, Backbone.js, Spine.js, YUILibrary, Knockout.js and more

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 images
Octocat-spinner-32 js
Octocat-spinner-32 lib
Octocat-spinner-32 res
Octocat-spinner-32 todo-example
Octocat-spinner-32 README.md
Octocat-spinner-32 bootstrap.css
Octocat-spinner-32 bootstrap.min.css
Octocat-spinner-32 index.html
README.md

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

Introduction

Developers these days are spoiled with choice when it comes to selecting an MVC framework for structuring and organizing JavaScript web apps. Backbone, Spine, SproutCore, 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, I created TodoMVC - 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:

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

A jQuery-only version of the application is also included so you can easily see how the app can be implemented with and without a structural pattern like MVC.

Screenshots:

Preview of some of the apps included:

Official site & Getting Involved

For live previews of Todo apps and more information on the project, see the official TodoMVC site here: http://addyosmani.github.com/todomvc/

Changelog since 0.2

  1. ExtJS example added
  2. jQuery-only example added
  3. Minor fixes to Backbone example
  4. Dojo example (in-development)
  5. Backbone + RequireJS example (completed, pending merge)
  6. Backbone + RJS + Mediator + Facade (completed, deciding on merge)
  7. JavaScript non-framework MVC implementation pull received (pending review)
  8. KnockBack pull received (merging for version 0.3)
Something went wrong with that request. Please try again.