Question about creating Zope products with database connections.
Hi List, I need to create a zope product that makes use of connections to a MySQL db. I am a rank novice when it comes to the creation of Zope products, so I have no idea what the preferred method is to connect to a database. Are there tutorials about this subject? Or any general advice? Thanks, Alec Munro -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
The recommended way is to use ZSQL + a configure DA. ZSQL methods can be tied to your product as class attributes (similar to DTMLFile()) or put them into the filesystem (portal-skins) when using CMF or a SkinnedFolder. -aj --On Montag, 26. April 2004 12:18 Uhr -0400 Alec Munro <alecmunro@hfx.eastlink.ca> wrote:
Hi List,
I need to create a zope product that makes use of connections to a MySQL db. I am a rank novice when it comes to the creation of Zope products, so I have no idea what the preferred method is to connect to a database. Are there tutorials about this subject? Or any general advice? Thanks,
Alec Munro
Alec Munro wrote at 2004-4-26 12:18 -0400:
I need to create a zope product that makes use of connections to a MySQL db. I am a rank novice when it comes to the creation of Zope products, so I have no idea what the preferred method is to connect to a database. Are there tutorials about this subject? Or any general advice?
What about reading the respective chapter in the Zope Book (2.6 edition, online on Zope.org). -- Dieter
participants (3)
-
Alec Munro -
Andreas Jung -
Dieter Maurer