Todo MVC using Mojito

TodoMVC is an awesome project by Addy Osmani and Sindre Sorhus. In their own words:

Developers these days are spoiled with choice when it comes to selecting an MV* framework for structuring and organizing their JavaScript web apps.

Backbone, Ember, AngularJS, Spine… the list of new and stable solutions continues to grow, but just how do you decide on which to use in a sea of so many options?

To help solve this problem, we created TodoMVC – a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.

The website now boasts of implementations using over three dozen frameworks. And I decided to pitch in using Mojito by Yahoo!

The main code is available at I intend to implement with the following four variants:

  • Using controller with common affinity, so that all execution happens on the client side once loaded.
  • Using controller with server affinity, to be able to describe a scenario on how one can shift execution from client to server.
  • Using YUI App framework, to show one can migrate an existing YUI application to Mojito
  • Using jQuery, to demonstrate how cool and easy it is to inter-operate the two.

The next couple of posts will be dissecting the Mojito TodoMVC application with common affinity for the controller, followed by migration to server affinity. The rest will follow soon.

Notice: This work is licensed under a BY-NC-SA. Permalink: Todo MVC using Mojito

Leave a Reply

Your email address will not be published. Required fields are marked *

question razz sad evil exclaim smile redface biggrin surprised eek confused cool lol mad twisted rolleyes wink idea arrow neutral cry mrgreen