Closed rapenne-s closed 11 years ago
I'm sorry but Caveman is a very lightweight framework, so it is almost don't manage database configurations and connections. You should handle them to suit for your each applications.
One of the way is to use Clack.Middleware.DBI.
I don't understand how to use the db handler defined in the config. At the moment, I created a package "db.lisp" loaded by the controller using a sqlite db, but it leads to some problems when the server is under concurrency (2 or 3 clients sometimes it lead to an error into hunchentoot).