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 you don't". You are currently at the bottom of a great ladder.
There is nothing about Compojure that makes it more suited for small or large applications. You can do both equally well (or poorly). The word "micro" is used because it is small. The key to writing large applications is modularity. Compojure excels at this. The benefits that you get from using Clojure with Compojure for web applications will increase as the project gets larger. Being able to compose routes and use macros to eliminate common patterns in your code are the two biggest wins. You will also find that much more of your code will be easily reusable, either in the same project or other projects. You may even spin off an open source library or two. Which brings me to my final point. Clojure web development is still in its early days but I believe that it will eventually be a far better way to build web applications than anything else we are doing today. The reason lies in Clojure's capacity for allowing developers to write reusable code. When you are using only functions, maps and vectors and have a well defined way of managing state, you will find that much of the code you write is reusable. I am often shocked when looking at a large section of code that I have written and realizing that there is nothing about this code that is particular to my project. This means that it will be much easier for us as a community to share code. Over time, common problems will be solved and we will all write less code and be able to focus on solving the problems unique to our business. We will be able to do this using only libraries, without resorting to frameworks, patterns or code generation. Brenton On Sep 4, 8:44 am, HB <hubaghd...@gmail.com> 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). > Thanks for help and time. -- 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