<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR><BR><BR><BR>
<HR id=stopSpelling>
> Date: Wed, 14 May 2008 08:18:42 +0200<BR>> From: DrScofield@xyzzyxyzzy.net<BR>> To: opensim-dev@lists.berlios.de<BR>> Subject: Re: [Opensim-dev] what to use for serializing structures? LLSD? XmlSerializer? JSON?<BR>> <BR>> Stefan Andersson wrote:<BR>> > * LLSD is just awful - a hodgepodge compromise between doing the old <BR>> > thing and doing the right thing. Let's _please_ stay well clear of that.<BR>> > * JSON is really really cool for browser-oriented apps, but is there a <BR>> > schema for it?<BR>> there is at least a grammar for it: www.json.org, right on the front page.<BR>> > * XML is XML. Industry standard, well proven, and actually has stuff <BR>> > like XML Schema, which is what you'd use to add type information to <BR>> > data; schema or not, the serializer infers type from the serialized class.<BR>> true.<BR>> ><BR>> > We at Tribal are using a Serialized Command Object approach, where we <BR>> > POST XmlSerialized "Command Objects", which can reference any other <BR>> > serializable type. Kind of an Ultralight Web Service. Easy as pie to <BR>> > produce output, and a pice of cake to parse it. Not any more wordy <BR>> > than what's needed to have human-readable datagrams with extensible <BR>> > semantics.<BR>> > <BR>> > Works like a charm.<BR>> > <BR>> > I believe this approach is part of what MW talked about in his posts <BR>> > on services from a while back.<BR>> ok. will have to look that up then.<BR>> <BR>> considering that we are looking into this from a REST angle for external <BR>> control applications, i'm still leaning towards JSON: easy to do AJAX <BR>> interface, easy to use from python (and other scripting languages).<BR>> <BR>> but let's see what else we'll get regarding opinions. so far i've <BR>> collected 5 votes on <BR>> http://xyzzyxyzzy.net/2008/05/14/serialization-format-for-opensim-rest-services/ <BR>> ;-)<BR>> <BR>> cheers,<BR>> dr scofield<BR>> <BR>> -- <BR>> dr dirk husemann, mathmatics and computer science, ibm zurich research lab<BR>> SL: dr scofield ---- drscofield@xyzzyxyzzy.net ---- http://xyzzyxyzzy.net/<BR>> RL: hud@zurich.ibm.com - +41 44 724 8573 - http://www.zurich.ibm.com/~hud/<BR>> <BR>> _______________________________________________<BR>> Opensim-dev mailing list<BR>> Opensim-dev@lists.berlios.de<BR>> https://lists.berlios.de/mailman/listinfo/opensim-dev<BR></body>
</html>