Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery Mobile vs regular jQuery

Tags:

jquery

I read this thread jQuery vs jQuery Mobile vs jQuery UI?

but still confused. Is jQuery mobile interchangeable with desktop jQuery?

Can jQuery mobile be used for desktop development? and Can you use regular jQuery for mobile development?

Other than better touch support , what other advantages does jQuery Mobile offer?

like image 726
Bachalo Avatar asked Apr 06 '12 18:04

Bachalo


People also ask

Do people still use jQuery Mobile?

The deprecation of jQuery mobile follows the careful transition of another project under the jQuery project umbrella, jQuery UI. jQuery Core is still actively maintained and widely implemented.

Does jQuery Mobile depend on jQuery?

However, jQuery Mobile is a full framework which is built on jQuery and jQuery UI foundation. It makes use of features of both jQuery and jQueryUI to provide both UI components and API features for building mobile-friendly sites.

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.

What is difference between jQuery and jQuery UI?

JQuery is basically the base of JQuery UI and is the more powerful between the two. It should be used for more advanced work that requires custom code and interactions. For basic user interface needs, using the JQuery UI is very beneficial as it reduces the complexity of coding and speeds up the entire process.


1 Answers

Let me help explain this a little bit.

jQuery is the basic foundation for jQuery Mobile and jQueryUI, sort of like the basement is for the rest of a house. jQuery itself has many great tools to manipulate a webpage and add interactivity to a page, as well as many other fancy features that can't be accomplished by HTML and CSS alone. Here is their site for all of the different things that can be done with jQuery alone: http://api.jquery.com/.

jQueryUI is built on top of jQuery, much like how the first level of a house is built on top of a basement. jQuery UI contains a series of pre-built, interactive widgets which can be easily integrated into a website. Keep in mind that all of jQuery UI was built using simply jQuery, JavaScript, and CSS. It is possible (and really easy) to replicate these widgets yourself using only jQuery. These guys were just nice enough to write them for you. :) Here is a site where you can check out all of their widgets: http://jqueryui.com/demos/.

Last we come to jQuery Mobile. This is also built on top of jQuery, but not on top of jQuery UI. Using my previous analogies, you can think of it as a garage. It's not on top of a first floor, but it sits right beside it, with a different purpose than the main living space of a house. jQuery Mobile is like a combination of jQuery and a lightweight, altered version of jQuery UI, optimized for use on mobile devices. In essence, it is a framework of code and widgets that add application-like features and widgets to a webpage for mobile use. You can demo jQuery Mobile right here: http://jquerymobile.com/demos/1.1.0-rc.2/, or you can quickly build your own jQuery Mobile page using this drag and drop tool: http://codiqa.com/.

Hope that was helpful in distinguishing between them.

like image 179
Oliver Spryn Avatar answered Nov 15 '22 06:11

Oliver Spryn