FACTOID # 166: Most households in Europe and North America contain fewer than three people.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > XForms

XForms is two things:


1. An X Window System GUI package, licensed as LGPL available here. KDE 3. ...


2. An XML GUI package described below. The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. ...



XForms is an XML format for the specification of user interfaces, specifically web forms. XForms was designed to be the next generation of HTML / XHTML forms, but is generic enough that it can also be used in a standalone manner to describe any user interface, and even perform simple and common data manipulation tasks. The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. ... The user interface is the part of a system exposed to users. ... A form on a web page allows a user to enter data that is, typically, sent to a server for processing and to mimic the usage of paper forms. ... An excerpt of HTML code with syntax highlighting In computing, HyperText Markup Language (HTML) is a markup language designed for the creation of web pages with hypertext and other information to be displayed in a web browser. ... The Extensible HyperText Markup Language, or XHTML, is a markup language that has the same expressive possibilities as HTML, but a stricter syntax. ... Data is the plural of datum. ...


XForms, much like XHTML 2.0 which is currently under development as of January 2006 and within which XForms will be embedded, differs from previous versions of XHTML. Because of this there is a learning curve for developers, but because XForms in general provides a large time savings for the development of enterprise quality web forms, it can be an attractive alternative for many uses. 2006 (MMVI) is a common year starting on Sunday of the Gregorian calendar. ...


XForms 1.0 (Second Edition) has been made an official W3C Recommendation on 14th March 2006. An indispensable list of errata to the 1.0 specification is available, fully incorporated into the main specification as of the Second Edition. XForms 1.1, which introduces a few improvements, is in progress as a W3C Working Draft as of March 2006. The World Wide Web Consortium (W3C) is a consortium that produces standards—recommendations, as they call them—for the World Wide Web. ... A W3C Recommendation is the final stage of a ratification process of the W3C working group concerning the standard. ... 2006 (MMVI) is a common year starting on Sunday of the Gregorian calendar. ... The World Wide Web Consortium (W3C) is a consortium that produces standards—recommendations, as they call them—for the World Wide Web. ... 2006 (MMVI) is a common year starting on Sunday of the Gregorian calendar. ...

Contents


Differences from HTML forms

Unlike the original HTML forms, the creators of XForms have used a Model-View-Controller approach. The "model" consists of one or more XForms models describing form data, constraints upon that data, and submissions. The "view" describes what controls appear in the form, how they are grouped together, and what data they are bound to. CSS stylesheets can be used to describe a form's appearance. Wikibooks programming has more about this subject: CSS In computing, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. ...


An XForms document can be as simple as an HTML form (by only specifying the submission element in the model section, and placing the controls in the body), but XForms includes many advanced features. In particular, the user can bind data to an XML document, validate against XML schema data types, require certain data, disable input controls or change sections of the form depending on circumstances, enforce particular relationships between data, input variable length arrays of data, output calculated values derived from form data, prefill entries using an XML document, respond to actions in real time (versus at submission time), and modify the style of each control depending on the device they are displayed on (browser versus mobile versus text only, etc.). There is often no need for any scripting with languages such as JavaScript.


Like legacy forms, XForms can use various non-XML submission protocols (multipart/form-data, multipart/x-www-url-form-encoded), but a new feature is that XForms can send data to a server in XML format. XML documents can also be used to prefill data in the form. Because XML is a standard, many tools exist that can chop and modify data upon submission, unlike the case with legacy forms where in general the data needs to be parsed and manipulated on a case by case manner. XForms is itself an XML dialect, and therefore can create and be created from other XML documents using XSLT. Using transformations, XForms can be automatically created from XML Schemas, and XForms can be converted to legacy XHTML forms: this is basically how server side XForms work today. To meet Wikipedias quality standards and make it more accessible, this article may require cleanup. ... XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages. ...


Software support

At the time of this writing no widely used web browser supports XForms natively. However, various browser plugins and extensions exist. Firefox supports XForms via an extension [1]. It has been suggested that Comparison of web browsers be merged into this article or section. ... Wikinews has News related to this article: Extensive Firefox browser 2006 market share analysis Mozilla Firefox is a free, open source, cross-platform, graphical web browser developed by the Mozilla Corporation and hundreds of volunteers. ...


For IE6 there is formsPlayer, which extends the browser to include not only support for the full XForms standard, but also provides DOM 2 Events, DOM 3 XPath, XML Events and the DOM 3 Implementation Registry. XPath (XML Path Language) is a terse (non-XML) syntax for addressing portions of an XML document. ...


FormFaces is a pure JavaScript processor. This means that XForms+HTML can be sent directly to the browser where JavaScript translates XForms controls into regular HTML form controls and processes the bindings directly within the browser. FormFaces is compatible with browsers that implement XHTML 1.0, ECMAScript-262 3rd Edition, and DOM Level 2 which includes Internet Explorer, Netscape, Mozilla, Firefox, Opera, Konquerer, Safari, and NetFront. JavaScript is the name of Netscape Communications Corporations implementation of ECMAScript, a scripting programming language based on the concept of prototypes. ... Internet Explorer, abbreviated IE or MSIE, is a proprietary graphical web browser made by Microsoft and included as part of the Microsoft Windows line of operating systems. ... Netscape is the general name for a series of web browsers originally produced by Netscape Communications Corporation, but now developed by AOL. The original browser was once the dominant browser in terms of usage share, but it now has only a relatively small number of users. ... Mozilla logo Mozilla Firefox is a computer term that has had many different uses, though all of them have been related to Netscape Communications Corporation and its related application software. ... Wikinews has News related to this article: Extensive Firefox browser 2006 market share analysis Mozilla Firefox is a free, open source, cross-platform, graphical web browser developed by the Mozilla Corporation and hundreds of volunteers. ... Opera is an Internet suite which handles common internet-related tasks, including visiting web sites, sending and receiving e-mail messages, managing contacts, and online chat. ... Konqueror is a file manager, web browser and file viewer, developed as part of the K Desktop Environment (KDE) by volunteers and runs on most Unix-like operating systems. ... Safari is a web browser developed by Apple Computer, Inc. ... NetFront is a microbrowser for Personal Digital Assistants and other mobile platforms developed by Access Co. ...


Another client-side solution for IE6 is called 'Convex'. It uses a hidden Java applet and is available as open source from the Chiba project. It uses the same engine as the server-side solution (see below) but offering the experience of a local implementation.


OpenOffice.org versions 2.0 and greater support XForms[2]. OpenOffice. ...


XForms can also be used today through various server-side technologies which convert a subset of XForms to legacy HTML forms on the fly and transparently to users. Implementations include the open source Chiba and Orbeon projects, both based on Ajax technology. The advantage to the open source server technologies is that the resulting output works in theory with almost any browser existing today (the end user will not necessarily notice that they are viewing an XForms page). By the mid 20th century humans had achieved a level of technological mastery sufficient to leave the surface of the planet for the first time and explore space. ... Ajax, shorthand for Asynchronous JavaScript and XML, is a Web development technique for creating interactive web applications. ...


The advantage of plug-ins and other client-side technology is that these implementations, because they integrate themselves into the browser, will work with existing server architectures, can be more responsive, require fewer server fetches, and can present themselves in more user-friendly ways (i.e. controls that do not already exist in the browser, like sliding scales, can be added to a page).


The trade-off on both sides is that new software is needed; either each client must install the required plug-in, or the server architecture must change to accommodate a UI proxy. A good solution might mix both of these solutions, for instance testing the browser for Flash and serving a glitzy version for those users, but defaulting to a server solution for other users.


XForms for Mobile Devices

Benefits

XForms provides specific benefits when used on mobile devices:

  • User interfaces using XForms require fewer round trips with the server and are in that sense more self contained than user interfaces using HTML 4 forms.
  • Capabilities of mobile devices vary greatly; consequently the amount of the work involved in generating different user interfaces for different devices is of particular concern in the mobile world. XForms has been designed from the ground up to allow forms to be described independently of the device, which reduces the amount of work required to target multiple devices.
  • XForms reduces the need for JavaScript, which is particularly interesting as JavaScript support varies greatly on mobile devices and cannot be widely relied on it.

Implementations

Despite the benefits of XForms for mobile devices, XForms on mobile devices is still an emerging technology at best. Jon S. von Tetzchner, CEO of Opera, producers of the leading browser for mobile devices, says his company is currently considering support for XForms but that in his mind Webforms 2.0 makes more sense on the client side. So far, IBM, Oracle and FormFaces have produced significant initiatives:

  • IBM Forms for Mobile Devices is an implementation of XForms that run on Palm-powered devices and shows how XForms can be used to create form-based enterprise applications running on mobile devices. This package has been released by IBM on alphaWorks, their site showcasing emerging technologies.
  • Oracle Wireless Client has released a preview of their Wireless Client in March 2004. Despite its name, the preview contains no software that run on a mobile device. Instead, it is delivered in the form of a plug-in for Internet Explorer, hence maybe the "preview" in the name. The plug-in run XForms client-side, just like the browser would if it supported XForms natively.
  • FormFaces Mobile Solution is a 100% JavaScript implementation targeted to run within NetFront browser (any ECMA-262 3rd Edition, and DOM Level 2 compatible browser) which supports many OS deployments including Palm and Pocket PC mobile devices.
  • X-Smiles is a client-side Java implementation with and open source license. X-Smiles supports XForms along with a lot of current XML languages, such as XHTML, CSS, and SVG.

Open source refers to projects that are open to the public and which draw on other projects that are freely available to the general public. ... X-Smiles is an experimental XML Browser written in Java. ... The Extensible HyperText Markup Language, or XHTML, is a markup language that has the same expressive possibilities as HTML, but a stricter syntax. ... CSS may refer to: In computing: Calderbank-Shor-Steane codes, class of quantum error correction codes Cascading Style Sheets, used to format SGML and XML-based documents Closed source software Content-scrambling system, an encryption algorithm in DVDs Core System Software Cross site scripting Curvature Scale Space, a method of... Scalable Vector Graphics (SVG) is an XML markup language for describing two-dimensional vector graphics, both static and animated. ...

See also

The following is a list of user interface markup languages. ... The following tables compare general and technical information for a number of user interface markup languages. ...

References

Pearson can mean Pearson PLC the media conglomerate. ... OReilly Media (formerly OReilly & Associates, IPA /əraɪli/) is an American media company established by Tim OReilly, primarily focusing on books related to computer programming. ...

External links

  • Cocoon
    • Forms framework (Woody)
    • Chicoon (integration of Chiba in Cocoon)
  • Nuxeo's XForms engine, an Eclipse/SWT component.

  Results from FactBites:
 
XForms:User Interface Elements - MDC (1387 words)
For example, a XForms input control may appear as a text field or as a datepicker depending on whether it is bound to a xsd:string type or a xsd:date type.
The choice of widget that we use is often determined by the data type of the instance node that the xforms element is bound to.
They can be bound to instance nodes to define context for the xforms controls that they contain, should any of their child nodes happen to use relative xpath expressions.
XForms: Information from Answers.com (1638 words)
XForms is an XML format for the specification of a data processing model for XML data and user interface(s) for the XML data, such as web forms.
XForms was designed to be the next generation of HTML / XHTML forms, but is generic enough that it can also be used in a standalone manner or with presentation languages other than XHTML to describe a user interface and a set of common data manipulation tasks.
XForms, much like XHTML 2.0 which is currently under development as of June 2006 and within which XForms will be embedded, differs from previous versions of XHTML.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.