请输入您要查询的百科知识:

 

词条 WDDX
释义

  1. History

  2. Usage

  3. Notes

  4. External links

{{More footnotes|date=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.

History

WDDX was created by Simeon Simeonov of Allaire Corporation in 1998,[1] initially for the ColdFusion server environment.

WDDX was open-sourced later that year.[2]

Usage

WDDX is functionally comparable to XML-RPC and WIDL.[3] The specification 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.

Example from php.net:[4]

3.1415926AustinNovatoSeattle

Notes

1. ^{{cite web | last = Simeonov | first = Simeon | title = WDDX: Distributed Data for the Web | url= https://www.infoloom.com/media/gcaconfs/WEB/chicago98/simeonov.HTM | accessdate = 2007-02-05 }}
2. ^{{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=http://redherring.com/mag/issue63/news-syndication.html |deadurl=yes |archiveurl=https://web.archive.org/web/19991013102610/http://redherring.com/mag/issue63/news-syndication.html |archivedate=October 13, 1999 }}
3. ^{{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=http://www.byte.com/features/1999/06/0607XML_RPC5.html |deadurl=yes |archiveurl=https://web.archive.org/web/20000304171225/http://www.byte.com/features/1999/06/0607XML_RPC5.html |archivedate=March 4, 2000 }}
4. ^http://www.php.net/wddx

External links

  • [https://web.archive.org/web/20060719125042/http://www.infoloom.com/gcaconfs/WEB/chicago98/simeonov.HTM GCA98 WDDX Presentation]
  • Cover Pages on WDDX
  • [https://web.archive.org/web/20060717205519/http://www.xml.com/pub/r/1266 Using WDDX with Flash]
  • Using WDDX with Flex and AS3
  • Using WDDX with Ruby on Rails
  • [https://pypi.python.org/pypi/wddx Using WDDX with Python]
  • [https://github.com/Bilal-S/WDDX.net .NET plattform WDDX project]
{{Compu-lang-stub}}

3 : XML-based standards|Markup languages|Data serialization formats

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/23 23:25:09