jQuery Mobile 是一个基于 jQuery 的移动应用程序开发框架。开发者可以将应用程序托管在Web服务器上,当智能手机或平板电脑访问使用jQuery Mobile开发的应用程序时,虽然是基于浏览器访问,但用户界面和操作体验非常接近通常的原生应用程序。 .
jQuery Mobile 开发者在支持更多兼容的移动设备浏览器、良好的运行速度和统一灵活的用户体验方面投入了大量精力。一次开发,随处运行,是这个移动应用开发框架的一个共同特点。
在本章中,我们将学习,
.jQuery的基本概念
. jQuery、jQuery Mobile 和 jQuery UI 之间的关系。 · 使用 Web 应用程序开发移动应用程序的原因和好处。 jQuery Mobile 对不同移动设备的支持
·与其他移动应用开发框架相比,jQuery Mobile的优势·不适合web应用的场景
在使用 jQuery Mobile 之前,许多开发人员可能已经使用 jQuery 或 jQuery UI 进行网站应用程序开发。 jQuery Mobile 和 jQuery UI 都基于 jQuery 框架提供了相应的接口和解决方案。区别在于 jQuery Mobile 是针对移动平台的,而 jQuery UI 是针对桌面应用程序的。虽然部分 jQuery UI 应用也可以在 Android 或 iPhone 上运行,但 jQuery Mobile 从界面到操作都更针对移动应用进行了优化,因此用户体验更好。
一般熟悉 jQuery 或 jQuery UI 的工程师可以根据之前的经验轻松地将应用程序迁移到 jQuery Mobile。值得指出的是,在桌面 Web 应用开发的 JavaScript 库中,jQuery 是目前市场占有率最高的框架。可以预见,大量的软件工程师将能够通过jQuery Mobile快速开发出高质量的跨平台移动应用。
(JQuery mobile is a mobile application development framework based on jQuery. Developers can host applications on a web server. When a smartphone or tablet accesses an application developed using jQuery mobile, although it is based on browser access, the user interface and operating experience are very close to the usual native applicationsJQuery mobile developers have invested a lot of energy in supporting more compatible mobile device browsers, good running speed and unified and flexible user experience. One time development and running everywhere is a common feature of this mobile application development framework.In this chapter, we will learn,Basic concepts of. Jquery. the relationship between jQuery, jQuery mobile and jQuery UI· Reasons and benefits of using web applications to develop mobile applications. JQuery mobile support for different mobile devices·Compared with other mobile application development frameworks, the advantages of jQuery mobile are not suitable for web application scenariosBefore using jQuery mobile, many developers may have used jQuery or jQuery UI for website application development. Both jQuery mobile and jQuery UI provide corresponding interfaces and solutions based on jQuery framework. The difference is that jQuery mobile is for mobile platforms, while jQuery UI is for desktop applications. Although some jQuery UI applications can also run on Android or iPhone, jQuery Mobile has been optimized for mobile applications from interface to operation, so the user experience is better.Generally, engineers familiar with jQuery or jQuery UI can easily migrate applications to jQuery mobile based on previous experience. It is worth noting that in the JavaScript Library of desktop web application development, jQuery is the framework with the highest market share at present. It can be predicted that a large number of software engineers will be able to quickly develop high-quality cross platform mobile applications through jQuery mobile.)