HTML5 Zone is brought to you in partnership with:

Paul is a principal consultant at ThoughtWorks. He is enthusiastic about open source in particular. He is known for Dependency Injection (one of its pioneers with PicoContainer), Selenium browser automation (co-founder), Branch by Abstraction and most recently Client-Side MVC frameworks. Paul is a DZone MVB and is not an employee of DZone and has posted 69 posts at DZone. You can read more from them at their website. View Full User Profile

Visualizing the Client-Side MVC race

01.08.2013
| 2288 views |
  • submit to reddit

 

Alex Gomes has a great series running on alternate technologies that are competing for the mindshare of JavaScript web-app development. You know, as functionality shifts from server to browser. Here’s his latest. He has added Backbone to a series that already has ExtJS and JavaScriptMVC in it.

What is new is that you can compare branches for each implementation, as he has each implementation as a branch within the same repo now. This will help visualize the differences between competing frameworks. I think it is a race, and some consolidation is due.

Here’s the comparison between the Backbone implementation and the JavaScriptMVC one.

Alex’s implementation-per-branch organization is better than the way that Addy Osmani’s todomvc.com single branch design in my opinion. Sure it requires a higher level of SCM adeptness, and Git/Github in particular, but people who have skin in the game are much more likely to look at the diff, feel somewhat insulted at the implementation, and donate back a patch. Of course we don’t have patches any more, we have GitHub pull-requests.

Anyway, Alex will get round to AngularJS (then Knockout) sooner or later, and we’ll hopefully see JavaScript disappear, and magic arrive.

Github have a page/tutorial on comparison view here.

Published at DZone with permission of Paul Hammant, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)