Hello everyone, Yes, it is me... again. I was on the role today and implemented a couple more features: 1. I added support for ALTER. You can now add, rename and delete properties from ZClass objects and any sort of other object instance, that supports the standard Property Manager or Property Sheet interface. 2. I added a XML-RPC-friendly execution method to the ZOQL Method class, which allows us to use the ZOQL Method as a server component, since you can send new commands directly to the interpreter. 3. Based on the XML-RPC support, I wrote a complete Command Line Client. You can use the client to execute queries from a file or use the interactive command line, similar to the PostGreSQL and Python interactive interpreter. There is also a nice help coming with the product. It can be run totally independent of the rest of the ZOQL Method, since it does not depend on any of the other modules. I also created a ** Mailing List ** and prepared a ** Poll **, where people can tell me what they think about the product! Please send me everything, good or bad! The URL is: http://demo.iuveno-net.de/iuveno/Products/ZOQLMethod Archive also available at: http://www.zope.org/Members/srichter/Products/ZOQLMethod Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
Stephan, I haven't actually tried this yet, but if this works as advertised, well, *you are a god*. Phil Phil.harris@zope.co.uk ----- Original Message ----- From: "Stephan Richter" <srichter@cbu.edu> To: "Zope Announcements" <zope-announce@zope.org> Cc: <Zope@zope.org>; "ZOQL Mailing List" <zoql@iuveno-net.de> Sent: Tuesday, October 09, 2001 5:19 AM Subject: [Zope] ZOQL Method 0.3.0 released
Hello everyone,
Yes, it is me... again. I was on the role today and implemented a couple more features:
1. I added support for ALTER. You can now add, rename and delete properties from ZClass objects and any sort of other object instance, that supports the standard Property Manager or Property Sheet interface.
2. I added a XML-RPC-friendly execution method to the ZOQL Method class, which allows us to use the ZOQL Method as a server component, since you can send new commands directly to the interpreter.
3. Based on the XML-RPC support, I wrote a complete Command Line Client. You can use the client to execute queries from a file or use the interactive command line, similar to the PostGreSQL and Python interactive interpreter. There is also a nice help coming with the product. It can be run totally independent of the rest of the ZOQL Method, since it does not depend on any of the other modules.
I also created a ** Mailing List ** and prepared a ** Poll **, where people can tell me what they think about the product! Please send me everything, good or bad!
The URL is: http://demo.iuveno-net.de/iuveno/Products/ZOQLMethod Archive also available at: http://www.zope.org/Members/srichter/Products/ZOQLMethod
Regards, Stephan
-- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
_______________________________________________ Zope maillist - Zope@zope.org 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 )
I haven't actually tried this yet, but if this works as advertised, well, *you are a god*.
I am not a god, just someone who got annoyed not having a query language for Zope (espsecially after reading that that was alreadt pointed out as a missing ZODB feature over 2 years ago when I started!). ;-) Well, not everything is working totally yet, for example the IN and IS operator, but the "Rather Lengthy Example" given in the help will execute just fine. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
Great product, it's what we have been waiting here for! But......(there's always a but!) I have just downloaded this module and put it into the products directory - however I get an error when restarting my server - Traceback (most recent call last): File "/home/www/Zope-2.4.0-linux2-x86/lib/python/OFS/Application.py", line 552, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/home/www/Zope-2.4.0-linux2-x86/lib/python/Products/ZOQLMethod/__init__.py" , line 12, in ? from Parser import Operators, oqlgen, oqlsem, oqlgram ImportError: No module named Parser Looking at the folder called Parser there is no module called Parser, but there is one called kjParser.py? What am I doing wrong?! Laurie -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Stephan Richter Sent: Tuesday, October 09, 2001 6:30 AM To: Phil Harris Cc: Zope@zope.org; ZOQL Mailing List Subject: Re: [Zope] ZOQL Method 0.3.0 released
I haven't actually tried this yet, but if this works as advertised, well, *you are a god*.
I am not a god, just someone who got annoyed not having a query language for Zope (espsecially after reading that that was alreadt pointed out as a missing ZODB feature over 2 years ago when I started!). ;-) Well, not everything is working totally yet, for example the IN and IS operator, but the "Rather Lengthy Example" given in the help will execute just fine. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management _______________________________________________ Zope maillist - Zope@zope.org 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 )
ImportError: No module named Parser Looking at the folder called Parser there is no module called Parser, but there is one called kjParser.py? What am I doing wrong?!
Yes, there is a module called Parser. A folder/directory in Python can act as Module. The files in it become sub-modules. The line is called in ZOQLMethod/__init__.py and is not necessary. Just delete it, since it is for debugging purposes only. The other solution would be to rewrite the line to do this: from Products.ZOQLMethod.Parser import Operators, oqlgen, oqlsem, oqlgram Mmh, maybe I should do that in anyway to save myself some troubles. But the error is still really weird. Do you have anything special installed? Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
participants (3)
-
Laurie Nason -
Phil Harris -
Stephan Richter