Andreas Jung wrote:
[snip]
Possibly a sane and clean solution but way of over-designed. I am interested in simple and robust solutions that work and not in a solution that adds more and more unnecessary layers just the sake of having them :-)


It's a 1 liner to set up the connection in this story if you want to hard-code it in Python, and by implementing it as a property, you can get the connection string from any place you want, including environment variables or whatever else your Python code can get to. This cuts the whole debate about where the connection string should come from short, as you can code whatever you want yourself.

This has an example of the utility setup:

http://faassen.n--tree.net/blog/view/weblog/2008/04/08/0

Regards,

Martijn

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to