[webmap-discuss] Using JSON instead of XML for OGC documents
Paul Spencer
pspencer at dmsolutions.ca
Thu Nov 16 22:45:19 EST 2006
Another factor is the inability of javascript-only clients (such as
OpenLayers and MapBuilder) to directly request XML documents from
remote servers due to security constraints, making it impossible to
work with some of the more interesting OGC stuff without using some
kind of workaround (such as proxy scripts etc).
Paul
On 16-Nov-06, at 5:34 PM, Cameron Shorter wrote:
> Context working group,
>
> Regarding: http://json.org
>
> There has been discussion amongst http://openlayers.org developers
> about using JSON instead of XML for storing OGC documents (like OGC
> Context, WMC, and probably a host of other documents too).
>
> The reason for considering JSON over XML are:
> * In Web Browsers, XML support is patchy.
> * Consequently extra code is required to be downloaded to cover all
> browsers.
> * In browser clients, code size is a major consideration as
> size=bandwidth=speed.
> * JSON is reportedly faster to process.
>
> JSON reportedly has all the other advantages of XML like being
> structured, easy to read, is supported by multiple languages etc.
>
> One thing discussed is standing up XML<->JSON services.
>
> I'd be interested to hear comments from OGC participants on these
> ideas.
>
> Feel free to foward onto others more appropriate.
>
> --
> Cameron Shorter
> http://cameron.shorter.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webmap-discuss-unsubscribe at mail.osgeo.org
> For additional commands, e-mail: webmap-discuss-help at mail.osgeo.org
>
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
More information about the Mail_webmap-discuss
mailing list