WebDeveloper.com �: Where Web Developers and Designers Learn How to Build Web Sites, Program in Java and JavaScript, and More!   
Web Developer Resource Directory WebDev Jobs
Animated GIFs
CSS
CSS Properties
Database
Design
Flash
HTML
HTML 4.01 Tags
JavaScript
.NET
PHP
Reference
Security
Site Management
Video
XML/RSS
WD Forums
 Client-Side
  Development

    HTML
    XML
    CSS
    Graphics
    JavaScript
    ASP
    Multimedia
    Web Video
    Accessibility
    Dreamweaver
    General
    Accessibility
    Dreamweaver
    Expression Web

    General

 Server-Side
  Development

    PHP
    Perl
    .NET
    Forum, Blog, Wiki & CMS
    SQL
    Java
    Others

 Site Management
    Domain Names
    Search Engines
    Website Reviews

 Web Development
  Business Issues

    Business Matters

 Etc.
    The Coffee Lounge
    Computer Issues
    Feedback




WDDX: A Deeper Look

Say you wanted to represent the output of a simple form on a page that collected user information--first name, last name, and birthdate, for instance--the kind of information that is likely to be useful across a whole range of applications. This would be represented in a WDDX "packet". WDDX structures are called packets because the XML representation of the data is only important (generally) as an entity on the wire in the space between apps. This data would consist of two strings and a date in all languages (or at least all languages that support the concept of a date type). Each variant consists of a name-value pair. This name-value pair relationship is what gives the packet its structure.Representing an instance of this data might look like this: <wddxPacket version="0.9"> <header> </header> <data> <var name="firstname"> <string>Joseph </var> <var name="lastname"> <string>Josephson </var> <var name="birthdate" <datetime>12/12/67 </var> </data> </wddxPacket>


HTML5 Development Center


Recent Articles