Book Image

PhoneGap 4 Mobile Application Development Cookbook

Book Image

PhoneGap 4 Mobile Application Development Cookbook

Overview of this book

Table of Contents (19 chapters)
PhoneGap 4 Mobile Application Development Cookbook
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Introduction


There are a number of common and widely used JavaScript frameworks that web professionals use and implement, some of which translate very well into the mobile landscape, such as jQuery.

There are, however, a number of considerations while selecting a JS framework to use in your mobile applications. One is the size of the library, which would inevitably add size to your final packaged application.

While having the full product you may be used to using on your web applications also in use within your mobile apps is serendipitous, options exist for smaller libraries that contain many of the features you need, such as CSS selectors, filtering, style detection, and AJAX requests using XmlHttpRequests.

In this chapter, we will look at the XUI JavaScript library and see how we can use it. XUI was written and maintained by the core members of the PhoneGap development team specifically for use in mobile applications, and it removes many of the unnecessary tools and hidden engines that do...