GOOD NEWS

GOOD NEWS
Ask For The Truth...

Sunday, September 2, 2012

Employee Directory Sample App with Backbone.js and jQuery Mobile

Employee Directory Sample App with Backbone.js and jQuery Mobile:
Here is a mobile version of my Backbone.js Employee Directory application using jQuery Mobile as the UI toolkit.
As described in my previous post, jQuery Mobile was (at least initially) intended as a full-stack framework as opposed to a pure UI toolkit like Twitter Bootstrap. As such, it overlaps with the Backbone.js infrastructure in some areas. In particular, the URL routing feature provided by both frameworks may clash. The approach used here is to disable the routing and navigation capabilities of jQuery Mobile, and essentially use it as a pure UI framework on top of Backbone.js. This approach and its caveats are described in my previous post.







Click here to run the application.
A Backbone.js + Twitter Bootstrap version of this application is available here.
Source Code
I updated the backbone-directory GitHub repository to include this version: It is available in the jquerymobile directory while the Twitter Bootstrap version is available in the web directory.



Retweet this





Share on Facebook




Follow @ccoenraets
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

No comments:

Post a Comment