Re: [Zope] filesystem ZMySQL database connection

2007-03-16 Thread Andreas Jung



--On 16. März 2007 14:57:28 +0100 javi lopez <[EMAIL PROTECTED]> wrote:


hot to do a filesystem Z MySQL database connection?


Use CMF and portal_skins for filesystem-based templates and SQL methods.

-aj

pgpaVttag7As6.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] filesystem ZMySQL database connection

2007-03-16 Thread Peter Bengtsson
Filesystem? Perhaps you mean Python product with files called .sql or 
something?


I have a solution that works for me where I create a Z Psycopg DA inside 
Zope that I note the object ID of.
Then I create a class in my Python product code that uses this zope 
object to pass all SQL through. The code is quite hairy but not 
impossible. The end result is that I get to code all SQL on the 
filesystem but still use the features of Z SQL Methods.

Let me know if you're interested.


javi lopez wrote:

hot to do a filesystem Z MySQL database connection?
Thanks everyone
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )



--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] filesystem ZMySQL database connection

2007-03-16 Thread javi lopez

hot to do a filesystem Z MySQL database connection?
Thanks everyone
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )