WDDX: Difference between revisions
added ref |
comparable to XML-RPC and WIDL |
||
Line 1: | Line 1: | ||
{{More footnotes|date=September 2009}} |
{{More footnotes|date=September 2009}} |
||
'''WDDX''' (Web Distributed Data eXchange) is a [[programming language]]-, platform- and [[transport protocol|transport]]-neutral data interchange mechanism to pass data between different environments and different computers. It supports simple data types such as number, [[string (computing)|string]], [[boolean data type|boolean]], etc., and complex aggregates of these in forms such as [[record (computer science)|structures]], [[array data type|arrays]] and recordsets (row/column data, typically coming from database queries). There are WDDX interfaces for a wide variety of languages, including [[ColdFusion]], [[Ruby (programming language)|Ruby]], [[Python (programming language)|Python]], [[PHP]], [[Java (programming language)|Java]], [[C++]], [[Microsoft .NET|.NET]], [[Actionscript]], [[Lisp programming language|lisp]], [[Haskell (programming language)|Haskell]], [[Perl]]. |
'''WDDX''' (Web Distributed Data eXchange) is a [[programming language]]-, platform- and [[transport protocol|transport]]-neutral data interchange mechanism designed to pass data between different environments and different computers. It supports simple data types such as number, [[string (computing)|string]], [[boolean data type|boolean]], etc., and complex aggregates of these in forms such as [[record (computer science)|structures]], [[array data type|arrays]] and recordsets (row/column data, typically coming from database queries). There are WDDX interfaces for a wide variety of languages, including [[ColdFusion]], [[Ruby (programming language)|Ruby]], [[Python (programming language)|Python]], [[PHP]], [[Java (programming language)|Java]], [[C++]], [[Microsoft .NET|.NET]], [[Actionscript]], [[Lisp programming language|lisp]], [[Haskell (programming language)|Haskell]], [[Perl]]. |
||
The data is encoded into [[XML]] using an XML 1.0 [[Document Type Definition|DTD]], producing a platform-independent but relatively bulky representation. The XML-encoded data can then be sent to another computer using [[HTTP]], [[File Transfer Protocol|FTP]], or other transmission mechanism. The receiving computer must have WDDX-aware software to translate the encoded data into the receiver's native data representation. WDDX can also be used to [[serialization|serialize data structures]] to storage (file system or database). Many applications use WDDX to pass complex data to browsers where it can be manipulated with [[JavaScript]], as an alternative to [[JSON]]. |
The data is encoded into [[XML]] using an XML 1.0 [[Document Type Definition|DTD]], producing a platform-independent but relatively bulky representation. The XML-encoded data can then be sent to another computer using [[HTTP]], [[File Transfer Protocol|FTP]], or other transmission mechanism. The receiving computer must have WDDX-aware software to translate the encoded data into the receiver's native data representation. WDDX can also be used to [[serialization|serialize data structures]] to storage (file system or database). Many applications use WDDX to pass complex data to browsers where it can be manipulated with [[JavaScript]], as an alternative to [[JSON]]. |
||
WDDX was created by Simeon Simeonov |
WDDX was created by Simeon Simeonov of [[Allaire Corporation]] in 1998,<ref name="sim">{{cite web | last = Simeonov |
||
⚫ | |||
| last = Simeonov |
|||
⚫ | | accessdate = 2007-02-05 }}</ref> initially for the [[ColdFusion]] server environment. The specification is functionally comparable to [[XML-RPC]] and [[WIDL (Internet Standard)|WIDL]].<ref>{{Cite news| last = Udell| first = Jon| title = Exploring XML-RPC: DCOM? CORBA? RMI? Why Not Just XML-RPC?| work = Byte| accessdate = 2015-11-17| date = 1999-06-07| url = https://web.archive.org/web/20000304171225/http://www.byte.com/features/1999/06/0607XML_RPC5.html}}</ref> |
||
| first = Simeon |
|||
| title = WDDX: Distributed Data for the Web |
|||
WDDX was open-sourced later that year.<ref name=itoi>{{Cite news| last = Itoi| first = Nikki Goth| title = Syndicating the Web: Businesses are hoping that the ICE protocol will reduce the Web’s content-sharing hassles| work = Red Herring| date = February 1999|url=https://web.archive.org/web/19991013102610/http://redherring.com/mag/issue63/news-syndication.html}}</ref> |
|||
⚫ | |||
⚫ | | accessdate = 2007-02-05 }}</ref> initially for the [[ColdFusion]] server environment. |
||
WDDX and [[XML-RPC]], both created in 1998, were the precursors to [[SOAP (protocol)|SOAP]] and [[Web services]]. SOAP borrows the envelope/header/body structure and the transport + interaction neutrality from WDDX and the HTTP and [[Remote procedure call|RPC]] bindings from XML-RPC.{{Citation needed|date=February 2007}} |
WDDX and [[XML-RPC]], both created in 1998, were the precursors to [[SOAP (protocol)|SOAP]] and [[Web services]]. SOAP borrows the envelope/header/body structure and the transport + interaction neutrality from WDDX and the HTTP and [[Remote procedure call|RPC]] bindings from XML-RPC.{{Citation needed|date=February 2007}} |
Revision as of 23:08, 15 February 2016
This article includes a list of general references, but it lacks sufficient corresponding inline citations. (September 2009) |
WDDX (Web Distributed Data eXchange) is a programming language-, platform- and transport-neutral data interchange mechanism designed to pass data between different environments and different computers. It supports simple data types such as number, string, boolean, etc., and complex aggregates of these in forms such as structures, arrays and recordsets (row/column data, typically coming from database queries). There are WDDX interfaces for a wide variety of languages, including ColdFusion, Ruby, Python, PHP, Java, C++, .NET, Actionscript, lisp, Haskell, Perl.
The data is encoded into XML using an XML 1.0 DTD, producing a platform-independent but relatively bulky representation. The XML-encoded data can then be sent to another computer using HTTP, FTP, or other transmission mechanism. The receiving computer must have WDDX-aware software to translate the encoded data into the receiver's native data representation. WDDX can also be used to serialize data structures to storage (file system or database). Many applications use WDDX to pass complex data to browsers where it can be manipulated with JavaScript, as an alternative to JSON.
WDDX was created by Simeon Simeonov of Allaire Corporation in 1998,[1] initially for the ColdFusion server environment. The specification is functionally comparable to XML-RPC and WIDL.[2]
WDDX was open-sourced later that year.[3]
WDDX and XML-RPC, both created in 1998, were the precursors to SOAP and Web services. SOAP borrows the envelope/header/body structure and the transport + interaction neutrality from WDDX and the HTTP and RPC bindings from XML-RPC.[citation needed]
Example: (from php.net/wddx)
<wddxPacket version='1.0'>
<header comment='PHP'/>
<data>
<struct>
<var name='pi'>
<number>3.1415926</number>
</var>
<var name='cities'>
<array length='3'>
<string>Austin</string>
<string>Novato</string>
<string>Seattle</string>
</array>
</var>
</struct>
</data>
</wddxPacket>
Notes
- ^ Simeonov, Simeon. "WDDX: Distributed Data for the Web". Retrieved 2007-02-05.
- ^ Udell, Jon (1999-06-07). "Exploring XML-RPC: DCOM? CORBA? RMI? Why Not Just XML-RPC?". Byte. Retrieved 2015-11-17.
- ^ Itoi, Nikki Goth (February 1999). "Syndicating the Web: Businesses are hoping that the ICE protocol will reduce the Web's content-sharing hassles". Red Herring.