From: khaines@... Date: 2007-08-02T08:28:50+09:00 Subject: Re: Easy REST server w/o views or controllers? On Thu, 2 Aug 2007, Luke Kanies wrote: > The weird situation with Puppet is that I'm only interested in > computer-computer communication and in most cases have no interest in > multiple forms of a given object, so I don't think I need views, and I'm not > using a db backend, which means I don't need an ORM like ActiveRecord. > Basically, I just need the controllers and routing, I think. > > I've looked around at most of the frameworks I can find, including Nitro, > Merb, Camping, and Rails, and all of them seem to assume that I care deeply > about databases and HTML, while really all I want to do is make it easy to > provide a REST-like interface for my software to use to talk to itself. You could use IOWA. It's pretty well self contained, doesn't really care what kind of content you are rendering, doesn't care what ORM you use, or if you use one, has REST support built into the standard dispatcher, and has a pluggable dispatching mechanism so that you can actually do whatever the heck you want with dispatching. And I've been using it on production code for quite a few years -- five and a half, now. If you use IRC, stop in at #iowa on freenode. The most current released snapshot is at withruby.com/iowa, but I have another that I've promised people will get pushed to Rubyforge soon. Kirk Haines