Ok that's good idea really. 
As i can see you just use ring compojure korma for mysql and postgresql for 
pg database.
As for me i use for my first project this config

(defproject testpro "0.1.0-SNAPSHOT"
  :plugins [[lein-catnip "0.4.1"]]
  :description "FIXME: write description"
  :url "http://example.com/FIXME";
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.4.0"]
                 [noir "1.3.0-beta10"]
                 [lein-catnip "0.4.1"]
                 [com.novemberain/monger "1.2.0"]   ]
  :main ^{:skip-aot true} testpro.server)

This config use Noir, monger for MongoDb, catnip as development ide ( 
though i switch time to time to sublime 2). 
So connection with db very easy as monger <http://clojuremongodb.info/> has 
very good documentation. 

(mg/connect!) ; Connect to db
(mg/set-db! (mg/get-db "myweb")) ; Choose db
 require monger.core for this stuff to work
Also my app has 

views
models
helpers 

folders and main page with just actions and pages for the app. Noir 
bootstrap gives you some structure from the start which includes models and 
views also.

So main thing missed at Noir is useful modules like gems for Rails. In 
Rails you can add  "devise" or "nifty-generators" which gives you 
Authentication, Authorization from scratch and templates and basic 
authentication from nifty and other good stuff. 
For Noir project there should be lein plugins i guess, but will be those 
plugins built in or use noir as platform that is the question.  

On Tuesday, October 2, 2012 9:09:23 AM UTC+4, Leonardo Borges wrote:
>
> On Sun, Sep 30, 2012 at 12:27 PM, James MacAulay 
> <jmac...@gmail.com<javascript:>
> > wrote:
>
>> Frameworks have benefits which can't easily be achieved with 
>> documentation. The most obvious to me is that a framework lets you fire up 
>> a complete system of carefully curated components in no time. They also let 
>> you defer choices until you actually need to care about them.
>>
>> Because Clojure's libraries are so composable, it seems like a good 
>> approach to fill this gap would be "just" a lein project template with an 
>> opinionated set of dependencies, a sane and predictable folder hierarchy, 
>> and a good Getting Started Guide. A quick clojars search reveals many that 
>> might fit that description, but none have very high visibility.
>>
>>
> That's a good point. I put together a repo that I've been using as my main 
> template for web apps for a while. You can find it on github: 
> https://github.com/leonardoborges/clj-boilerplate
>
> It tries to bridge that gap. The idea is to clone it, follow the readme 
> and you should have a new webapp running in a short amount of time.
>
> I would like to turn it into a lein template but haven't had the time to 
> do so. Still, it could be useful to some.
>
> Cheers,
> Leonardo Borges
>

-- 
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