March 5, 2021
Hot Topics:

PhoneGap for Mobile Web Development, Page 2

  • By Jason Gilmore
  • Send Email »
  • More Articles »

PhoneGap Tools and Mobile Frameworks

While PhoneGap effectively solves both the distribution and application capability dilemmas, you're still on the hook for building the application interface, behavior, and other features. Fortunately, several mature Web-based mobile frameworks are at your disposal, including several of which I've recently covered on Developer.com. I'll highlight a few of these tools along with pointers to useful tutorials here:

  • GWT Phonegap: This Google Web Toolkit wrapper facilitates integration of the Phonegap JavaScript API into GWT applications.
  • Sencha Touch: The Sencha Touch website includes an excellent tutorial explaining how to use Phonegap in conjunction with Sencha Touch, which you can read here.
  • jQuery Mobile: Although only a beta release, the popular jQuery project's mobile variant already offers a powerful mobile development solution. It integrates well with Phonegap, as is evidenced by developer Pete Freitag's excellent set of slides (PDF).

In addition to your choice of Web-based mobile frameworks, a number of third-party developer tools are at your disposal. Among these tools you'll find html5sql, a JavaScript module useful for integrating HTML5 databases, and lawnchair, a Couch-like client-side document store. The Phonegap website includes a complete list, which you can find here.

How PhoneGap Interacts with the Mobile APIs

PhoneGap provides developers with access to the mobile device operating system APIs by way of its own JavaScript API. This API is not only incredibly capable, but also well-documented. Keep in mind this API is universal, capable of being used in conjunction with all of the supported mobile platforms, meaning you have the luxury of truly writing once and running everywhere.

Learning Resources for PhoneGap

PhoneGap is a very active project receiving a great deal of attention.

  • Phonegap Google Group: Use the group to interact with and ask questions of other developers
  • Phonegap Wiki: Although a bit chaotic at the time of this writing, the Phonegap wiki nonetheless provides a great deal of information about different aspects of project usage.
  • Get Inspired: The Phonegap website includes a comprehensive list of impressive applications built using Phonegap, be sure to check this out to get a feel for what's possible.

About the Author

Jason Gilmore -- Contributing Editor, PHP -- is the founder of EasyPHPWebsites.com, and author of the popular book, "Easy PHP Websites with the Zend Framework". Jason is a cofounder and speaker chair of CodeMash, a nonprofit organization tasked with hosting an annual namesake developer's conference, and was a member of the 2008 MySQL Conference speaker selection board.

Originally published on https://www.developer.com.

Page 2 of 2

This article was originally published on September 12, 2011

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date