Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between jQuery Mobile and PhoneGap

jQuery Mobile and PhoneGap both appear to be targeting cross-browser mobile development based on HTML5, but what are the major differences between the two?

What are the Pros and Cons of each framework?

Why would you choose one over the over?

like image 776
Homer Avatar asked Nov 18 '11 15:11

Homer


People also ask

What is difference between jQuery and jQuery Mobile?

jQuery and jQueryUI are both designed to be 'added' to your site (desktop or mobile) - if you want to add a particular feature, jQuery or jQueryUI might be able to help. jQuery Mobile, however, is a full framework. It's intended to be your starting point for a mobile site.

What is jQuery Mobile used for?

The framework allows developers to build applications that can be accessed by the widest number of browsers and devices, whether it is Internet Explorer 6 or the newest Android or iPhone. Mobile jQuery also gives developers the ability to render basic content (as built) on basic devices.

Is jQuery Mobile still used?

jQuery Mobile is no longer supported.

What is difference between PhoneGap and Cordova?

The same is true here: Cordova is the open source version of the framework, while PhoneGap is the Adobe-branded version. In the end, there is little difference between the two efforts. There are some slight differences in the command-line interfaces, but the functionality is the same.


1 Answers

Simply put jQuery Mobile is a UI toolkit for building mobile web applicaitons.

PhoneGap is a JavaScript framework which allows you to access native device functionality like the camera, contacts, file system, etc. PhoneGap does not provide UI elements.

If you want to create a hybrid mobile app, one which is built using HTML5 but runs on a device like a native app, you would not choose one over the other. You'd use both.

like image 96
Simon MacDonald Avatar answered Oct 19 '22 23:10

Simon MacDonald