[postmodern-devel] Tutorials, examples, and best practices

Patrick May patrick.may at mac.com
Tue Nov 20 17:18:10 UTC 2012


Sabra,

	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.

Thanks again,

Patrick

On Nov 19, 2012, at 2:04 AM, Sabra Crolleton <sabra.crolleton at gmail.com> wrote:

> It is probably too basic for you, but you might find something useful at
>  https://sites.google.com/site/sabraonthehill/postmodern-examples 
> 
> It is mostly just notes that I put together for someone on my staff.
> 
> Cheers,
> 
> Sabra
>  
> 
> On Mon, Nov 5, 2012 at 6:48 PM, Patrick May <patrick.may at mac.com> wrote:
>         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)
>     , at 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
> 
> 
> _______________________________________________
> postmodern-devel mailing list
> postmodern-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
> 
> _______________________________________________
> postmodern-devel mailing list
> postmodern-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/postmodern-devel/attachments/20121120/6a8a4e59/attachment.html>


More information about the postmodern-devel mailing list