Home  >  Article  >  Web Front-end  >  Xiaoqiang’s HTML5 mobile development road (33) - jqMobi basics

Xiaoqiang’s HTML5 mobile development road (33) - jqMobi basics

黄舟
黄舟Original
2017-02-04 14:38:541225browse

1. What is jqMobi

jqMobi is a JavaScript framework developed by appMobi for HTML5 browsers and mobile devices. It is an extremely fast query selection library that supports W3C queries.

Version

jqMobi source code was originally launched in January 2012. It is based on the MIT/X11 license and is hosted on GitHub. Developers can participate and continuously improve the framework through plug-ins.

On March 13, 2012, jqMobi version 1.0 was officially released. The latest version now is jqMobi 2.0

Features of jqMobi

Fast speed

Suitable for smartphones and tablets

Provides more than 60 API calls

Same syntax as jQuery

Plug-in extensible

Smaller size

Intel Acquisition

Intel February 22, 2013 Acquired HTML 5 mobile application company appMobi Html5 development tools and related employees, but did not acquire the startup. After the acquisition, jqMobi was renamed appframework. The later jqMobi is actually appframework. This move is one of Intel's actions to build its own mobile application developer tool suite. In order to provide more support for html5 and CSS3, the processor giant may consider building corresponding hardware.

2. The difference between jqMobi and jQuery

jqMobi is developed by appMobi, while jQuery is a product of jQuery Foundation. The jqMobi source code is rewritten based on the jQuery source code, but the two are different products. jqMobi is smaller, faster, and has different compatibility.

Smaller size

After compression, jqMobi’s files are smaller than jQuery

Fast speed

According to the data of JSPerf test , which is 3 times faster than jQuery on Android and 2.2 times faster on iOS. The tested speed is 3 to 5 times that of JqueryMobile, and the speed is similar to SenchaTouch

Compatibility

jqMobi is mainly aimed at operating systems with WebKit browsers (such as Android, iOS and the latest version Designed for BlackBerry OS), jqMobi 2.0 is compatible with IE10 (windows8 and windows phone8 platforms); while jQuery is compatible with more browsers (such as ie6).

3. The composition of jqMobi

Query library

This library provides more than 60 API calls, including Ajax calls, webkit-specific System selector calls etc.

jqUI

AppMobi is currently also committed to the development of jqUi, a 21KB user interface library that provides buttons, widgets, fixed header/footer and controllable scrolling widgets . The toolkit also only targets the mobile version of WebKit browsers, while supporting Android 2.2 and higher.

jqPlugin

Used for plug-in support for WebKit browser interactive interface.

4. jqMobi source code download and running demonstration

Official download address: http://app-framework-software.intel.com/

I download and upload: http ://download.csdn.net/detail/lxq_xsyu/6859059

Xiaoqiang’s HTML5 mobile development road (33) - jqMobi basics

The above is Xiaoqiang’s HTML5 mobile development path (33) - jqMobi basic content, more For related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn