Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

XML and PHP. Part 1: Using The WDDX Functions
As A First Approximation Enter WDDX
We will begin by making use of the WDDX functions that PHP offers for free, no need to create our own XML parser or even know the WDDX DTD, we can just use them and be happy.
The WDDX functions do not need any external library, and implement methods to generate, serialize and deserialize information into WDDX packets.
WDDX, the Web Distributed Data Exchange, is an XML application that:
"... is a mechanism for exchanging complex data structures between application environments. It has been designed with web applications in mind. WDDX consists of a language and platform neutral representation of instantiated data based on XML 1.0 (which is defined using this DTD) and a set of serializer/ deserializer components for every environment that uses WDDX. The process of creating an XML representation of application data is called serialization. The process of instantiating application data from a WDDX XML representation is called deserialization. "
(Quoted from: "WDDX Document Type Definition (DTD)", http://www.wddx.org/DTD.htm)
WDDX has a simple DTD, and can be used to serialize variables of different types. The DTD recognizes variables of type string, numeric, and boolean, as well as arrays (when the indexes are numeric) and structures (when the indexes are strings, also called associative arrays). Complex data structures can also be represented (e.g. arrays of arrays).
[ Next Page ]

[Page 1]  [Page 2]  


Comments:
does jscript support wddx?faraz05/01/05 12:35
is WDDX still being supported?Raymond Sassine07/23/03 22:36
RE: Does PHP support WDDX Recordsets ??tryin 2help09/30/02 17:52
Help with PHP4and XMLradhakrishna08/23/02 11:51
How to use xml function in php??dysow05/29/02 02:46
RE: Deserialize packetBart Stutton04/10/02 17:25
Stability / PracticalityRobert Yelvington03/22/02 01:16
Deserialize packetandriani9701/04/02 06:36
RE: Does PHP support WDDX Recordsets ??AlainL12/21/01 02:19
RE: How to use DOM ?Tobias Beuving12/16/01 15:44
RE: Does PHP support WDDX Recordsets ??Jarek Zgoda12/04/01 06:41
RE: wddx under win32Mike06/09/01 20:48
RE: Does PHP support WDDX Recordsets ??Marlow06/06/01 06:49
PHP XML CODES GENERATORMonic04/20/01 20:01
where is you company located?Tyson03/18/01 03:16
wddx under win32Mikey Likes It03/12/01 23:00
RE: Does PHP support WDDX Recordsets ??Joao Marcus02/17/01 12:36
Help with PHP and XMLcullan crothers01/03/01 16:02
How to use DOM ?Tran Anh Nhan12/27/00 22:37
RE: Does PHP support WDDX Recordsets ??Cory Factor10/26/00 19:57
Does PHP support WDDX Recordsets ??jack-e06/28/00 19:24
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.