From: Trans Date: 2009-01-16T21:17:37+09:00 Subject: Re: Desktop <-> Web On Jan 16, 6:39 am, Martin DeMello wrote: > I'd suggest returning data from the webapp as json, then, and reading > it as yaml from the ruby end. I did that in a recent project at work > and it was pretty painless. The benefit is if you want to build a rich > browser-based frontend later, client side javascript can use the same > json objects. I thought about this as well, but how did you go about transporting the json? At the moment I've taken Aria's suggestion of using XML-RPC, that's working fine via the XMLRPC::WEBrickServlet. But ultimately I want to use Rack instead. An example of a simple Rack-based JSON servlet would be awesome. Anyone have one? T.