I have been using Ruby / Rails for many years, and unlike all other languages โโ/ frameworks that I have used (for almost 15 years of working with Java, PHP, ColdFusion, ASP, etc.), it gets out of the way when you need to do this.
It looks like you could use a โlighterโ interface like Sinatra, but with the upcoming release of Rails 3, the benefits are becoming less pronounced. Rails 3 makes everything customizable ... in fact, Rails will now be just a specific set of plugins and extensions sitting on an infinitely flexible core.
I am interested in the following statement:
"The service will rely on the database, but for a few more important operations there is no clear way to save the" model "object directly in the database table."
Not sure what you mean by this statement ... at some point, something happens in your database, right?
In most non-trivial applications, you rarely have one model attached to the end of the request ... you can have a rather complex network of models that are returned or updated.
If you are working with JSON, I would definitely suggest looking at a database like MongoDB. MongoDB is entirely based on JSON data storage and therefore can be very neatly compatible with your application.
Toby hede
source share