| Mobile devices are here to stay but is your website ready? This book by Raymond Camden and Andy Matthews entitled jQuery Mobile Web Development Essentials Second Edition will help you get your website ready for mobile devices.|
The authors begin with a short introduction to jQuery Mobile, discussing how it is an HTML based framework with the features that work so well on mobile devices. Once you are convinced of its merits, the authors help you create your first web page, explaining how to add the jQuery Mobile component to HTML and how the data attribute div works with jQuery Mobile.
Moving from one web page to multiple mobile web pages, the authors discuss how hyperlinks are modified by jQuery Mobile. They show how to add multiple pages to one web page file using a div wrapper to identify the contents for each page in the file. They also discuss how jQuery Mobile uses hyperlinks and Ajax to move from one page to another and transition between pages. They also show how to use the data-prefetch attribute to preload secondary pages. The topic broadens as the authors discuss navigation toolbars, as well as fixed and full-screen headers and footers. Space is limited on mobile devices and the authors discuss how to use and style the many list features in jQuery to save space, including inset lists, count bubbles, icons, thumbnails and the search filter.
Once the basics are covered, the authors demonstrate how to build a simple mobile website for a fictitious Hotel Camden. Although a simple website, it does include Google’s Static Maps API. The authors also demonstrate the tel scheme to automatically dial a phone and the mailto scheme to open an email window.
Next, the authors discuss how to use forms and the various form fields in jQuery Mobile. They discuss how Ajax is used to send and receive information and update the form fields. Moving on, the authors cover creating dialogs, layout grids, popups, collapsible blocks and responsive tables and widgets. Although PHP is the most common server side language, the authors use Adobe’s ColdFusion for the back end processing.
Finally, you are ready to build a native application using jQuery Mobile and PhoneGap. You learn how to use the native APIs such as the Accelerometer, camera and Geolocation. The authors concentrate on how to build a working RSS Reader application.
You will find supporting files for this book on the publisher’s website. Although I found this book to be a good introduction to jQuery Mobile, the authors choice to use the AdobeR ColdFusionR server for their demo files may limit their target audience.
Raymond Camden is a Senior Developer Evangelist for Adobe and specializes in web standards, mobile and ColdFusion development. Andy Mathews is a 16 year veteran in web and application development.
More information on Packtpub.com
Disclosure: I was not financially compensated for this article. Packtpub provided this ebook for review purposes. The opinions are completely my own based on my experience.
Join us in the Animation forum. | Join us in the Digital Art forum.