From: Martin DeMello Date: 2009-01-16T20:39:42+09:00 Subject: Re: Desktop <-> Web On Fri, Jan 16, 2009 at 3:48 PM, Trans wrote: > > > On Jan 16, 12:20 am, Martin DeMello wrote: >> On Thu, Jan 15, 2009 at 10:39 PM, Trans wrote: >> > I want to interface a desktop application to a backend web >> > application. What's the easiest way to go about this --what's the best >> > way to communicate between the two? >> >> Are you writing the webapp too? > > yes. 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. martin