<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sabra,<div><br></div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>Thanks, that's great stuff! Even simple examples showing how others use the package are valuable, and yours are far more detailed than I expected.</div><div><br></div><div>Thanks again,</div><div><br></div><div>Patrick</div><div><br></div><div><div>On Nov 19, 2012, at 2:04 AM, Sabra Crolleton <<a href="mailto:sabra.crolleton@gmail.com">sabra.crolleton@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">It is probably too basic for you, but you might find something useful at<br> <a href="https://sites.google.com/site/sabraonthehill/postmodern-examples">https://sites.google.com/site/sabraonthehill/postmodern-examples</a> <br>
<br>It is mostly just notes that I put together for someone on my staff.<br><br>Cheers,<br><br>Sabra<br> <br><br><div class="gmail_quote">On Mon, Nov 5, 2012 at 6:48 PM, Patrick May <span dir="ltr"><<a href="mailto:patrick.may@mac.com" target="_blank">patrick.may@mac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Are there any collections of tutorials, examples, and/or best practices for Postmodern? For instance, I have a macro to wrap database operations:<br>
<br>
(defmacro with-test-database (&rest body)<br>
`(with-connection (list +test-database-name+<br>
+test-database-user+<br>
+test-database-password+<br>
"localhost"<br>
:pooled-p t)<br>
,@body))<br>
<br>
Obviously it needs some transaction support as well. Do other people use it this way? What are your most useful tips and tricks?<br>
<br>
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.<br>
<br>
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.<br>
<br>
Thanks,<br>
<br>
Patrick<br>
<br>
<br>
_______________________________________________<br>
postmodern-devel mailing list<br>
<a href="mailto:postmodern-devel@common-lisp.net">postmodern-devel@common-lisp.net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel</a><br>
</blockquote></div><br>
_______________________________________________<br>postmodern-devel mailing list<br><a href="mailto:postmodern-devel@common-lisp.net">postmodern-devel@common-lisp.net</a><br>http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel<br></blockquote></div><br></body></html>