 |
 |
 |
 |
 |
 |
Index of XML standards
The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. XML is a basic syntax upon which you develop local and global vocabularies. This index provides a detailed cross-reference of many XML standards, including links to additional coverage for each.
|
 |
|
 |
19 Nov 2009 |
|
| |
Integration between XML Forms Generator and Data Studio, Part 2: DB2 pureXML support in XFG
The pureXML feature of IBM DB2 9 has revolutionized support for
XML data -- handling XML as a new data type that is stored in a natural hierarchy -- different
from relational data. IBM Data Studio can create Data Web Services with multiple pureXML
parameters to manipulate pureXML instances in the database. With the pureXML support in XML
Forms Generator (XFG), you can visualize pureXML into XHTML/XForm for user to interact. Also
XFG can retrieve the registered related XML Schemas of pureXML instances and generate type
information, validation constraints into the target pureXML XHTML/XForm. So pureXML support
in XFG makes it easy to build forms interfaces for XML instances stored in pureXML.
|
 |
Articles |
 |
20 Jan 2009 |
|
| |
Integration between XML Forms Generator and Data Studio, Part 1: Get started with the integration by creating an application
The XML Forms Generator (XFG) provides a jump-start for form development. It can
quickly and automatically produce valid and functional forms containing XForms markup
embedded within an XHTML document. The input to form generation can be an XML data
instance with or without a backing XML Schema, or a WSDL document. Data Web Services,
which is based on SQL scripts and Store Procedures, is a database related application
of traditional Web Services. IBM Data Studio is a client tool for generating Data Web Services visually with the help of direct connection to database.
The integration between XFG and Data Studio can enable to generate XForms/XHTMLs from Data
Web Services generated by Data Studio. This integration provides advantages such as joining the development of UI pages and Data access seamlessly, reducing the workload of UI development from Data Web Services, visualizing the pureXML UI development with full-support of validation, etc.
|
 |
Articles |
 |
19 Dec 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 3: Implementing the nurse and doctor XForm
This is the third article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In Part 3 of the series, you will develop a form for nurses to go back and edit patient data, and you'll also learn what you need to do in Ruby to make this happen.
|
 |
Articles |
 |
04 Dec 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 1: Setting up IBM DB2 9 pureXML
This is the first article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In this first part of the series, you will examine how XForms, DB2 pureXML, and Ruby on Rails can all help more rapidly build XML-centric Web applications.
|
 |
Articles |
 |
01 Oct 2008 |
|
| |
Ajax overhaul, Part 4: Retrofit existing sites with jQuery and Ajax forms
Ajax techniques have changed the face of large, commercial Web applications,
but many smaller Web sites don't have the resources to rebuild their entire user interface overnight. New features
should justify their costs by solving real-world interface problems and improving user experience. With this series,
you've been learning to modernize your UI incrementally using open source, client-side libraries. In this installment,
learn to transform a multistep checkout process from a series of sequential forms into a single-screen interface
using Ajax techniques. You do so using the principle of progressive enhancement, ensuring that your site remains accessible to all sorts of user-agents.
|
 |
Articles |
 |
29 Jul 2008 |
|
| |
Ten XML Schemas you should know
In this article, look at some top XML schemas that provide solutions for all sorts of problems, from the basics of Web services to data description. You'll also cover database-like solutions that involve contacts and invoices. The schemas in this article were chosen for their usefulness and utility, plus their impact on the XML community in how information is shared and exchanged using the XML format.
|
 |
Articles |
 |
01 Jul 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 4: Implementing the doctor and patient lookup XForms
This is the fourth article in a four-part series about using XForms, DB2
pureXML, and Ruby together to more easily create Web applications. In this series
you will develop a hypothetical application for managing patient information at a
doctor's office. You will get a taste of the individual strengths of each
technology, but you will also see how to integrate them together. In Part 4 of the
series, you continue to develop XForms for the doctor's office including an all new form to look up patients by last name.
|
 |
Articles |
 |
10 Jun 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 2: Implementing the patient information XForm
This is the second article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In Part 2 of the series, you will begin implementing the application.
|
 |
Articles |
 |
04 Jun 2008 |
|
| |
XForms and DB2 pureXML
Understand the end-to-end exchange of XML data from an XForms-based browser
to an IBM DB2 database with full XML support. Learn how easy it is to create XForms
and have them communicate with a DB2 database, where XML data can be stored,
retrieved, or deleted. Learn, also, how to create the XForms that access the DB2
pureXML through Universal Services.
|
 |
Articles |
 |
08 May 2008 |
|
| |
Ajax and XML: Ajax for forms
Augmenting your HTML forms with Ajax callbacks to the server is a practical way to
add Web 2.0 functionality to your application. Discover a variety of techniques to add
Ajax code and enhance the user experience for PHP applications.
|
 |
Articles |
 |
22 Jan 2008 |
|
| |
The ROI of XForms
This article examines several methods of calculating the Return on Investment (ROI) of adopting enterprise-wide XForms standards. We look at ROI analysis from several different viewpoints including the standards perspective and issues around vendor lock-in avoidance strategies. We discuss three ROI models for an enterprise XForms migration and how to overcome common objections to an XForms initiative.
|
 |
Articles |
 |
11 Dec 2007 |
|
| |
Use an XForms document as a custom XML editor
In a recent article we looked at XSLT 2.0 functions to convert an XML bracket to an HTML page that displayed the results of a fictional tournament. In this article, we revisit that XML document type to create an attractive editor that fills in the bracket. The result is a custom editor for a specific XML document type.
|
 |
Articles |
 |
06 Nov 2007 |
|
| |
Extending XForms to enable rich text editing
The landscape of Web-based rich-text editing today includes blogs, wikis,
social networking sites, and more. Learn how to extend
the standard XForms set of controls to provide this rich text editing.
|
 |
Articles |
 |
30 Oct 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 4: Creating interactive forms with GWT and XForms
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 looks at the JavaScript
underpinnings of each technology. Part 2 shows how to use those JavaScript
underpinnings to start mixing the two technologies together to build the rock star
application. Part 3 refactors the application to use XForms and GWT together. In
this concluding part, you'll continue to refactor and improve your rock star application.
|
 |
Articles |
 |
16 Oct 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 3: Using GWT to create XForms
This four-part series demonstrates how to use the Google Web Toolkit (GWT)
and XForms together to create a dynamic Web application. Part 1 looked at the two
technologies and how both had JavaScript underpinnings. Part 2 shows how to create a
small application with two pages. One page uses GWT to show a list of artists
managed by a record company. The second page uses XForms to display the albums
recorded by a particular artist. Part 3 uses GWT and XForms on the same page. See
how to take advantage of each technology's bindings to JavaScript by using JavaScript to achieve interactivity between GWT and XForms.
|
 |
Articles |
 |
09 Oct 2007 |
|
| |
Write XForms that work across browsers
Learn how XHTML and XForms documents should be
hosted and written to ensure that your end users have the best experience with
your XForms-based applications.
|
 |
Articles |
 |
02 Oct 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 2: Creating an artist and album management form
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 looked at the JavaScript underpinnings of each technology. Part 2 shows you how to use those JavaScript underpinnings to start mixing the two technologies together to build the rock star application.
|
 |
Articles |
 |
25 Sep 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 1: Introducing GWT's JavaScript Native Interface
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 starts with a bottom-up approach to the problem of using GWT and XForms together. It takes a look at some of the underpinnings of each technology, examining the common ground between them that will allow for their peaceful coexistence. This will lay the foundation for developing a Web application that uses both GWT and XForms together.
|
 |
Articles |
 |
18 Sep 2007 |
|
| |
Use PHP to create XForms, Part 2: Using the PHP XForms library to create useful XForms
This two-part article series is designed to get PHP developers up to speed in leveraging Web 2.0 XForms forms for their PHP forms development so that they can finally put their outdated Web 1.0 HTML forms away. In Part 1, you created the PHP XForms library. In this article, Part 2, you will enhance the library to include some error checking and convenience functions to help make using the library more manageable, and lastly you'll demo the library by creating a proof of concept XForm.
|
 |
Articles |
 |
12 Sep 2007 |
|
| |
Use PHP to create XForms, Part 1: Creating a PHP XForms library
This two-part article series is designed to get PHP developers up to speed in leveraging Web 2.0 XForms forms for their PHP forms development so that they can finally put their outdated Web 1.0 HTML forms away. This will be accomplished by creating a library of functions that generate XForms elements when called upon. In this article, Part 1 of a two-part series, developers will create the XForms library using PHP, allowing each function to take in parameters and output XForm elements.
|
 |
Articles |
 |
28 Aug 2007 |
|
| |
Generating XForms applications using the National Information Exchange Model (NIEM)
This article demonstrates how XForms applications can be automatically created from a National Information Exchange Model (NIEM) constraint schema, and shows how graphical tools can allow non-programmers to automatically create rich Web applications using a model-driven approach. It gives an example of how a short XML transformation (XSLT) is used to achieve this task and how the transformation can be modified and extended by developers.
|
 |
Articles |
 |
21 Aug 2007 |
|
| |
Point-and-click XForms design
This 12-minute video illustrates the order of magnitude simplification that XForms can offer to the development of applications that interact with users to collect the XML data that drives back-end business processes.
|
 |
|
 |
14 Aug 2007 |
|
| |
XForms extensions to XPath
XForms uses XML Path Language (XPath) as its basic function and evaluation language.
This is the same XPath used in Extensible Stylesheet Language Transformations (XSLT). In addition to familiar functions like
count and substring, XForms
introduces a number of useful extension functions to XPath for numeric, date, and XForms-specific operations including if, avg,
min, max, now, days-from-date, month, and instance.
|
 |
Articles |
 |
07 Aug 2007 |
|
| |
Tip: Make your life easier with the XML Schema Standard Type Library
XML validation enables you to create complex rules that define acceptable data. But they're no good to anybody unless you use them. In this tip, you learn to use the XML Schema Standard Type Library to simplify the process of requiring formatted data such as e-mail addresses and telephone numbers.
|
 |
Articles |
 |
31 Jul 2007 |
|
| |
Use JavaScript to make your XForms more robust
Have you ever had an XForm where you clicked the Remove button until all the rows disappeared, and then tried to insert a row back? What happens? Nothing! That's what this article will show you how to solve using JavaScript.
|
 |
Articles |
 |
24 Jul 2007 |
|
| |
Use XForms and Ajax to create an autosuggest form field
Web application development has been revolutionized by Ajax. What was once a new and flashy technology is now becoming ubiquitous. End users are coming to expect that certain interactions with a Web application will be done "with no refresh," in other words, using Ajax. The ubiquity of Ajax for users has not yet translated to client-side technologies. There are many Ajax frameworks out there that make it simpler to use Ajax, hiding some of the cross-browser issues, but building an Ajax-enabled Web application is still a non-trivial task, to say the least. XForms is a standardized technology that offers many benefits that are complimentary to Ajax. In this article you will see some of the benefits of using Ajax and XForms together by implementing an autosuggest field.
|
 |
Articles |
 |
10 Jul 2007 |
|
| |
Cool things you can do with XPath in XForms
See how XPath and XForms interact to enable you to create functionality you may not have considered, such as displaying a list of unique values in one easy step, or using XPath in conjunction with interface elements such as radio buttons or drop-down lists to control the data displayed, as opposed to just the data submitted.
|
 |
Articles |
 |
26 Jun 2007 |
|
| |
Generate Web services for DB2 9 pureXML
Web services are important building blocks to achieve service-oriented architecture. As more and more applications move towards a Service Oriented Architecture, often times there is a need to expose application functionality as Web services. The purpose of this article is to show how you can easily generate Web services using a simple Java class to insert and retrieve XML data, into, and from DB2 9 using the pureXML feature. Once the Web services are generated and deployed on WebSphere Application Server, you can test it using either the built in Web services Explorer of Rational Application Developer (RAD) or XForms as a Web services client. The same services can be used by any Web services client that can make SOAP over HTTP Web service calls.
|
 |
Articles |
 |
14 Jun 2007 |
|
| |
Understanding XForms
With XML-based technologies such as XForms, XQuery, and XSLT, it is possible to create complex multi-user applications, from interactive help systems to custom "game" applications in which multiple users can interact with at once.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Report Data Analyzer: Interpret EWLM performance data
As a workload manager (and not a capacity planning tool), the IBM Enterprise
Workload Manager focuses on real-time data and, thus, only retains performance data
covering the past 24 hours. There was a customer requirement, however, to have this data
available for later analysis. And so, the Data Hardening plug-in was added. This plug-in
allows on-the-fly dumping of performance data onto the file system. But, the
dumped data can't be directly exploited: Enter EWLM Report Data Analyzer.
|
 |
Articles |
 |
15 May 2007 |
|
| |
Use XForms to create an accounting tool, Part 6: Wrapping it up
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. This series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 6 of this six-part series takes a final review and lessons learned approach, making sure there are no gaps in the final application and looking at future possibilities.
|
 |
Articles |
 |
15 May 2007 |
|
| |
Use XForms to create an accounting tool, Part 5: Developing liability management functionality
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 5 of this six-part series demonstrates how to create a payables form for liability and payment, and a reports form to analyze billing data and statistics.
|
 |
Tutorials |
 |
08 May 2007 |
|
| |
Use XForms to create an accounting tool, Part 4: More asset management and reporting
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 4 of this six-part series demonstrates how to pull together many of the techniques touched on in earlier installments using the example of the order review form and the asset management form, with special privileges for procurement users. It also introduces new techniques for handling real world issues.
|
 |
Tutorials |
 |
17 Apr 2007 |
|
| |
Top ten XML articles and tutorials - March 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
11 Apr 2007 |
|
| |
Use XForms to create an accounting tool, Part 3: Developing asset management functionality
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called X-Trapolate. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 3 of this six-part series demonstrates how to leverage the power of XForms in conjunction with PHP and MySQL to create some tools for interacting with the data of day-to-day business.
|
 |
Tutorials |
 |
03 Apr 2007 |
|
| |
Extending the XML data model to XFDL forms using IBM Workplace Forms V2.6
Learn how to separate a form's data layer from its presentation layer by using XML data model with IBM Workplace Forms. IBM Workplace Forms provides the set of interfaces you need to create e-forms that maintain the non-repudiation and auditability features of paper-based forms.
|
 |
Articles |
 |
27 Mar 2007 |
|
| |
Use XForms to create an accounting tool, Part 2: Logging in and accounts
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 2 of this six-part series demonstrates how to leverage the power of XForms in conjunction with PHP and MySQL to create the basic "login," "registration," and "account management" functionality seen in many modern Web applications.
|
 |
Tutorials |
 |
27 Mar 2007 |
|
| |
Use XForms to create an accounting tool, Part 1: The making of X-Trapolate
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called "X-Trapolate." Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. This article, Part 1 of the series, provides an overview of the different forms and functionality that will be created in this series, examining some of the aspects of this type of tool you must consider when undertaking the design.
|
 |
Articles |
 |
20 Mar 2007 |
|
| |
Top ten XML articles and tutorials - January 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 Mar 2007 |
|
| |
Top ten XML articles and tutorials - February 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 Mar 2007 |
|
| |
Use XForms to create your own Sudoku game, Part 2: Create the game
It's no secret that Sudoku is one of the hottest new trends around. This number game can easily be played on a computer or on paper, and because you can easily analyze the data in a form using XPath, it would not be impractical for you to use XForms to create a form that enables you to play Sudoku. This two-article series shows you how to create a game client that requests new games from the server, detects legal and illegal moves and the end of the game, and saves the current game for later. It also shows you how to generate new games for the user to play. Part 2 looks at loading and saving games. This article assumes that you're familiar with the basics of XForms.
|
 |
Articles |
 |
13 Mar 2007 |
|
| |
Use XForms to create a dynamic Web search
The tight integration XForms has with XML makes it perfect for viewing the results of XML-based APIs. At the same time, it's powerful enough to create a dynamic interface that can react to changing conditions. This article explains how to use these capabilities by showing you how to create a dynamic search engine client that provides different options and shows different data depending on the search engine chosen.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
Use XForms to create your own Sudoku game, Part 1: Create the game
It's no secret that Sudoku is one of the hottest new trends around. This two-article series shows you how to create a game client that requests new games from the server, detects legal and illegal moves and the end of the game, and saves the current game for later. It also shows you how to generate new games for the user to play. In part one, we create the basic game client.
|
 |
Articles |
 |
27 Feb 2007 |
|
| |
Creating an XForms-based logo generator
Scalable Vector Graphics (SVG) provides an easy way to declaratively create an image using XML, and XForms provides an easy way to edit XML. In this article you will put the two together to create an XForms-based XVG editor for creating SVG images such as logos.
|
 |
Articles |
 |
20 Feb 2007 |
|
| |
XForms tip: Making a read-only control writeable
At times it is crucial to programmatically control the writability of data in your XForms. For example, if you're browsing data in read-only mode (so modifications aren't made by accident), and then you need to update or add new data, the read-only mode of the same controls will need to become writeable. This tip shows how you can change the readonly property of controls programmatically.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
XForms tip: Reacting to the refreshing of the form
As data changes in your XForms form it can be essential to know right away and do something with the new data, especially when your XForms get more advanced. This tip shows you how to hook such events right into JavaScript methods, thus allowing you to then use the data in many different ways.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
Ten predictions for XML in 2007
2006 was a quiet year for XML. Will 2007 be more exciting? Elliotte Rusty Harold predicts it will be.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
XForms tip: Using extension functions with Firefox
XForms with Firefox has extension functions that aid your development of JavaScript with XForms. These functions allow you to access your XForms instance data with ease, enabling you to do cool stuff with your XForms, including creating dynamic XForms code. The goal of this tip is to help you make the most of your XForms applications by introducing you to Firefox's extension functions.
|
 |
Articles |
 |
06 Feb 2007 |
|
| |
XForms tip: Using the incremental attribute to detect keystrokes
One of the slickest application genres are those that update data as you type. XForms does this with finesse! Controls have the ability to send events after each keystroke entered within them using the incremental attribute. That way controls that need to change their data based on the data of a control that's changing incrementally can also update their data incrementally, effectively keeping what's viewed "on screen" in sync across the board. This tip shows you how to make the most of the incremental feature with sample XForms code.
|
 |
Articles |
 |
06 Feb 2007 |
|
| |
XForms as an RSS reader/editor
RSS, Atom, and other syndication strategies involve making XML data available for download. XForms, which is designed to view and edit XML, is the perfect environment for an XML editor and reader. This article explains how to create an XML reader and editor using XForms.
|
 |
Articles |
 |
30 Jan 2007 |
|
| |
XForms in Firefox
Elliotte Rusty Harold explains how to process XForms with Firefox.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
XForms tip: Using accesskeys for greater accessibility
XForms, the Web 2.0 of forms, could not possibly be Web 2.0 without providing accessibility features. I'm sure you've used the Alt key before, or accidentally typed it while typing up a document. The Alt key focuses in on the File tab at the top of most applications. XForms has similar accessibility capabilities that allow you to focus in on the exact text box you desire, all without having to touch the mouse. This tip shows you how to use this accessibility feature.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
XForms tip: Enabling cross-domain loading and sending in Firefox
XForms with Firefox has a built-in security feature that inhibits users from "cross-domain" loading and sending of instance data. Just like pop-ups, you don't want this to happen by default unless you trust the Web site. You shouldn't have to worry about it since this security feature is on by default, but sometimes you'll want to be able to perform cross-domain loading and sending of instance data with certain Web sites. This tip will show you how.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
XML in 2006
Join Elliotte Rusty Harold for a look back at the most significant XML news from 2006.
|
 |
Articles |
 |
16 Jan 2007 |
|
| |
XForms tip: Call JavaScript from an XForms form
Because XForms controls are part of a namespace separate from the HTML and page, you cannot use the usual methods for calling JavaScript in response to user events, such as the onclick handler. So what are you to do if you need to call JavaScript from an XForms form? This tip shows you how to do it.
|
 |
Articles |
 |
09 Jan 2007 |
|
| |
XForms tip: Dynamically create controls with the repeat, select1, and itemset elements
Forms can have lists of data, which are difficult to display using regular HTML forms. The select1 and itemset elements have a lot of flexibility and are very similar to the select or option tags in HTML. The repeat element really shows its power here in that you can have a list of lists of data, and so on. You'll see how slick it is to populate the data used by the forms using XML. Once you use these XForms controls and populate them using XML, you'll never want to go back to using HTML ever again!
|
 |
Articles |
 |
09 Jan 2007 |
|
| |
XForms tip: Use XForms to upload a file to PHP
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 PHP script that saves the file on the server once it arrives.
|
 |
Articles |
 |
03 Jan 2007 |
|
| |
XForms tip: Using setvalue
XForms provides a lot of ways to set the information on a control, from instance data to bind elements and calculations. But sometimes you just want to set a value directly; this tip shows you how to use the setvalue element to do just that.
|
 |
Articles |
 |
03 Jan 2007 |
|
| |
XForms tip: Using calculations
Part of the allure of XForms is the fact that it provides more of an opportunity to provide interactivity than regular HTML forms, or at least it provides an opportunity to provide that interactivity with much less hassle. One function that's fairly common in Web forms is the ability to perform a calculation based on data supplied by the user. In a traditional HTML form, this means creating a JavaScript script and checking for specific actions such as the user clicking on a button or leaving a particular field. Any of these actions can be prone to error based on different browser versions or rendering of the form in a nontraditional browser. Fortunately, XForms solves this problem by providing a standard way to include calculations in the functionality of your form.
|
 |
Articles |
 |
02 Jan 2007 |
|
| |
XForms tip: XForms capabilities accessible through Mozilla and CSS
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.
|
 |
Articles |
 |
19 Dec 2006 |
|
| |
Build a shopping cart application using XForms
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.
|
 |
Tutorials |
 |
12 Dec 2006 |
|
| |
XForms tip: Use XForms to upload a file to Java
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.
|
 |
Articles |
 |
05 Dec 2006 |
|
| |
XForms tip: Use XForms to upload a file to Perl
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.
|
 |
Articles |
 |
05 Dec 2006 |
|
| |
XForms tip: Using form submission events
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.
|
 |
Articles |
 |
29 Nov 2006 |
|
| |
XForms tip: Using the help and hints events
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.
|
 |
Articles |
 |
29 Nov 2006 |
|
| |
Make the most of XForms repeats
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.
|
 |
Articles |
 |
21 Nov 2006 |
|
| |
XForms and P3P
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.
|
 |
Articles |
 |
14 Nov 2006 |
|
| |
Dynamic XForms submissions
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.
|
 |
Articles |
 |
07 Nov 2006 |
|
| |
Why XForms?
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.
|
 |
Articles |
 |
31 Oct 2006 |
|
| |
XForms tip: Uploading files using XForms
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.
|
 |
Articles |
 |
23 Oct 2006 |
|
| |
XForms tip: Using multiple, hierarchical forms with XForms
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.
|
 |
Articles |
 |
23 Oct 2006 |
|
| |
XForms tip: Sending XForms data using e-mail
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.
|
 |
Articles |
 |
17 Oct 2006 |
|
| |
XForms tip: Alerts and message boxes
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.
|
 |
Articles |
 |
17 Oct 2006 |
|
| |
XForms tip: Saving data to local files and reusing later with XForms
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.
|
 |
Articles |
 |
17 Oct 2006 |
|
| |
XForms basics
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.
|
 |
Articles |
 |
10 Oct 2006 |
|
| |
XForms tip: Accepting XForms data in Java
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.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
XForms tip: Accepting XForms data in Perl
The Perl programming language is widely used on the Internet, and it will continue to be popular for quite some time. It's considered an easy language to program in because it handles strings very well. Also, what you can do in a few lines in Perl takes many more lines of code in other programming languages. In this tip, you'll learn how to submit an XForms form using POST to a Perl script, and capture the data for later use.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
XForms tip: Combining Ajax and XForms
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.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
XForms tip: Dealing with dates and time with XForms
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.
|
 |
Articles |
 |
29 Sep 2006 |
|
| |
Introduction to XForms, Part 3: Using actions and events
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.
|
 |
Articles |
 |
26 Sep 2006 |
|
| |
XForms tip: Accepting XForms data in PHP
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.
|
 |
Articles |
 |
26 Sep 2006 |
|
| |
XForms tip: Using the switch/case elements
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. In this tip, you will use XForms switch and case elements to display only part of a form at any given time.
|
 |
Articles |
 |
22 Sep 2006 |
|
| |
Introduction to XForms, Part 2: Forms, models, controls, and submission actions
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.
|
 |
Articles |
 |
19 Sep 2006 |
|
| |
Introduction to XForms, Part 1: The new Web standard for forms
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 Internet Explorer so that you can view your XForms samples.
|
 |
Articles |
 |
12 Sep 2006 |
|
| |
Technology options for Rich Internet Applications
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.
|
 |
Articles |
 |
25 Jul 2006 |
|
| |
Apply Schematron constraints to XForms documents automatically
Learn how to use Schematron to apply constraints to a standards-compliant form above and beyond those provided by XML Schema. The freely available XML Forms Generator allows you to do this automatically as it generates an XForms document.
|
 |
Articles |
 |
27 Jun 2006 |
|
| |
Develop forms using the Visual XForms Designer
Embark on a whirlwind tour of the Visual XForms Designer, a new tool freely available on IBM alphaWorks. Discover how the designer helps with all the major phases of form development with the XForms standard.
|
 |
Articles |
 |
13 Jun 2006 |
|
| |