WDDX (Web Distributed Data eXchange)
An XML-based specification for sharing data between different programming and scripting languages. Originally developed by Allaire (now Macromedia), WDDX uses the XML 1.0 DTD and language-specific modules to allow for the data transfer.
From the WDDX FAQ:
WDDX provides a module for each language that will automatically serialize or translate the native data structures into an abstract representation in XML, or deserialize WDDX XML into a native data structure. For example, you could use WDDX to take a complex array in ColdFusion, serialize it into XML, send it to an ASP server, and then deserialize from XML into a VBScript array object with all the types natively converted.
WDDX supports Boolean, number, date-time, and string data types, as well as arrays, structures and record sets.
WDDX modules currently exist for Perl, PHP, ColdFusion, Java and JavaScript.
Additional resources
OpenWDDX
Details the specification, offers a free SDK and links to additional info. Has not been updated since 2001, however.
XML and PHP. Part 1: Using the WDDX functions
Add a comment