[Laszlo-dev] JSON RPC
David Temkin
temkin at laszlosystems.com
Fri Jan 5 20:09:36 PST 2007
I suspect there are going to be performance problems with JSON in
Flash -- esp if it's parsed by script, rather than eval'ed.
Performance of data loading in Flash is critically important, obviously.
I'd suggest taking a look into AMF as a possible Flash-specific
transport that is more general and better supported than our
dataswfs. It is binary, yes, but that has its advantages. We could
use this when delivering RPC data to Flash, and JSON when delivering
such data to DHTML.
We'd want to hide this mechanism from the developer, completely.
Java implementation - http://sourceforge.net/projects/openamf/
PHP implementation - http://sourceforge.net/projects/amfphp/
On Jan 5, 2007, at 7:54 PM, Henry Minsky wrote:
> I came across http://json-rpc.org/
> and a Java server-side / javascript-client implementation which has
> the apache license,
>
> http://oss.metaparadigm.com/jsonrpc/index.html
>
> This, combined with Oliver's JSON library for Flash, might make a
> very usable RPC package,
> and we might be able replace the existing Openlaszlo Java RPC stuff
> with it.
>
> The JSON RPC stuff is nice because it represents a final discarding
> of XML from the RPC
> implementation. For everyone who ever said "shouldn't you be using
> XML instead of s-expressions for
> serializing data structures?", and who watched the train wreck that
> is SOAP, it gives the answer "yes".
>
>
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
More information about the Laszlo-dev
mailing list