Using Perl With WDDX - This Way Out (Page 8 of 8 )
And that's about it for the moment. In this article, I gave you a quick tour of WDDX, an innovative, XML-based technology designed to simplify data exchange over the Web. I showed you how you could use Perl, with its supplementary WDDX component, to serialize and deserialize a variety of different data structures, including scalars, arrays and hashes. Finally, I wrapped thngs up with a real-life demonstration of the power of WDDX, building a client-server application to transmit and retrieve WDDX-encoded information...using two different programming languages.
Needless to say, you've had a busy afternoon. Take some time off, get yourself a cup of coffee, and when you get back, drop by the following links, which have more information on WDDX.
The WDDX Web site, at
http://www.openwddx.org/The WDDX DTD, at
http://www.allaire.com/documents/objects/whitepapers/wddx_dtd.txtPHP's WDDX functions, at
http://www.php.net/manual/en/ref.wddx.phpMoreover.com, which offers free news headlines in WDDX format (non-commercial use only), at
http://www.moreover.com/Until next time...stay healthy!
Note: All examples in this article have been tested on Linux/i586 with Perl 5. Examples are illustrative only, and are not meant for a production environment. Melonfire provides no warranties or support for the source code described in this article. YMMV!
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |