Re: Typical usage of Compojure

2010-09-07 Thread James Reeves
On 5 September 2010 20:53, HB 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 certai

Re: Typical usage of Compojure

2010-09-05 Thread Wilson MacGyver
For me, I'm using compojure/ring mostly for building web services. I use html whenever I need some simple html templates. But since it's a web service, I use XML and JSON far more often. So in the end, compojure/ring just serves as a way to invoke the functions to get output. There isn't AJAX roun

Re: Typical usage of Compojure

2010-09-05 Thread HB
It is public idea in Ruby community that Sinatra is best used for rapid prototyping and creating API for web application. Maybe because it isn't MVC framework, I don't know. Any way I though since Compojure is similar to Sinatra it will be used for the same purposes. On Sep 5, 5:21 pm, James Reeve

Re: Typical usage of Compojure

2010-09-05 Thread James Reeves
On 4 September 2010 16:44, HB wrote: > If Compojure is micro web framework like Sinatra, does this means it > is not suitable for large web applications? The "micro" refers to how much the framework does for you, rather than the size of the application. The advantage of a framework like Ruby on

Re: Typical usage of Compojure

2010-09-04 Thread Aaron Bedra
On 9/4/10 11:44 AM, HB wrote: Hey, If Compojure is micro web framework like Sinatra, does this means it is not suitable for large web applications? (since Sinatra isn't suitable for large applications, it is mainly used for very small applications and particularly to create some kind of an API).

Re: Typical usage of Compojure

2010-09-04 Thread Brenton
HB, Welcome to Clojure. I come from the same background as you and can tell by the questions that you are asking that you are going through all of the same phases that I went through. As someone once said "It is better to be at the bottom of a ladder that you want to climb than at the top of one y

Typical usage of Compojure

2010-09-04 Thread HB
Hey, If Compojure is micro web framework like Sinatra, does this means it is not suitable for large web applications? (since Sinatra isn't suitable for large applications, it is mainly used for very small applications and particularly to create some kind of an API). Thanks for help and time. -- Y