Home >Web Front-end >JS Tutorial >How about jquery mobile
jQuery Mobile is a component of the jQuery framework (not the mobile version of jquery). jQuery Mobile is an HTML5-based user interface system designed to make responsive websites and apps accessible on all smartphones, tablets, and desktop devices. jQuery Mobile will not only bring the jQuery core library to mainstream mobile platforms, but also release a complete and unified jQuery mobile UI framework. Supports global mainstream mobile platforms.
Advantages of jQuery mobile
1. Cross-platform
Most of the current mobile device browsers Supporting the HTML5 standard, jQuery Mobile configures web pages with HTML5 tags, so it can span different mobile devices, such as Apple iOS, Android, BlackBerry, Windows Phone, Symbian and MeeGo, etc.;
2. Easy to learn
jQuery Mobile configures and beautifies pages through HTML5 tags and CSS specifications. For readers who are already familiar with HTML5 and CSS3, the structure is clear and easy to learn.
3. Provides a variety of function libraries
For example, keyboard, touch function, etc., there is no need to work hard to write program code. With a little setting, you can produce the desired function, greatly reducing the time spent in writing programs;
4. Diversity The theme and ThemeRoller tool
jQuery UI's ThemeRoller online tool can create a very distinctive web page style by simply pulling down the settings, and the code can be downloaded and applied. In addition, JQuery Mobile also Provides background themes to quickly create high-quality web pages.
Disadvantages of jQuery mobile
1. It runs slower than native programs
Even on the latest Android and iOS hardware (dual-core Tegra 2 Android phones, dual-core iPad 2 tablets), JQuery Mobile applications are significantly slower than native applications. Especially on Android, the browser is slower and has more bugs than iOS
2. Weird (cross-browser, cross-platform development)
JQuery Mobile is still a beta version, so You will encounter many bugs.
3. Limited Capabilities vs Native Programs
Obviously, JavaScript running in the browser cannot fully access many features of the device.
4. The UI is too restrictive
Summary:
Although jQuery Mobile leverages the latest HTML5, CSS3 and JavaScript, not all mobile devices provide such support. For simple content display and data input type applications (as opposed to rich multimedia/game programs), it is a powerful enhancement to native programs.
The above is the detailed content of How about jquery mobile. For more information, please follow other related articles on the PHP Chinese website!