This tutorial will describe how to use the Zend Studio Cloud Connected Mobile (CCM) tool to develop mobile applications.
In this tutorial you will learn:
To better understand the procedures described in this tutorial, watch this video:
Our first step is to create a new CCM project in Zend Studio. This project contains the server-side and client-side aspects of our mobile application.
Note:
Creating a new CCM server-side project requires Zend Framework 2.1.0 or higher.
|
|
|
To create a new CCM project in Zend Studio:
|
By default, after the new CCM project is created, the Apigility Editor (1), and the mobile project's GUI Editor (2) and configuration file (3), are opened and displayed. Note: The Apigility Editor UI requires certain Composer dependencies. These will be added to the project now, together with Composer Support. |
We will first focus on the server-side, and configure, and test APIs using the Apigility Editor.
The template we selected to use for creating our CCM project included a predefined REST service that handles the customer list of a company - retrieving the list from the database, adding new customers, etc.
To test the REST service:
|
|
|
Our next step is to document our REST service.
To document the REST service:
|
|
|
After configuring the back-end of our application, we will now use CCM's integrated Mobile GUI Editor to design the GUI of our new mobile application.
|
Once you have completed your initial development work, and feel confident enough to preview your application, you can run the application in Preview mode.
To preview your application:
|
|
|
We will now create a new native application for the Windows Phone platform. This project will be cloned from our CCM client-side mobile project, and adapted into the Windows mobile development framework.
Note:
Zend Studio's CCM tool also supports creating native applications for the Android and iOS platforms. See Creating Native Applications for more information.
|
|
|
To create a new native Window Phone application:
|
In this step we will be using the Windows Phone emulator to run the newly created native application.
Note:
Zend Studio also supports running native applications on actual devices. See Running Native Applications for more information.
To run your Windows Phone application: In the PHP Explorer, right-click your |
|
Congratulations! You have completed the tutorial. We recommend you see the Apigility Integration in Zend Studio tutorial for information on using Apigility in Zend Studio for to configure your APIs. |