IPFaces mobile framework
Encyclopedia
iPFaces is a mobile application framework
Multiple phone web based application framework
A multiple phone web based application framework is a software framework that is designed to support the development of phone applications that are written as embedded dynamic websites and may leverage native phone capabilities, like geo data or contact lists...

 for creation of native, form-oriented network applications
Application software
Application software, also known as an application or an "app", is computer software designed to help the user to perform specific tasks. Examples include enterprise software, accounting software, office suites, graphics software and media players. Many application programs deal principally with...

 for mobile devices. iPFaces is a product of Edhouse company. There is support currently for iPhone
IPhone
The iPhone is a line of Internet and multimedia-enabled smartphones marketed by Apple Inc. The first iPhone was unveiled by Steve Jobs, then CEO of Apple, on January 9, 2007, and released on June 29, 2007...

, iPod touch
IPod touch
The iPod Touch is a portable media player, personal digital assistant, handheld game console, and Wi-Fi mobile device designed and marketed by Apple Inc. The iPod Touch adds the multi-touch graphical user interface to the iPod line...

, BlackBerry
BlackBerry
BlackBerry is a line of mobile email and smartphone devices developed and designed by Canadian company Research In Motion since 1999.BlackBerry devices are smartphones, designed to function as personal digital assistants, portable media players, internet browsers, gaming devices, and much more...

 and phones equipped with Java ME (mobile Java).

iPFaces

Programmer
Programmer
A programmer, computer programmer or coder is someone who writes computer software. The term computer programmer can refer to a specialist in one area of computer programming or to a generalist who writes code for many kinds of software. One who practices or professes a formal approach to...

 does not need to have knowledge of the targeted mobile platform, entire application logic is transformed to the central application server
Application server
An application server is a software framework that provides an environment in which applications can run, no matter what the applications are or what they do...

 level. Server platforms supported currently include ASP.Net
Active Server Pages
Active Server Pages , also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically-generated Web pages. Initially released as an add-on to Internet Information Services via the Windows NT 4.0 Option Pack Active Server Pages (ASP), also known as Classic...

, Java, and PHP
PHP
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document...

. Developers with knowledge of these platforms can leverage their experience and be more productive.

iPFaces solution consists of two parts:
  • client - client application running on target mobile device
  • server packages - software library used by developer for writing application logic on server.

Licensing

iPFaces server packages are distributed in two versions:
  • Community Edition - free software distributed under GNU GPL version 3 (license published by Free Software Foundation
    Free Software Foundation
    The Free Software Foundation is a non-profit corporation founded by Richard Stallman on 4 October 1985 to support the free software movement, a copyleft-based movement which aims to promote the universal freedom to create, distribute and modify computer software...

    ).
  • Commercial Editions - for commercial, proprietary deployments.


iPFaces user clients for BlackBerry and Java ME devices are distributed as freeware
Freeware
Freeware is computer software that is available for use at no cost or for an optional fee, but usually with one or more restricted usage rights. Freeware is in contrast to commercial software, which is typically sold for profit, but might be distributed for a business or commercial purpose in the...

.

Source code examples

Below are three examples of Hello World application written in PHP, Java and ASP.Net.

PHP



require "ipfaces-php-lib-1.1.php";

$ipf_form = new IPFForm;
$ipf_screen = $ipf_form->addScreen("screen", "First Application");
$ipf_screen->addLabel("label", "Hello World");
$ipf_form->render;
?>

Java


<%@ taglib prefix="ipf" uri="http://www.ipfaces.org/tags" %>






ASP.Net


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FirstApplication.aspx.cs" Inherits="HelloWorld._Default" %>

<%@ Register Assembly="iPFaces.NET" Namespace="Org.IPFaces.Net.Controls" TagPrefix="ipf" %>







This code represents the visual representation of the application.

File FirstApplication.aspx.cs looks like:

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using Org.IPFaces.Net.Controls;
using Org.IPFaces.Net.Pages;

namespace FirstApplication
{
public partial class _Default : Org.IPFaces.Net.Pages.Page
{
protected void Page_Load(object sender, EventArgs e)
{
label1.Text="Hello World!";
}
}
}

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK