 |
 |
 |
 |
 |
 |
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 |
|
| |
An introduction to XML User Interface Language (XUL) development
XUL is a tried and true application framework. In fact, the recently released Firefox 3.0 is not only built using XUL, but provides a XUL runtime environment that enables any Firefox user to run other XUL applications. In this tutorial, you start to program in XUL and learn about some tools to help you develop XUL apps. Build a XUL-based blog editor as you enhance your Web development skills to build desktop apps with XUL.
|
 |
Tutorials |
 |
04 Nov 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 |
|
| |
Thinking XML: Firefox 3.0 and XML
Mozilla continues to improve its flagship browser and the latest major release,
Firefox 3.0, offers something for just about everyone. XML developers were certainly
not left out -- the new version improves basic parsing, DOM, XSLT, SVG, and more. In this article, learn of the new features Firefox 3.0 offers for XML processing; pay close attention to how the added EXSLT extensions open up fresh possibilities for XSLT on the browser.
|
 |
Articles |
 |
29 Jul 2008 |
|
| |
Top ten XML articles and tutorials - March 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Top ten XML articles and tutorials - January 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Ajax overhaul, Part 1: Retrofit existing sites with Ajax and jQuery
This first article in a series on overhauling existing sites with
Asynchronous JavaScript + XML (Ajax) shows you how to eliminate pop-up windows and
navigational dead-ends with simple modal windows.
|
 |
Articles |
 |
04 Mar 2008 |
|
| |
Top ten XML articles and tutorials - December 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
07 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 |
|
| |
Top ten XML articles and tutorials - November 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
11 Dec 2007 |
|
| |
Tip: Parsing RDDL documents with PHP
The Resource Directory Description Language (RDDL) lets document authors provide more information about resources used within an XHTML document. Parse these RDDL descriptors with an API in the XML_RDDL package from PEAR, and extract resource information for use in any PHP application.
|
 |
Articles |
 |
10 Dec 2007 |
|
| |
HTML V5 and XHTML V2
While the intention of both HTML V5 and XHTML V2 is to improve on the existing
versions, the approaches the developers chose to make those improvements is very different.
And with differing philosophies come distinct results. For the first time in many years,
the direction of upcoming browser versions is uncertain. Uncover the bigger picture behind the details of these two standards.
|
 |
Articles |
 |
20 Nov 2007 |
|
| |
Top ten XML articles and tutorials - October 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
08 Nov 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 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 |
|
| |
Top ten XML articles and tutorials - August 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
13 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 |
|
| |
Top ten XML articles and tutorials - July 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
17 Jul 2007 |
|
| |
Get to know JsonML
The rise of JavaScript Object Notation (JSON) has gone hand-in-hand with the rise of Asynchronous JavaScript + XML (Ajax). JSON is useful because it enables you to easily transmit data that can be turned back into a JavaScript object, but it still requires custom scripting to deal with that object. JsonML is an extension of JSON that enables you to map XML data using JSON type markup, and this in turn enables you to easily create XML or XHTML data based on JSON markup and to build and exchange user interface (UI) elements. This article shows you how to make use of this handy tool.
|
 |
Articles |
 |
03 Jul 2007 |
|
| |
Tip: Apply profile links to microformats
Microformats are a popular way to incorporate structured data into regular Web pages. Unfortunately, using microformats without some measure of control can lead to confusion and technical problems. Learn how formal profile declarations in your documents can improve the value of your microformats.
|
 |
Articles |
 |
26 Jun 2007 |
|
| |
Put XHTML 2 to work now
The XHTML 2 specification isn't finished, but it already has many advantages
over XHTML 1, including a greater structural richness that will make it more viable
than its predecessor as an editorial format to serve as the central schema for a
single-source publishing system. Without waiting for browser support of the new user
interface features in XHTML 2, people who do large- or small-scale publishing can
start to use these new features now.
|
 |
Articles |
 |
12 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 |
|
| |
Thinking XML: Microformats the XML way
You might have heard about microformats, a way to embed small, specialized information within standard formats. In fact, microformats come in two types: elemental microformats, which are often quite useful, and compound microformats, which are often quite problematic. Learn about a basic approach to avoid the hacks in some compound microformats by virtue of the structure of the Web. XML, and other natural data representation technologies such as JSON, are just as viable as many of their counterparts in microformats.
|
 |
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 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 |
|
| |
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 |
|
| |
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 |
|
| |
Ajax and XML: Five Ajax anti-patterns
You can learn a lot about how to do things correctly by understanding how things are done incorrectly. Certainly, there's a right way and a wrong way to write Asynchronous JavaScript + XML (Ajax) applications. This article discusses some common coding practices you will want to avoid.
|
 |
Articles |
 |
20 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 |
|
| |
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 |
|
| |
Ajax and XML: Five common Ajax patterns
Asynchronous JavaScript + XML (Ajax) was certainly the technology buzzword of 2006 and looks to do just as well or better in 2007. But what does it really mean for your application? And which common architectural patterns are used widely in Ajax applications? Discover five common Ajax design patterns that you can use as a basis for your own work.
|
 |
Articles |
 |
06 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 |
|
| |
Tip: Configure Apache to send the right MIME type for XHTML
This tip shows you how to configure Apache to tag Extensible Hypertext Markup Language (XHTML) documents with the media type application/xhtml+xml for browsers that support it, while still sending text/html to nonconformant browsers such as Microsoft Internet Explorer.
|
 |
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: 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 |
|
| |
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: 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 |
|
| |
Mastering Ajax, Part 9: Using the Google Ajax Search API
Making asynchronous requests isn't just about talking to your own server-side programs. You can also communicate with public APIs like those from Google or Amazon, and add more functionality to your Web applications than just what your own scripts and server-side programs provide. In this article, Brett McLaughlin teaches you how to make and receive requests and responses from public APIs like those supplied by Google.
|
 |
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: 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 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 |
|
| |
XML Matters: MochiKit
MochiKit is a useful and high-level library for JavaScript. MochiKit takes its main inspiration from Python, and from the many conveniences the Python standard library offers; but on the side it also smooths over the inconsistencies among browser versions. MochiKit.DOM is a particularly handy component that lets you work with DOM objects in much friendlier ways than raw"JavaScript provides. A lot of MochiKit.DOM is customized for XHTML work, which possibly makes its use of XHTML wrapped microformats particularly convenient when combining MochiKit and Ajax.
|
 |
Articles |
 |
21 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 |
|
| |
Mastering Ajax, Part 8: Using XML in requests and responses
In the last article of the series,you saw how your Ajax apps can format requests to a server in XML. You also saw why, in most cases, that isn't a good idea. This article focuses on something that often is a good idea: returning XML responses to a client.
|
 |
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: 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 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 |
|
| |
Mastering Ajax, Part 7: Using XML in requests and responses
Brett McLaughlin demonstrates how you can use XML as the data format for sending asynchronous requests.
|
 |
Articles |
 |
10 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 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 |
|
| |
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 |
|
| |
Mastering Ajax, Part 6: Build DOM-based Web applications
Continue to explore how DOM programming fits into interactive Ajax applications as Brett McLaughlin completes his trilogy of articles on DOM programming with a DOM application in practice.
|
 |
Articles |
 |
12 Sep 2006 |
|
| |
XML in Firefox 1.5, Part 3: JavaScript meets XML in Firefox
In this third article of the XML in Firefox 1.5 series, you learn to manipulate XML with the JavaScript implementation in Mozilla Firefox. In the first two articles, you learned about the different XML-related facilities in Firefox, and the basics of XML parsing, Cascading Style Sheets (CSS), and XSLT stylesheet invocation.
|
 |
Articles |
 |
01 Aug 2006 |
|
| |
Separate data and formatting with microformats
Microformats are a new way to embed structured data within standard XHTML code. Discover how to read and write the new microformats for the Web.
|
 |
Articles |
 |
11 Jul 2006 |
|
| |
Tip: Rescue terrible HTML with TagSoup
XHTML is a friendly enough format for parsing and screen-scraping, but the Web still has a lot of messy HTML out there. In this tip Uche Ogbuji demonstrates the use of TagSoup to turn just about any HTML into neat XHTML.
|
 |
Articles |
 |
04 May 2006 |
|
| |
Mastering Ajax, Part 5: Manipulate the DOM
Last month Brett introduced the Document Object Model, whose elements work behind the scenes to define your Web pages. This month he dives even deeper into the DOM. Learn how to create, remove, and change the parts of a DOM tree, and take the next step toward updating your Web pages on the fly!
|
 |
Articles |
 |
11 Apr 2006 |
|
| |
XML in Firefox 1.5, Part 1: Overview of XML features
The open source Firefox Web browser continues to grow in popularity. Users like the security and convenience features it offers. Developers like the Firefox attention to standards compliance, inherited from its Mozilla roots. The most recent version, Firefox 1.5, comes with many features for XML developers, including XML parsing, XHTML, CSS, XSLT, SVG, XML Events in JavaScript, and XForms. Additional third-party extensions provide even more XML support. In this article, Uche Ogbuji provides an overview of XML features in Firefox 1.5.
|
 |
Articles |
 |
21 Mar 2006 |
|
| |
Mastering Ajax, Part 3: Advanced requests and responses in Ajax
For many Web developers, making simple requests and receiving simple responses is all they'll ever need, but for developers who want to master Ajax, a complete understanding of HTTP status codes, ready states, and the XMLHttpRequest object is required. In this article, Brett McLaughlin will show you the different status codes and demonstrate how browsers handle each and he will showcase the lesser-used HTTP requests that you can make with Ajax.
|
 |
Articles |
 |
14 Feb 2006 |
|
| |
The future of HTML, Part 2: XHTML 2.0
In this two-part series, Edd Dumbill examines the various ways forward for HTML that Web authors, browser developers, and standards bodies propose. This series covers the incremental approach embodied by the WHATWG specifications and the radical cleanup of XHTML proposed by the W3C. Additionally, the author gives an overview of the W3C's new Rich Client Activity. Here in Part 2, Edd focuses on the work in process at the W3C to specify the future of Web markup.
|
 |
Articles |
 |
25 Jan 2006 |
|
| |
The future of HTML, Part 1: WHATWG
In this two-part series, Edd Dumbill examines the various ways forward for HTML that Web authors, browser developers, and standards bodies propose. This series covers the incremental approach embodied by the WHATWG specifications and the radical cleanup of XHTML proposed by the W3C. Additionally, the author gives an overview of the W3C's new Rich Client Activity. Here in Part 1, Edd focuses primarily on two specifications being developed by WHATWG: Web Applications 1.0 (HTML5) and Web Forms 2.0.
|
 |
Articles |
 |
06 Dec 2005 |
|
| |
Mastering Ajax, Part 1: Introduction to Ajax
Ajax, which consists of HTML, JavaScript, DHTML, and DOM, is an outstanding approach that helps you transform clunky Web interfaces into interactive Ajax applications. The author, an Ajax expert, demonstrates how these technologies work together -- from an overview to a detailed look -- to make extremely efficient Web development an easy reality. He also unveils the central concepts of Ajax, including the XMLHttpRequest object.
|
 |
Articles |
 |
06 Dec 2005 |
|
| |
Build quick, slick Web sites
With everyone from your eight-year-old neighbor to your eighty-year-old grandmother building Web sites, the Internet has become a slow-moving, bogged-down beast. But with just a few tricks using XHTML, you can build classy, beautiful sites that still load in the blink of an eye.
|
 |
Articles |
 |
20 Sep 2005 |
|
| |
XHTML, step-by-step
Get started working with Extensible Hypertext Markup Language. XHTML is a language based on HTML, but expressed in well-formed XML. But XHTML is much more than just regularizing tags and characters -- XHTML can alter the way you approach Web design. This tutorial gives step-by-step instruction for developers familiar with HTML who want to learn how to use XHTML in practical Web sites.
|
 |
Tutorials |
 |
06 Sep 2005 |
|
| |
As easy as X+V
Everyone in the industry is hyping multimodal applications as the next cool way to build applications -- why limit users to a single input/output modality when they can use several at one time? X+V simplifies multimodal application development. This article takes you through the steps necessary to build a simple, but useful, multimodal application.
|
 |
Articles |
 |
08 Jul 2005 |
|
| |
Linking in XHTML 2.0
As a fundamental part of the Web, hypertext linking has been the subject of repeated attempts at standardization beyond the basic format allowed in simple HTML. Such attempts can be characterized as efforts to balance machine processing ability with authoring convenience. The latest specification in this area, XHTML 2.0, just might have gotten it right.
|
 |
Articles |
 |
04 Mar 2005 |
|
| |
XHTML 1.0: Marking up a new dawn
Still writing your documents in HTML? If you are, you're not complying with current standards. On January 26, 2000, XHTML 1.0 became a recommendation by the World Wide Web Consortium (W3C). HTML, according to the W3C, is no longer the Web markup standard. Instead, XHTML 1.0 has replaced our old favorite, marking up the dawn of a new and exciting time in communications technology.
|
 |
Articles |
 |
09 Feb 2005 |
|
| |
Tip: Convert from HTML to XML with HTML Tidy
This tip demonstrates how to convert HTML documents to XML (or more specifically, XHTML) with a simple, open source tool, HTML Tidy. This conversion is useful for webmasters who are migrating to XML. It can also help XML converts who have to interface with legacy HTML tools.
|
 |
Articles |
 |
18 Sep 2003 |
|
| |
The Web's future: XHTML 2.0
Over the years, HTML has only become bigger, never smaller, because new versions had to maintain backward compatibility. That's about to change. On 5 August 2002, the first working draft of XHTML 2.0 was released and the big news is that backward compatibility has been dropped; the language can finally move on. So, what do you as a developer get in return? How about robust forms and events, a better way to look at frames and even hierarchical menus that don't require massive amounts of JavaScript.
|
 |
Articles |
 |
01 Sep 2002 |
|
| |
Get ready for XForms
Traditional HTML forms violate many of the tenets of good markup language design, frequently mixing presentation and data. In this article, Joel Rivera and Len Taing introduce you to XForms, an extension of XHTML that represents the next generation of Web forms. Though XForms is still in an embryonic state, it holds great promise: For instance, a form written with XForms can be written once and displayed in an optimal ways on several different platforms. Once you finish reading this article, you'll have a head start on this important emerging XML technology.
|
 |
Articles |
 |
01 Sep 2002 |
|
| |
XHTML: The power of two languages
This article takes a pragmatic look at XHTML, a markup language that effectively bridges the gap between the simplicity of HTML and the extensibility of XML. It also covers the essential features of the various flavors of XHTML and includes discussions of the language and a number of real-world applications.
|
 |
Articles |
 |
01 Jul 2002 |
|
| |
Modularization of XHTML
This tutorial is designed for users who need to understand the modularization of XHTML, either to use a subset of XHTML, or to add their own tags to create their own markup language variants.
|
 |
Tutorials |
 |
23 Oct 2001 |
|
| |
Recurse, not divide, to conquer
Software consultant and author Benoît Marchal answers an XSLT student's frequently asked question: How do you divide an HTML element between two XSLT templates? The trick is to ask the right question. This article demonstrates how to shift your thinking into the XSLT recursive approach, which is especially helpful if you have a background in a procedural language (Java and the like). Sample code demonstrates the right way (and the wrong way) to work with a flat XML or XHTML file that you want to process hierarchically.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Tip: Generating internal HTML links with XSLT
Uche Ogbuji walks you through how to use XSLT to populate HTML or XHTML output with anchors and internal links. Internal links help to organize long HTML content; XSLT provides facilities for generating those internal links, but some of the methods are somewhat obscure. This tip, with reusable sample code, clearly spells out two approaches for the process.
|
 |
Articles |
 |
01 Feb 2001 |
|
| |