Skip to content
Hub Nexus

No author yetClaim it

Version 1Updated 2 min read

Support

Advantages to the Developer

Apart from the advantages of XForms already cited elsewhere, XForms brings the following advantages to the sphere of mobile applications:

  • XForms was designed to support multiple modalities. Applications that work on mobile devices are also deployable in other ways too, thus much improving the return on your development investment.
  • XForms does most of its work on the client-side, thus reducing the number and size of server calls. This is still an important consideration for mobile devices, which tend to have to operate on narrow and expensive bandwidth.

Building Mobile Applications

Whilst there is a Basic profile of XForms, the only known, commercial implementation also supports almost the entire XForms/XML Schema feature set.

Xfolite

Xfolite is a light-weight XForms client for the J2ME platform. It was originally created at Nokia Research Center, and it includes a DOM and XPath 1.0 implementation as well as an XForms engine that implements the XForms 1.1 specification almost completely. XML Schemas and CSS are outside project scope, however. Xfolite is licensed under the LGPL license.

PicoForms

PicoForms has an XForms implementation that runs on cell phones supporting MIDP 2.0 and CLDC 1.x. It also supports PDAs including Palm and Pocket PCs. PicoForms is also able to provide customers (and evaluators) with an online development space, that allows forms to be tested on a mobile phone/PDA emulator.

Picoforms runs as an plugin to Internet Explorer. The license is around $30 (US) per client (desktop).

To enable your forms to work with Picoforms just add the following line to your code:

Sample Applications for PicoForms

UK Pension Industry

This application uses a set of industry standard XML schema (produced by Origo Services) in the UK. XForms lends itself well to building applications over such schema, as the schema can be consumed directly by the application, often without modification.

The Scenario

The Schemas describe the data requirements for a financial adviser requesting information about the value of funds in a customer's personal pension policy. An adviser is likely to want to do this immediately prior to meeting with their client, probably in the client's own home. They want the information to be as up-to-date as possible.

The Application

The following screenshots give an idea of the application running on a mobile phone emulator. The application can be accessed in an emulator here.

To begin with the user must search for the details of the client they are interested in. This simulates communication with the adviser's own back-office system. This can be achieved either by entering a unique reference for the client, or the client's name.

(Image: MarkSeaborne at English Wikibooks, CC BY-SA 3.0)

(Image: MarkSeaborne at English Wikibooks, CC BY-SA 3.0)

(Image: MarkSeaborne at English Wikibooks, CC BY-SA 3.0)

Where this page came from

This page was imported from Wikibooks. From “XForms” on Wikibooks, by its contributors, under CC BY-SA 4.0. Changed here: set as a page; navigation and edit links left out; each image under its own licence, credited in its caption.

Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.

Get each new page of

XForms

Following means one email when a page is added, nothing when a page changes.

Following means one email when a page is added, nothing when a page changes.

Comments

Spinner Logo

Next in XForms

CC BY-SA 4.0
To do this do the following. From the Windows start menu click Start/Run. Enter "regedit" and press enter. Use the Registry browser to navigate to the HKEY_CLASSES_ROOT folder and then find the MIME/Daatabase/Content Type folder.
CC BY-SA 4.0
The [Apache web server]( is the most popular web server on the Internet. It provides high-performance web pages serving and is very secure. By default, the out-of-the box Apache server does not allow users to write files to a web server. This is done for security reasons.
CC BY-SA 4.0
Many of these problems could be avoided by automatically reverting to the prior version of a configuration file. ## Background With the XForms standard we are given the element and a small list of HTTP operators (GET, PUT, POST) to use and an action that can be any URL. If we want to allow users to
CC BY-SA 4.0
[eXist]( is a native XML database that has a full REST interface. This allows you to use eXist to save form data without writing any middleware glue. ## eXist REST interface eXist provides a full REST interface that is easy to call from an XForm. ## eXist WebDAV interface eXist also provides a full
CC BY-SA 4.0
Generated forms have the advantage over hand-crafted forms in that they can can be generated with the same set of transforms. If you change your form standards all the forms can be quickly be regenerated. Many of these advantage can be gained by pushing the formatting and layout functionality of a f
CC BY-SA 4.0
If you are a newcomer to XForms and you are having problems debugging XForms you are not alone. XForms debugging can be tricky especially for newcomers. If you follow the newsgroups on XForms you will see several problems come up frequently. ## Common Problems These problems, roughly sorted in terms