<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Am 30.12.2010 16:19, schrieb Peter Bengtsson:
<blockquote
 cite="mid:AANLkTim9MxJw3Uh48k0kN8qg1hUrHi_Hg2=C_SmRoZJp@mail.gmail.com"
 type="cite">
  <pre wrap="">I'm interested in marrying my Zope app with Peewee[1]. It's a very
simple ORM based on Django's "ORM patterns". All I need is a
non-persistent connection object in my app.
To avoid reinventing any wheels, I thought I could maybe look at the
SQLAlchemy or ZPsycopgDA packages for inspiration.
Even better way to avoid re-inventing the wheel would be if there
already was a package or some code I could try. Has anybody built
anything like this they're willing to share? (nothing found by
googling)

[1] <a class="moz-txt-link-freetext"
 href="https://github.com/coleifer/peewee">https://github.com/coleifer/peewee</a>

  </pre>
</blockquote>
you can use a zope3 global utility for all methods.<br>
Your connection can be in <em>a volatile</em> attribute.<br>
<a class="moz-txt-link-freetext"
 href="http://www.zodb.org/documentation/articles/ZODB2.html#not-all-objects-are-persistent">http://www.zodb.org/documentation/articles/ZODB2.html#not-all-objects-are-persistent</a><br>
<br>
regards Maik<br>
<pre class="moz-signature" cols="72">-- 
========================================================================

Derstappen    I T  Consulting   Tel:         +49 ( 341 )   600  13  0 31
Zope/E-Mail/Backup/Monitoring   Mobil:       +49 ( 178 )   861  2    833
M a i k   D e r s t a p p e n   Fax:         +49 ( 180 ) 5 021 121 90 56
H e r l o ß s o h n s t r  12   Email:  <a
 class="moz-txt-link-abbreviated"
 href="mailto:maik.derstappen@derstappen-it.de">maik.derstappen@derstappen-it.de</a>
0 4 1 5 5       L e i p z i g   Internet:    <a
 class="moz-txt-link-freetext" href="http://www.derstappen-it.de">http://www.derstappen-it.de</a>

========================================================================
</pre>
</body>
</html>