Book Details

About This Book

Discover how we can leverage on Wordpress as a content management system and serve content to mobile apps by exposing its API

Learn how to build geolocation mobile applications using Wordpress and PhoneGap

Step-by-step instructions on how you can make use of jQuery and jQuery mobile to provide an interface between Wordpress and your PhoneGap app

Who This Book Is For

If you are a developer with basic knowledge of Wordpress, HTML/CSS/JavaScript seeking to understand how to further your knowledge in creating cross-platform mobile applications using PhoneGap, then this book is for you.

Table of Contents

Chapter 1: WordPress Overview and Installation

Preamble

The famous five minute installation of WordPress

A five minute introduction to WordPress

Summary

Chapter 2: Adding Geographic Capabilities via the GeoPlaces Theme

Introducing the GeoPlaces theme

Summary

Chapter 3: Extending WordPress Using JSON-API

Introducing the JSON-API plugin

A simple web app to read data

Paging through blog posts

Creating blog post

Summary

Chapter 4: Building Mobile Applications Using PhoneGap

Introducing PhoneGap

Using jQuery in PhoneGap

Capturing geolocation using PhoneGap API

Summary

Chapter 5: Extending WordPress to the Mobile World

Introducing jQuery Mobile

Extending our PhoneGap app

Putting everything together with the GeoPlaces theme

Summary

Chapter 6: Using Open Source Themes

General idea

Creating a PhoneGap Mobile app using the Twenty Ten theme

Summary

What You Will Learn

Learn about the capabilities of Wordpress

Take advantage of geographic capabilities of Wordpress via the GeoPlaces Theme

Expose an API from Wordpress

Create an external app using HTML/CSS/JavaScript that interfaces with Wordpress

Convert an HTML/CSS/JavaScript app to a PhoneGap application

Code for a PhoneGap app interfacing with a Wordpress blog

Learn tips and tricks on how to test your mobile app on a browser before testing it on your emulator

In Detail

With the explosive popularity of mobile apps and its much anticipated continued growth for the foreseeable future, developers will want to get their hands dirty and build some cool mobile apps. But we know that building mobile apps is not easy: we need to handle cross-platform issues, mobile devices of different screen sizes, not to mention traditional issues such as providing a content management system of the content served in the application.

Enter "WordPress Mobile Applications with PhoneGap". We leverage on some of the most popular open source projects: Wordpress, jQuery, jQuery Mobile and PhoneGap and discover how they can be pieced together to build a fully functional cross platform mobile application.

"WordPress Mobile Applications with PhoneGap" teaches you how to build mobile application with minimal effort and coding by leveraging on some of the most popular open source projects such as Wordpress, jQuery, jQuery Mobile and PhoneGap.

This book looks at some of the most popular open source projects: Wordpress, jQuery, jQuery Mobile and PhoneGap and breaks down the nitty gritty details on how to leverage on these projects to build a fully functional cross-platform mobile application with minimal coding and effort.

You will start off by quickly going through the capabilities of Wordpress. Then you will prepare some groundwork on how to make use of plugins and the GeoPlaces theme to provide geographic and API capabilities to WordPress. Next you will learn how to create an external HTML/CSS/JavaScript that consumes and posts data to your Wordpress blog. More importantly, you will see how to convert this external app into a PhoneGap in as little as five minutes. Finally, you will learn how to apply all these techniques and skills to a Wordpress app based on the Twenty-Ten theme and create a cross-platform mobile app using PhoneGap.

By the end of "Wordpress Mobile Applications with PhoneGap" you will learn how to piece Wordpress, jQuery, jQuery Mobile and PhoneGap together into a fully functional mobile app.

Authors

Yuxian, Eugene Liang

Yuxian, Eugene Liang is a frontend engineer with working knowledge of UX and data mining / machine learning. He builds applications predominantly using JavaScript/Python, and related frameworks such as AngularJS, ReactJS, Node.js, Tornado, and Django. He led a team of two (including himself) to win Startup Weekend at Taiwan recently. He has also completed academic research on social network analysis (link prediction) using machine learning techniques, while interning as a frontend engineer at Yahoo!. To know more about him, visit http://www.liangeugene.com.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.