Package Proposal: XML_WDDX
| From: | Stephan Schmidt | Date: | Sun, 03 Aug 2003 19:59:37 +0000 |
| Subject: | Package Proposal: XML_WDDX | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-19210@lists.php.net to get a copy of this message | ||
Hi,
I'd like to propose a new package. It's a wrapper for the wddx_*
functions in PHP.
The package allows you to add values, that you do not exist in the
current scope, which normally makes using WDDX in PHP painful.
The current version is just the basic implementation, you can create a
new package, add values and then serialize it. Of course you can also
unserialize a string. Future versions will include:
- static method call to serialize only one value
- unserialize from a resource or file
- extract the comment of a WDDX packet
You can view the source at:
http://www.php-tools.de/PEAR/XML_WDDX/WDDX.phps
And a added a tiny example of the usage at:
http://www.php-tools.de/PEAR/XML_WDDX/examples/serialize.php
http://www.php-tools.de/PEAR/XML_WDDX/examples/serialize.phps
I think PEAR needs a WDDX package and there has to be some OO interface
to the strange WDDX_* functions, hope you think the same.
Stephan