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 https://github.com/gvaish/todomvc-mojito. I intend to implement with the following four variants:
- Using
controller
withcommon
affinity, so that all execution happens on the client side once loaded. - Using
controller
withserver
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.
Leave a Reply