Mobicloud tutorial

From Knoesis wiki
Revision as of 15:05, 5 October 2011 by AjithRanabahu (Talk | contribs) (Hello World Tutorial)

Jump to: navigation, search

Hello World Tutorial

This tutorial covers the creation of a Hello world application. This application has

  1. A minimal model with only one attribute.
  2. A minimal controller with only one action.
  3. A minimal view demonstrating a simple user interface.
Basic MobiCloud Tutorial : Creating a Hello World Application

What does the 'Hello World' do ?

Similar to other hello worlds, this one does nothing fancy, except illustrate the use of the language and the major components of the generated code. This hello world has

  1. A mobile UI with a textbox and a button to fetch a greeting
  2. A back-end application with a database that stores a set of greetings [In this case only 1]

The action would be just pressing the button, which fetches the greeting and displays it on the mobile device. This process requires

  1. passing the request to the server to fetch the greeting
  2. fetching the greeting from the database
  3. encoding the values in XML and sending it to the mobile device
  4. decoding the values in the mobile side and displaying it in the UI
Basic MobiCloud Tutorial : Automated deployment of the Google App Engine Application