Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

XForms, three ways

DENG, Orbeon, PureEdge apply XForms to meet different app-dev goals

By Rick Grehan
February 25, 2005
 

HTML’s ongoing affair with XML is producing another love child: XForms.

Free IT resource

Hear how top CIOs turn change into a competitive advantage.

Sponsored by HP

Free IT resource

Attend the SOA Executive Forum: Breaking SOA Bottlenecks SOAExecForum.com/may2007

Sponsored by InfoWorld

Introductory metaphors notwithstanding, XForms is an entirely legitimate offspring because it achieves two worthwhile purposes: It further elevates the position of XML as the medium of exchange for Web site data, and it eliminates a number of weaknesses in standard HTML forms. (That’s a polite way of saying that the premier goal of XForms is to replace HTML forms.)

XForms and Function

For those unfamiliar with HTML forms, a form is a part of a Web page — an input field, a text box, a radio button — that includes an input control. XForms, meanwhile, is built on an MVC (Model-View-Controller) architecture. The structural details of the data manipulated by a Web form are purposely separated from the form’s visual details. Thus, XForms code that describes the data to be input and output is not entangled with the code that displays that data — a common problem with HTML forms.

Indeed, XForms takes things a step further, leaving the visual details of the display entirely up to the user interface. For example, in HTML forms the multiple options presented by a <select> tag are rendered as a menu. In XForms, the programmer can render those options in other ways. In other words, the display portion of an XForms form describes the intent of the form’s controls, not their appearance.

All this factoring makes XForms easier to work with than HTML forms. For example, a change in the structure of the data requires less alteration of the display code. In addition, data is exchanged between Web form and server using XML. And XForms can call upon its cousins XSL and XPath for input format and type validation (for example, making sure that a quantity input field contains a positive integer), as well as for calculations and special formatting.

Consequently, much of a form’s business logic that must now be done by scripting can instead be done by XForms. The result is cleaner, and easier to read as well as maintain.

Implementing XForms in a browser (its typical but not necessarily only home) can take one of two routes. A server-side implementation performs all the heavy lifting on the server, rendering the entire user experience in HTML. It places minimal requirements on the browser but results in unnecessary data trips between client and server as the server manages tasks such as intermediate calculations during data entry. This disadvantage is absent in a client-side implementation, but placing all XForms processing on the client requires some sort of browser plug-in or client-side run time.

I examined three software products that feature XForms to varying degrees. Each product fits into the server-side or the client-side implementation model. DENG is different from the others, however; it’s a modular XML brow-ser and a free add-on that works with most popular browsers and implements (among other things) an XForms engine.

The Orbeon Integration Suite, comprised of PresentationServer 2.7 and Orbeon Studio 1.2 , is an open source presentation server and Eclipse-based IDE for developing XML-based data management applications (applications whose run-time user interface is specified in XForms). Finally, the PureEdge 8x Suite is a collection of tools for e-forms creation, distribution, and management. Like Orbeon’s PresentationServer and Studio, PureEdge uses XForms to create an e-form’s user interface.

Of course, in an XForms proponent’s ideal world, all browsers would include XForms engines as standard equipment. There are other options out there (see infoworld.com/2556), but this ideal has yet to become a reality. In the meantime, XForms offerings from DENG, Orbeon, and PureEdge give us all a glimpse of where this progressive and versatile technology is headed.


Continued
1 | 2 | 3 | 4 | Next Page » 



DENG 1.0

DENG Project, http://sourceforge.net/projects/dengmx

Very Good  8.0
criteria score weight
Ease-of-use 9 20%
Performance 7 20%
Setup 8 20%
Documentation 7 15%
Interoperability 8 15%
Value 9 10%

Cost:
Freeware

Platforms:
Any browser supporting Macromedia Flash Player 6 or higher

Bottom Line:
DENG 1.0 is an admirable work in progress that’s nevertheless quite usable: It handles the client-side rendering and calculating of an XForms application very well. In spite of the lack of complete XForms support, DENG is an easily installed XForms engine that runs just about anywhere and enables developers to use XForms in their Web applications now. It will also become part of UGO, a larger XML browser framework.

About our Reviews and Scoring Methodology



Orbeon PresentationServer 2.7 and Studio 1.2

Orbeon, orbeon.com

Good  7.8
criteria score weight
Ease-of-use 7 20%
Performance 8 20%
Setup 8 20%
Documentation 7 15%
Interoperability 8 15%
Value 9 10%

Cost:
Free

Platforms:
PresentationServer: Tomcat, BEA WebLogic, IBM WebSphere; Studio: any platform that supports the Eclipse IDE

Bottom Line:
Orbeon PresentationServer and Studio lets you create full-bodied Web applications in a sort of building-block fashion. Its Page Flow files manage data processing nicely between pages in the XML pipelines, streamlining the data interactions for developers. It will take some time to learn, but the payoff is worth the time invested. At the very least you’ll emerge fluent in every important XML dialect.

About our Reviews and Scoring Methodology



PureEdge 8x Suite 2.6

PureEdge, pureedge.com

Good  7.9
criteria score weight
Ease-of-use 8 20%
Performance 8 20%
Setup 8 20%
Documentation 8 15%
Interoperability 8 15%
Value 7 10%

Cost:
Based on number of users and number of forms

Platforms:
Designer: Windows 9x, NT, 2000, and XP; Server: Windows NT, 2000, and XP, Solaris 2.7 and 2.8, AIX 5.1 or 5.2 (IBM pSeries), any Intel-based version of Linux with a 2.4 kernel and glib 2.3 or above

Bottom Line:
PureEdge is an expertly executed development and deployment suite for e-forms, with the goal of replacing the paper forms we deal with so often. The e-forms are straightforward and particularly versatile. They’re easily attached to e-mail messages and can be customized on the fly by users. To call it the Waterloo of the paper office might be overstating things, but PureEdge delivers that institution a heavy blow.

About our Reviews and Scoring Methodology



 


 
Rick Grehan is a contributing editor at InfoWorld. Contact him at rick_grehan@infoworld.com.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




What Every Enterprise Needs to Know About VDI
Today's enterprise IT environment is already complex, and replete with heterogeneous technologies. Attend this informative webcast to understand the key components for deploying and managing virtual desktop infrastructure in your environment. Sponsor: VDIworks

»  Click here to view this Webcast
  Planning For A Disaster
This new, comprehensive Solutions Guide is your one stop source for Disaster Recovery. In it you'll learn how to reduce the likelihood of a disaster and to create a rock solid business continuity plan should you face a disaster situation. Sponsored by Equallogic

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 
SEE ALSO
• SIDEBAR: DENG joins a new project: Say hello to UGO
• Next-generation e-forms


FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist