WordPress Mobile Applications with PhoneGap - Yuxian Eugene Liang - E-Book

WordPress Mobile Applications with PhoneGap E-Book

Yuxian Eugene Liang

0,0
16,79 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

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.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 72

Veröffentlichungsjahr: 2012

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

WordPress Mobile Applications with PhoneGap
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
A 30,000-feet overview of this book
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. WordPress Overview and Installation
Preamble
Mac
Windows
The famous five minute installation of WordPress
A five minute introduction to WordPress
Themes
Plugins
Summary
2. Adding Geographic Capabilities via the GeoPlaces Theme
Introducing the GeoPlaces theme
An overview of the GeoPlaces theme
Setting up the GeoPlaces theme
Installation
Populating the site with sample data
Playing with sample data
Checking out cities
Adding a place from the frontend
Adding a place from the admin side
Adding a city from the admin side
Summary
3. Extending WordPress Using JSON-API
Introducing the JSON-API plugin
Installation
Exploring the JSON-API plugin
A simple web app to read data
Reading a blog post
Creating a Hello World JavaScript app
Consuming JSON feeds
Paging through blog posts
Paging across the blog post
Creating blog post
Manual creation of posts
Programmatic creation of posts
Summary
4. Building Mobile Applications Using PhoneGap
Introducing PhoneGap
Getting started
Creating a Hello World application
Using jQuery in PhoneGap
Performing a RESTful GET request in the PhoneGap application
Capturing geolocation using PhoneGap API
Summary
5. Extending WordPress to the Mobile World
Introducing jQuery Mobile
Installing jQuery Mobile and theming
jQuery Mobile page template
Animation effects
Extending our PhoneGap app
Posting data to a JSON endpoint in PhoneGap
Putting everything together with the GeoPlaces theme
Hacking the JSON-API plugin
Powering your PhoneGap app
Summary
6. Using Open Source Themes
General idea
Creating a PhoneGap Mobile app using the Twenty Ten theme
Switching to the Twenty Ten theme
Custom fields
Reading from and writing to WordPress
Preamble
Creating a post with custom fields
Reading a post with custom fields
Building an Android PhoneGap app
Shifting your web app code to PhoneGap
Creating a post with custom fields
Reading a post with custom fields
Summary
Index

WordPress Mobile Applications with PhoneGap

WordPress Mobile Applications with PhoneGap

Copyright © 2012 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: November 2012

Production Reference: 1161112

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-84951-986-1

www.packtpub.com

Cover Image by John M. Quick (<[email protected]>)

Credits

Author

Yuxian Eugene Liang

Reviewers

Ken Cenerelli

Adam D. Scott

Kerri Shotts

Acquisition Editor

Usha Iyer

Commissioning Editors

Maria D'souza

Llewellyn Rozario

Technical Editor

Nitee Shetty

Copy Editors

Brandt D'Mello

Insiya Morbiwala

Aditya Nair

Project Coordinator

Shraddha Bagadia

Proofreader

Aaron Nash

Indexer

Tejal Soni

Production Coordinator

Melwyn D'sa

Cover Work

Melwyn D'sa

About the Author

Yuxian Eugene Liang is a researcher, author, web developer, and business developer. He enjoys solving difficult problems creatively by implementing web applications using Python/Django/Tornado and JavaScript/jQuery/Node.js. He also enjoys doing research related to the areas of social network analysis, social computing, recommendation algorithms, link analysis, data visualization, data mining, information retrieval, business intelligence, and intelligent user interfaces. He previously authored JavaScript Testing Beginner's Guide, Packt Publishing. Find him at http://www.liangeugene.com. Support for this book can also be found at http://wordpressphonegap.liangeugene.com.

I am grateful for this opportunity and I certainly want to thank the folks at Packt Publishing, Shraddha Bagadia, Manali Mehta, Maria D'souza, Ninad Vedak, and Namita Nair, who collaborated with me on this book.

Special thanks to Professor Daphne Yuan Soe-Tsyr, Professor Tsai-Yen Li, and Professor Pailin Chen of National Cheng Chi University (NCCU, Taipei Taiwan) for providing me with timely and practical advice on how to do great research and how to deal with life.

To the good people of Service Science Research Centre, Intelligent Media Lab, and the research team of the Flood and Fire research project of NCCU, thank you for helping me out when I needed it most.

I also want to thank Charlene Hsiao, YC. I, and Michelle Yuan for helping me out when both of my hands are down, literally.

Last but not least, my family members and friends for their continued support.

About the Reviewers

Ken Cenerelli is a Senior Software Developer who specializes in designing and creating effective solutions for both the Web and desktop environments. With over 11 years of experience in software design, development, and support, he has engineered strong, data-driven web applications using the Microsoft .NET framework for large and small companies throughout North America. Ken also works with mobile technologies and has built apps for both Windows Phone 7 and the Android OS. In the years prior to his career in software development, he was employed with the newspaper industry, holding jobs as a reporter and a newspaper librarian.

He lives in Ontario, Canada with his wife Renée. Visit his developer's blog at kencenerelli.wordpress.com to see what he is currently exploring, and to learn more about him, you can also follow him on Twitter at @KenCenerelli.

Adam D. Scott is a designer, frontend developer, husband, and father living in Connecticut. He has been a dedicated educator for six years, focusing on web technologies with project-based outcomes. He writes about the intersection of design, technology, and learning at adamdscott.com.

He is the author of the book, WordPress for Education, Packt Publishing.

I would like to thank those at Packt Publishing for their dedication to documenting and promoting open source software, and the WordPress community for their continual development of an incredible publishing platform.

Kerri Shotts is an IT Consultant specializing in mobile application development and website design. She can be found most days working from her home near Saint Louis, Missouri. She loves to read and write books and music, enjoys working with her aquariums, and is in love with all things Apple. She is the author of PhoneGap Hotshot, Packt Publishing.

I'd like to thank Packt Publishing for this opportunity. I'd also like to thank my family for supporting me in fulfilling my dreams, and my God for giving me the talent and ability.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

If you have picked up this book, there is a good chance that you are interested in combining WordPress with PhoneGap and building some really cool mobile applications. While it may not be obvious, WordPress can be used in conjunction with PhoneGap to create native mobile apps, with a powerful backend content management system (CMS) provided by WordPress.