Search code examples
javascriptweb-applicationscordovabackbone.jssencha-touch

What's the difference between the app based on backbone.js/ember.js and the one based on Phonegap/Sencha Touch?


As mobile web app gets more and more prevailing, a lot of tools become available for developing mobile web app. In my opinion(I don't know if it's correct), there are two ways to develop mobile web app.

One way is to use some javascript framework such as backbone.js and ember.js combined with some other libraries such as Zepto and iScroll to do this. The other way is to use some integerated toolkit such as PhoneGap and Sencha Touch to write the whole thing. What I want to know is what's the difference between these two ways? How should I choose between these two ways?


Solution

  • Phonegap is a wrapper framework which helps html/javascript app to run in a native container and give a medium to execute a native code whereever required. Phonegap is not integrated with Sencha Touch, you can use it with any client-size javascript frameworks like backbonejs, amberjs, jquery, jquery mobile, etc. Application built using Phonegap comes under hybrid application category.

    Please check some of this preps to get more info:

    http://www.slideshare.net/macdonst/building-native-mobile-applications-with-phonegap http://www.slideshare.net/kurotanshi/jsdctw-introduction-to-phonegap