We are a group of developers that are about to start a project and so
we are searching for the best tools and languages for the job. The
project is essentially a "server" web application that holds data in
XML, and answer to queries on that data through a REST interface, and
a "client" web application that queries the server's data and displays
But we have some restrictions that _we can't do anything about_ (so
please don't discuss these choices):
1. We already have the URLs and XSDs for the REST interface, but the
first are quite different from a correct REST implementation (no GET /
person, but GET /getperson, and so on).
2. The philosophy behind this project is "Use the XML technologies as
much as possible", so a major requirement is to not use a db _at all_
(no berkeley db xml, please).
So the questions are:
1. is ActiveResource flexible enough to allow us to customize URLs and
XMLs for the REST interface, in the "server" and in the "client"?
2. is possible to do a Rails application without db? Are there any ORM
things that will do the same job for XML data instead? If not, is
possible to do that for mere mortals (with xpath/dom/sax as the
3. is possible for RoR to validate the XML of every single REST query
(input and output) using XSD?
4. is possible to render views using xslt? or better render in xml,
leaving the xslt work to the browser?
And the 10-million dollars question: is Rails the Right Choice for
that project? Is better suitable to write both the "server" and the
"client" in Rails, or do just one (the "client" I think) in Rails and
the "server" in another language/framework?
If it's not the RIght Choice for anything ("server" and "client"),
there are any alternatives that will fit better for the job?
Sorry for the long post.