gert.cuykens at gmail.com
Tue Jun 12 21:55:05 EDT 2007
On 6/13/07, David Bear <David.Bear at asu.edu> wrote: > I don't want to start a flame ware here, but I'm starting to develop > and application that will connect to a postgresql server. > > I realize there are probably a dozen things I should know about > modpython before I begin. > > I will be use the standard python handler. I won't be using publisher > or psp (at least I think). > > I am afraid of issues like having modpython make a db connection > object that is not shared properly --. The more terrifying question is > what should be be asking. > > I wonder if someone has develop a top ten rules of thumb when using > modpython with sql data base connections? > > I have mysql sample code in my dfo.sourceforge.net project i also have postgresql code but you have to enable it manually by modifying the code. I forgot why i went back to mysql but i had a good reason for it, one was performance the other had to do with conviniance and error handling.