[Zope] OQL for ZODB - (SQL like for objects Databases)
Hi, Is there a tool like SQL for ZODB ? Where to find more to do some query on ZODB objects ? Many Thanks. Emmanuel. -- Emmanuel DISCORS Tel Fax : 02 54 56 80 61 Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OQL for ZODB - (SQL like for objects Databases)
Thanks to all, Having Class wine Drinker in relation. Drinker can drink (0-N) wines. Want to do a query like : MyListOfWine = wine where driker like 'Emmanuel' (Pseudo code) Is there a way to do that in ZODB ? E.D. == Le dim, 30 jui 2000, vous avez écrit : Its probably possible but its probably more work than you're interested in. They speak different languages a relational system is built on relations in square/rectangular tables. an object system esp. the ZODB can store objects which can be of arbitrary nature, not to mention acquistion and inheritance. a couple of pointers (maybe misleading) what you need is an object relational mapping that understands the ZODB and SQL. it depends on what you want to do with it and what kind of queries looking at your original email, this sounds most like you just want... ie to be able to retrieve objects based on properties in which case ZCatalog is the way to go. A Catalog is an object indexing system built on top of the ZODB for maintaining knowledge of objects and they're properties for fast searching/retrieval. if you really want an sql syntax to the ZODB read on but be warned getting at acquired props will require some serious work/design. you could create an inherited catalog that can layer a simple sql syntax over its searches and design it to return objects instead of references. you could also write a custom ORB that could map into the ZODB according to SQL syntax. although i haven't looked at the source. chris m's Interbase storage might be worth a look (it probably stores everything as a BLOB which might not be helpful). Other systems that might be helpful are OZONE an open source java OODBMS and Lore an XML storage with searches. Kapil E. Discors wrote Hi, Is there a tool like SQL for ZODB ? Where to find more to do some query on ZODB objects ? Many Thanks. Emmanuel. -- Emmanuel DISCORS Tel Fax : 02 54 56 80 61 Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Thanks : bobo : where to find it ?
Thanks to you Paul Jim Have found some 'Bobo' packages in tar.gz Zope archive. (V:2.2.2) - DocumentTemplate - ZPublisher BUT NO BoboPos directory in the lib/python ; only ZODB. Is there a mistake in the README.txt or forget in the lib/python directory ? Need a DB system to try the Trinkets.py (Having ZODB from Zope 2.2.2 and BoboPOS3-alpha1 BoboPOS-2.0.2 from old backup...) What is the best way ? Old BoboPos or start now with ZODB ? Thanks Emmanuel -- Emmanuel DISCORS Tel Fax : 02 54 56 80 61 Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ Jim : We o longer distribute Bobo, although I'm sure you can find it on some archive somewhere. Of course, the pieces that made up Bobo are still available, in updated form, as part of the Zope distribution. The medusa bobo is available in the medusa CVS in the contrib directory. If there is still a medusa distribution, I imagine it contains this directory too. Jim Paul : = Hello Emmanuel. Bobo has been folded into Zope: http://www.zope.org/ --Paul ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope-dev] Can't start Zope (Python 2.0 , BSDI 4.0 , Zope 2.3.0b3) = ImportError: cannot import name DateTime
Hi all, Having this Traceback with Zope 2.3.0 2.3.0b3 Can I do something to start the server ? Thanks. Emmanuel. = bash-2.02$ ./start Traceback (most recent call last): File "/usr/local/apache/htdocs/commercial/advl/zope/Zope-2.3.0-src/z2.py", line 565, in ? exec "import "+MODULE in {} File "string", line 1, in ? File "/usr/local/apache/htdocs/commercial/advl/zope/Zope-2.3.0-src/lib/python/Zope/__init__.py", line 95, in ? import Globals, OFS.Application, sys File "/usr/local/apache/htdocs/commercial/advl/zope/Zope-2.3.0-src/lib/python/Globals.py", line 90, in ? import Acquisition, ComputedAttribute, App.PersistentExtra, os File "/usr/local/apache/htdocs/commercial/advl/zope/Zope-2.3.0-src/lib/python/App/PersistentExtra.py", line 89, in ? from DateTime import DateTime ImportError: cannot import name DateTime bash-2.02$ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )