Are there any collections of tutorials, examples, and/or best practices for Postmodern? For instance, I have a macro to wrap database operations:
(defmacro with-test-database (&rest body)
`(with-connection (list +test-database-name+
+test-database-user+
+test-database-password+
"localhost"
:pooled-p t)
,@body))
Obviously it needs some transaction support as well. Do other people use it this way? What are your most useful tips and tricks?
Also, it took me some time fiddling around to get :insert-into to work correctly. It makes sense to me now, but a detailed example would have helped.
I'm about to write some production code against a mid-sized, fully normalized database. Any lessons learned in those kinds of environments would be of interest.
Thanks,
Patrick