internet.com

Go to WebDeveloper Home


hm-v6-139x61.gif

Database Journal: The Knowledge Center for Database Professionals

find a web host with:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
jobs

Get FREE Development Info via your Email!

The Webdeveloper channel
FlashKit
GIF.com
HiermenusCentral
webdeveloper Jobs
Java Boutique
JavaScript.com
JavaScript Source
ScriptSearch
StreamingMedia World
WDJ
WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com

internet.com
Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ECommerce/Marketing
ISP Resources
ASP Resources
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers

internet.commerce
Be a Commerce Partner










 
THE XML FILES
A WebDeveloper.com Feature

Just One More Acronym: WDDX
Part 2

by Nate Zelnick

Structured Stupidity

XML works like language because it can take complex structural relationships and reduce them to a comprehensible and portable format. The rules for defining structure are simple. What can be done with that structure is very broad and can encompass highly complex systems and ideas.

For the last six months or so I have been working with a technology that Allaire developer Simeon Simeonov invented to solve a very simple problem: How to move recordsets created by ColdFusion applications to other ColdFusion applications. At first this seems fairly simple, since it involves the same application server with the same recordset format.

But, of course, it's not that simple at all. The taxonomy used for a database underlying each of the applications is built according to the whims of a DBA. Where one person might name the title of a recordset describing a person as "title", another might call that "salutation". Having to manually dig through every possible application that might want to share data is impossible, and establishing cross-industry "customer profile" standards would only solve one instance of the problem. Our big, messy, language-proficient brains can map the relationship between the two concepts easily. Computers, of course, are a little more brittle. In fact, they're stupid.

The Web rewards stupid solutions to complex problems because they can be re-used easily and with great flexibility across all of the different platforms, operating systems and applications that connect to it. HTTP, for instance, is not elegant, but it works.

Sim solved the problem by thinking intelligently about the stupidity of the system. If you couldn't move a recordset around in its native format, maybe you could create a generic description of recordsets that could provide enough contextual information about what the recordset contains so that the receiving application could decode it and work with it. Sim's solution was to use XML to describe recordsets—and any other data structure—using some generic properties that they all share. When he was done, he realized that he had something much more useful than a system for moving recordsets between different ColdFusion applications. He had a way to move data between any application framework anywhere on the Internet. Allaire named it WDDX for Web Distributed Data eXchange.

[ Click here to move to the next part of the article ]

Fast Jump to Anywhere on WebDeveloper.com®:



internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs


Contact the WebDeveloper.com® staff

Last modified: Friday, 22-Aug-2008 13:46:48 EDT

 

Refresh Daily
Join Editor-in-Chief David Fiedler The Editor With No Time and find truth, justice, and a clue or two.


Browse by Category
[ Site Map ]

ActiveX / VBscript
Animated GIF Archive
Browsers
CGI / Perl
Database Connectivity
E-Commerce
HTML-Advanced: DHTML, CSS
HTML / Site Authoring Tools
Intranet/Groupware
Java
JavaScript
Multimedia: Audio / Video / Streaming Technologies
Opinions
Refresh Daily: Editorial Column
Security
Servers & Server Tools
Site Design / Graphics
Site Management / Marketing / Log File Analysis
VRML / 3D
XML