On 5 September 2010 20:53, HB <hubaghd...@gmail.com> wrote:
> It is public idea in Ruby community that Sinatra is best used for
> rapid prototyping and creating API for web application.

This opinion tends to come from developers used to larger web
frameworks like Ruby on Rails. I don't agree with this. RoR makes
certain assumptions about what you want to build, and doesn't work
well if you're doing something different.

There is also a trend away from large frameworks that do everything,
to modular frameworks that allow you to pick and choose. Look at Rails
3; they've factored out a lot of ActiveRecord into the more generic
ActiveModel interface, and a lot of their server code has been removed
and instead replaced with greater Rack integration.

Web development in Clojure is tending toward this ideal. One has a
basic framework that abstracts the underlying HTTP server (Ruby has
Rack, Clojure has Ring), and then different libraries are used to
augment that. The end result is the same, but you have more choice in
how you put your application.

That said, choice isn't always good, and I expect at some point people
will create a thin layer that pulls together several libraries and a
directory structure. For example, Leiningen, Compojure, Ring, Hiccup
and Carte have equivalent functionality to most of Ruby on Rails.

- James

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to