PHP

    1. Installation of iPFaces client to your mobile device

    1. on iPhone/iPod/iPad: Find the “iPFaces Client” application in AppStore, install it in standard way and confirm default application address upon first start.
    2. or on Android: Find the “iPFaces Client” application in Android Market, install it in standard way and you may start it.
    3. or on BlackBerry: install iPFaces client application OTA - enter this address on your device: http://ipfaces.org/ipfbb.jad and let it install. Then confirm default application location upon first start.
    4. or on phone with mobile Java: install iPFaces client application OTA - enter this address on your device: http://ipfaces.org/ipfj2me.jad and let it install. Then confirm default application location upon first start.

    2. iPFaces library download

    1. Go to Get It Now section, download PHP distribution and get “ipfaces-taglib-1.1.php” library.
    2. Add “ipfaces-taglib-1.1.php“ to your project.

    3. Create a simple “Hello World” application

    1. Create the file “hello_world.php“ with the following content:
       require "path/to/ipfaces/library/ipfaces-php-1.1.php";
       
       $ipf_form = new IPFForm("form1", "Form");
       $ipf_screen = $ipf_form->addScreen("Hello World Application", "screen1");
       $ipf_screen->addLabel("Hello World!");
       $ipf_form->render();
       
    2. Implement “Hello World” to your application test server in a standard way.

    4. Launching the “Hello World!“ application on your mobile device

    1. on iPhone: open iPhone settings and enter your application url in iPFaces settings item. Then launch your first iPFaces application!
    2. on Android: open Android settings and enter your application url in iPFaces settings item. Then launch your first iPFaces application!
      Hello world
    3. on BlackBerry: launch application and set your application url in iPFaces settings menu. You are all set and should see your fist iPFaces application!
    4. on phone with Java: launch application and set your application url in iPFaces settings menu. You are all set and should see your fist iPFaces application!
See also: