On Nov 16, Scott Evans wrote:
> On Wed, 16 Nov 2005, Bryan Barkley wrote:
[snip]
> > I was wondering if someone on the team could comment on the thinking behind
> > the choices that were made for the data transfer method. Looking at the data
> > going back and forth between Flash and the server it looks like you chose
> > the basic HTTP GET/POST method with XML responses. I'm curious why that
> > method was chosen over JavaRPC/SOAP/XML-RPC.
> 
> For a few reasons.  
>   1. SOAP sucks
>   2. JavaRPC sucks
>   3. XML-RPC sucks

There's a subtle and related issue with all of the RPC formats (especially
SOAP.) In general, when class implementors design the public methods of
their class, they're not truly thinking of it as a remote object, and
often multiple method calls to the class are required to complete a single
transaction. Using REST forces the application implementors to put a layer
between the frontend and the backend, and that layer can be optimized to
accommodate the needs of the frontend. In practice, certain UI related
operations need to be done on the server (like sorting and filtering a
large dataset.)

A
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to