XForms

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ]

Articles
Tutorials
  

Articles:
  • XForms tip: XForms capabilities accessible through Mozilla and CSS by Tyler Anderson   - [Clicks: 32]
    XForms provides incredible flexibility in the way properties defined within the XForm are displayed and behave. To take advantage of Mozilla's CSS capabilities, pseudo elements must be accessed using Mozilla-specific pseudo classes, because although there is no current support for the pseudo elements, there is support for the pseudo classes. This tip shows gets you started by showing you how to access the Mozilla-specific CSS properties.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstipmozillacss/index.html - Dec, 2006
  • XForms tip: Use XForms to upload a file to Java by Tyler Anderson   - [Clicks: 80]
    Uploading files is a fairly common task using HTML forms, but how do you do it in XForms, where the data gets stored as part of an XML document? This tip explains how to create an XForms form that enables the user to upload a file, and it explains how to create a Java servlet that saves the file on the server once it arrives.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstipuploadjava/index.html - Dec, 2006
  • XForms tip: Use XForms to upload a file to Perl by Nicholas Chase   - [Clicks: 33]
    Uploading files is a fairly common task using HTML forms, but how do you do it in XForms, where the data gets stored as part of an XML document? This tip explains how to create an XForms form that enables the user to upload a file, and it explains how to create a Perl script that saves the file on the server once it arrives.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstipuploadperl/index.html - Dec, 2006
  • XForms tip: Using form submission events by Nicholas Chase   - [Clicks: 52]
    One of the nice things about XForms is how much control it gives you over how the form is processed. For example, XForms exposes a tremendous number of events for which you can trap and perform specific actions. In this tip, you learn how to use the events involved in submitting the form.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstipsubmitevents/index.html - Nov, 2006
  • XForms tip: Using the help and hints events by Nicholas Chase   - [Clicks: 19]
    XForms enables you to easily send help messages and hint messages to a form using elements, but did you know that you can get even more control over this process by reacting to the help and hints events instead? This tip shows you how to detect when the user needs some assistance and react accordingly.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstiphints/index.html - Nov, 2006
  • Make the most of XForms repeats by Jan J. Kratky, Steve K Speicher   - [Clicks: 31]
    XForms provides many powerful mechanisms for working with XML data. One such mechanism is the "repeat" element, which allows you to quickly and easily implement iteration over homogeneous data sets in your XML. In addition, you can format the presentation of such sets as tables, as well as provide dynamic behavior like the insertion and deletion of specific pieces of data within the repeating set. Read on for some tips and tricks on how to make the most of your XForms repeats.
    http://www-128.ibm.com/developerworks/web/library/x-xformsrepeats/index.html - Nov, 2006
  • XForms and P3P by Nicholas Chase   - [Clicks: 15]
    Because of the rise of identity theft, online privacy has become a big issue. Many sites have privacy policies in place, but who has time to read and decipher each one as you do your daily surfing? Fortunately, there is an easier way. The Platform for Privacy Preferences, or P3P, provides a standard way for sites to define the information they collect, which makes it possible for tools to do the deciphering for you. Because XForms is so often used to collect personal information, it is crucial that it be included in this process. This article explains how the Platform for Privacy Preferences works, and how to integrate your XForms with it.
    http://www.ibm.com/developerworks/xml/library/x-xformsp3p/index.html - Nov, 2006
  • Dynamic XForms submissions by Kevin Kelly, Jan J. Kratky, Steve K Speicher   - [Clicks: 48]
    XForms is an ideal open standards technology for collecting and submitting data from a wide variety of Web-capable platforms. Creating a single input form for collecting data from many sources is common. However, each location filling out the form may have its own site unique submission requirements such as submitting to multiple targets that are not known to the form author. Mutliple submission targets include local save locations, or submitting to a write-only "vault" for auditing or logging, or any other site-specific submission targets. Using JavaScript to edit the DOM with XForms allows a single form to accommodate multiple, site-unique submission requirements.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformsdynamic/index.html - Nov, 2006
  • Why XForms? by Elliotte Rusty Harold   - [Clicks: 32]
    This article explains the problems XForms are intended to solve, including internationalization, accessibility, and device independence. If those problems are your problems too, then XForms is worth further investigation. If those aren't your problems, then you may be better served by simpler solutions. Ultimately, the decision is yours.
    http://www-128.ibm.com/developerworks/xml/library/x-xformswhy.html - Oct, 2006
  • XForms tip: Uploading files using XForms by Nicholas Chase   - [Clicks: 40]
    Forms are typically used to request simple, individual pieces of information, such as names and phone numbers, from users. Frequently, however, you need to be able to request that the user send some sort of file along with the submission. This tip shows you how to use the XForms upload element to achieve this.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstipupload/index.html - Oct, 2006
  • XForms tip: Using multiple, hierarchical forms with XForms by Tyler Anderson   - [Clicks: 25]
    Standard HTML forms are hard, if not impossible, to nest within each other. They lack the power that XForms has, because XForms uses XML. This tip shows you how to nest multiple, hierarchical forms within an XForm form.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstipmultipleforms/index.html - Oct, 2006
  • XForms tip: Alerts and message boxes by Nicholas Chase   - [Clicks: 25]
    XForms is about collecting data, but it is also about improving the user experience. In some cases, you need to provide additional information to the user outside of the actual form. In traditional Web pages, you accomplish this through the use of alert boxes and pop-up windows. In addition to its help capabilities, XForms gives you a number of different options for providing additional information for the user. This tip explains alerts and message boxes, the difference between them, and how to use them.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstipalerts/index.html - Oct, 2006
  • XForms tip: Saving data to local files and reusing later with XForms by Tyler Anderson   - [Clicks: 27]
    Partially completing an online form, only having to leave before you've finished, can be frustrating. XForms can fix this problem. There's a quick and easy way to save the instance data of an XForm so that you can reuse it later.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstiplocal/index.html - Oct, 2006
  • XForms tip: Sending XForms data using e-mail by Nicholas Chase   - [Clicks: 21]
    Part of the value of forms is their ability to send information where you need it. In the case of Web forms, that destination is normally a Web server that analyzes the right data. But what if you want to send the information using e-mail? In XForms, you have two options for accomplishing this feat; one on the server side, and one on the client side. This tip shows you how to e-mail XForms data from PHP, and also directly from the browser.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstipemail/index.html - Oct, 2006
  • XForms basics by Nicholas Chase   - [Clicks: 38]
    XForms provides a host of new capabilities for Web authors and developers who want to create Web forms that include rich interactive experiences while still maintaining many of the familiar aspects of creating forms in HTML. This article explains the basics of creating an XForms form, including the structure of the form itself; basic controls, or fields; and the most common submission options.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformsbasics/index.html - Oct, 2006
  • XForms tip: Accepting XForms data in Java by Nicholas Chase   - [Clicks: 32]
    Much has been made about the ability of XForms to provide interactivity, and to submit information in XML. But none of that will do you any good unless you have a way to analyze the data once you send it to the server. This tip shows you how to access the submitted XML data using a Java servlet.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/java/library/x-xformstipjava/index.html - Oct, 2006
  • XForms tip: Combining Ajax and XForms by Nicholas Chase   - [Clicks: 38]
    Asynchronous JavaScript and XML, or Ajax, has been causing a stir in the Web world for some time now, because it enables Web designers to create an application that reacts to the user's actions without having to reload the entire page, a capability that already exists natively in XForms. This tip looks at both the XForms and Ajax versions and how to combine the two techniques. There are plenty of resources out there to teach you how to actually make Ajax requests, but XForms provides some special challenges and opportunities in using the data once you get it back.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstipajax/index.html - Oct, 2006
  • XForms tip: Dealing with dates and time with XForms by Tyler Anderson   - [Clicks: 34]
    Forms often use a date to log the day that a transaction occurred. The time is also useful since it can be used to log when a job was completed, or when something was purchased. This tip shows you how to use the date and time schema types using XForms.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/xml/library/x-xformstipdatetime/index.html - Sep, 2006
  • Introduction to XForms, Part 3: Using actions and events by Chris Herborth   - [Clicks: 23]
    XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article, the third of a three-part series, shows you how to use actions and events with XForms, and how to control the format of the form's output.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformsintro3/index.html - Sep, 2006
  • XForms tip: Accepting XForms data in PHP by Nicholas Chase   - [Clicks: 18]
    In some ways, an XForms form is just like an HTML form; with the proper encoding, the server-side script receiving the data won't even know the difference. But the strength of XForms forms is in many ways the fact that the data can be submitted directly as XML. Of course, this capability doesn't do you any good unless the script is prepared to receive the data. In this tip, you will see how to create a PHP script that can receive and work with XML data submitted by an XForms form.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstipphp/index.html - Sep, 2006
  • XForms tip: Using the switch/case elements by Nicholas Chase   - [Clicks: 32]
    XForms are designed to provide an interactive experience, and in many cases that means showing the user different information based on different conditions. For example, you may have a form with multiple sections, but you don't want to overwhelm the user by displaying it all at once. One solution would be a to break the form up into sections, presenting each section only when the user clicks the appropriate navigational element, such as a tab or a link. In other situations, you may want to display parts of a form only if certain conditions are met. For example, you might display the majority of the form only after the user has signaled agreement to terms and conditions by clicking a checkbox. In this tip you will use XForms switch and case elements to display only part of a form at any given time.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformstipswitch/index.html - Sep, 2006
  • Introduction to XForms, Part 2: Forms, models, controls, and submission actions by Chris Herborth   - [Clicks: 30]
    XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article, the second of a three-part series, focuses on creating an XForms-based form using any of the available controls, as well as creating a data model.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformsintro2/index.html - Sep, 2006
  • Introduction to XForms, Part 1: The new Web standard for forms by Chris Herborth   - [Clicks: 30]
    XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article covers how XForms actually works, and shows you how to set up XForms with Firefox and Microsoft Internet Explorer so that you can view your XForms samples.
    [Includes sample code]
    http://www.ibm.com/developerworks/xml/library/x-xformsintro1/index.html - Sep, 2006
  • Technology options for Rich Internet Applications by Vaibhav V. Gadge   - [Clicks: 22]
    Web applications are ready to go to the next level, and Rich Internet Applications (RIAs) can greatly enhance user interaction. In this overview of RIAs, you'll learn how to adapt them in the user interface (UI) layer. Web developers and architects might be particularly interested in the discussion of Laszlo, XUL, XForms, Macromedia Flex, and Dojo -- the common technologies currently available in this area. Links to other technologies are also included. A fair understanding of traditional UI tools, such as HTML and XML, is assumed.
    http://www-128.ibm.com/developerworks/java/library/wa-richiapp/index.html - Jul, 2006
  • Update XForms using Xforms by Steve K Speicher, Jan J. Kratky, Kevin E. Kelly   - [Clicks: 28]
    With XForms technology, you can provide a lightweight editor for an existing collection of XForms. Explore an approach to form authoring for simple, quick changes that improve the effectiveness of data collected. Typical form editing requires a separate application even for the most trivial changes. XForms manipulates XML data and submits it to a server, making it an ideal choice to author these trivial changes and submit them for redeployment.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/library/x-xforms4xforms/ - May, 2006

[Top]

Tutorials:
  • Build a shopping cart application using XForms by Steve K. Speicher, Keith Wells, Jan J. Kratky, Kevin Kelly   - [Clicks: 55]
    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.
    [Formats: html, pdf]
    http://www-128.ibm.com/developerworks/edu/x-dw-x-xformsshopcart.html - Dec, 2006

[Top]