Book Image

Creating Mobile Apps with Sencha Touch 2

By : John Earl Clark, Bryan P. Johnson
Book Image

Creating Mobile Apps with Sencha Touch 2

By: John Earl Clark, Bryan P. Johnson

Overview of this book

<p>Everyone has had the perfect idea for a mobile application. Creating Mobile Apps with Sencha Touch 2 can help you bring that idea to life by providing clear examples, in depth explanations, and walking step-by-step building 10 different Sencha Touch mobile applications. You can use these applications as a base for your own applications or leverage your new skills to create something truly unique.<br /><br />"Creating Mobile Apps with Sencha Touch 2" offers you 10 different applications complete with source code. The applications include a task manager, RSS feed reader, time tracker, charting application, flash cards, cataloguing, social networking, integration with WordPress, a project workbook, and a basic game. The book also covers working with the Sencha Architect, Sencha.io, and compiling applications with Sencha Command.<br /><br />Learn the Sencha Touch mobile programming language by building 10 different applications. Each application focuses on a different feature of the Sencha Touch language.<br /><br />Learn to build a range of applications for mobile devices. Take pictures with your application, create a simple game, or even create an application you can sell on the iTunes app store.<br /><br />"Creating Mobile Apps with Sencha Touch 2" will help you learn by building, helping you create great applications.</p>
Table of Contents (17 chapters)
Creating Mobile Apps with Sencha Touch 2
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 6. Catalog Application and API

In this chapter we are creating a simple catalog application that allows you to enter in items for sale and assign them to a category. From an interface and functionality aspect, this will be similar to the previous applications we have created. The difference here is that we are going to explore creating our own API to create, read, update, and delete data from your application.

In this chapter we will cover:

  • What is an API?

  • Creating the basic application

  • Getting started with an API

  • Using PHP to create an API

  • Connecting the API and the application