Skip to main content


developerWorks  >  XML | Web development  >

Build a shopping cart application using XForms

XForms essentials to get started creating real-world XForms applications

developerWorks

Level: Intermediate

Steve K Speicher (sspeiche@us.ibm.com), Senior Software Engineer, IBM
Keith Wells (wellsk@us.ibm.com), Advisory Software Engineer, IBM
Jan J. Kratky (kratky@us.ibm.com), Senior Software Engineer, IBM
Kevin Kelly (kekelly@us.ibm.com), Senior Technical Staff Member, IBM

12 Dec 2006

Register now or sign in using your IBM ID and password.

This tutorial focuses on key aspects of the W3C XForms 1.0 standard to produce a fully functional Web-based shopping cart. With this approach, the reader will get a good start at creating real-world applications with XForms, without having to learn the entire XForms specification.

In this tutorial

Share this tutorial

digg Digg this story
del.icio.us Post to del.icio.us
Slashdot Slashdot it!

  • Details for building an online shopping cart using XForms.

  • Computes totals, discounts, account for warranties, various delivery options, and is comparable to many existing shopping carts available on the Web today.

  • General usage patterns for forms modification using XForms.

Prerequisites

This tutorial is written for Web application developers familar with HTML, HTML forms, XML, CSS and other related Web technologies. Though knowing these technologies would be helpful, they are not required to be able to gain a better understanding of XForms by using this tutorial.


System requirements

In order to view or render these forms, typically a Web browser plus an add-on is needed. There are a few options that don't require add-ons; these are either server-based or JavaScript™/ECMAScript-based. For this tutorial, Mozilla's XForms add-on 0.7 is used with Firefox 1.5.0.7, but many others will do just fine. It is not the intent of this tutorial to highlight differences in current implementations, but to provide enough information to develop forms that can be used with most viewers.


To view the demos included in this tutorial, JavaScript must be enabled in your browser and Macromedia Flash Player 6 or higher must be installed. You can download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.


Formats

html, pdf


About this tutorial

This tutorial takes a progressive approach to building an online shopping cart. As the shopping cart is built and new XForms concepts are used, they will be briefly described to allow general understanding of the end application.

Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss


My developerWorks needs you!

Connect to your technical community