BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

jQ.Mobi – jQuery Optimized for Mobile Devices

by Abel Avram on Jan 27, 2012 |

appMobi has open sourced jQ.Mobi, a rewrite of jQuery, competing with jQuery Mobile for developer mindshare.

jQ.Mobi is a partial rewrite of jQuery but optimized for HTML5 and mobile devices. It’s footprint is just 3KB compared to JQuery’s 35KB, and it is 3 times faster than jQuery on Android and 2.2x faster on iOS, according to a JSPerf test. The framework has been made available and open sourced by appMobi. The programming syntax for jQ.Mobi is identical to JQuery’s as it is its plugin development. jQ.Mobi contains only a subset of jQuery’s API, the one considered “essential” by appMobi in order to provide an identical user experience both on iOS and Android.

jQ.Mobi is made up of three components:

  • the query library
  • jQ.Ui – an UI library for WebKit browsers
  • jQ.Plugin – plugin support for WebKit browsers

A demo is set up to show framework’s capabilities.

Why would someone create a new jQeury-based JavaScript framework when the jQuery team has released jQuery Mobile 1.0 two months ago? appMobi motivates their effort by the fact that jQuery has its roots in desktop browsers, and as a result the mobile version of their framework is not well optimized and it does not provide great experience on mobile devices, especially on Android.

Todd Parker, Mobile Lead at jQuery, has acknowledged some of the problems with jQuery Mobile, and the team has just announced a maintenance release (1.0.1) fixing a large number of bugs and more widgets and improvements to come in version 1.2.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1.0.1 was released but the article makes reference to 1.2 by john bender

The next point release for us will be 1.1. 1.0.1 is a patch release.

Wow this is fast by Roopesh Shenoy

I agree, JQuery mobile demo feels clunky compared to jQ.mobi demo even on a desktop browser.

Competition is good by idris yuce

Competition is good and always brings quality for the user as in this case.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

3 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT