Think there's no such thing as platform independence? Thinkagain. This article introduces you to WDDX, a platform-neutral way toexchange data structures across the Web, and shows you how you can putit to work using the Perl WDDX module.
As a Web developer, you probably already know how frustrating it is to get applications written in different languages to talk nice to each other. Each language has its own data types, its own syntax, and its own creative twist on standard programming constructs, and it's no small task to get them to cooperate with each other. In fact, in the multi-platform, multi-lingual world of the Web, exchanging data between applications written in different programming languages is often the biggest stumbling block to building new, integrated Web services.
Well, fear not - there does exist a way. It comes in the form of Web Distributed Data eXchange (WDDX), an XML-based technology designed to create language- and platform-independent representations of data, with a view to simplifying data exchange over the Web.
Over the next few pages, I'm going to give you a quick primer on how WDDX works, and then combine it with my favourite Web programming language, Perl, in order to demonstrate how you can use it to build simple applications. So keep reading - things are just getting interesting!