[Zope-dev] DB(Oracle) Transactions with Zope(/ZPatterns)

2001-05-17 Thread Andreas Repp
Hi *, i'm currently developing a (network information) DB web-interface using ZPatterns specialists with one specialist for every logical object. For instance i have a 'component'-specialist which handles a object-table mapping for the tables: o component - product (n:1 foreign key) -

RE: [Zope] ZPatterns

2000-12-17 Thread Max M
From: Steve Alexander I found your discussion of ZPatterns terms very thought-provoking. Thanks. The first positive comment about it :-) Your reply seems thorough. I will read it through in a day or two. (Has a deadline right now.) Max, I'm extremely impressed! When I first read through your

[Zope] ZPatterns terminology

2000-12-08 Thread Dario Lopez-Kästen
From: "Cees de Groot" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 08, 2000 8:16 AM Chris Withers [EMAIL PROTECTED] said: ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my

Re: [Zope] ZPatterns

2000-12-08 Thread Chris Withers
"Magnus Heino (Rivermen)" wrote: Are there any more docs or any examples available now than a couple of months ago? Maybe I simple products that does things the ZPatterns way, and explains why and how would be just great. The problem, and this I totally agree with PJE, Ty Sarna and the

RE: [Zope] ZPatterns

2000-12-08 Thread Magnus Heino (Rivermen)
I simple products that does things the ZPatterns way, and explains why and how would be just great. The problem, and this I totally agree with PJE, Ty Sarna and the other people who're using ZPatterns and fully understand it, is that they are using it to do their jobs and so really

Re: [Zope] ZPatterns

2000-12-08 Thread Rik Hoekstra
Cees de Groot wrote: Chris Withers [EMAIL PROTECTED] said: ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my impression is that if you can wade through the b/s, it's more than worth the effort...

Re: [Zope] ZPatterns

2000-12-08 Thread Cees de Groot
[EMAIL PROTECTED] said: The basic problem as I experience it is not so much the jargon, because you get used to it. That's what they told me about Perl, too. And because I couldn't get used to that mess, I switched to Python (maybe zPatterns was written for the wrong language? ;-}) -- Cees

Re: [Zope] ZPatterns

2000-12-07 Thread Chris Withers
Brad Clements wrote: On 6 Dec 2000, at 23:54, Bill Welch wrote: works well, but the terminology used in ZPatterns always gives me a headache. Clearly a shortcoming on my part ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people

RE: [Zope] ZPatterns

2000-12-07 Thread Magnus Heino (Rivermen)
...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my impression is that if you can wade through the b/s, it's more than worth the effort... Are there any more docs or any examples available now than a

Re: [Zope] ZPatterns

2000-12-07 Thread Cees de Groot
Chris Withers [EMAIL PROTECTED] said: ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my impression is that if you can wade through the b/s, it's more than worth the effort... Hmm, maybe it's the time for a

[Zope] ZPatterns Stability

2000-09-01 Thread Chris Withers
Tim Cook wrote: If you're brave you could try ZPatterns and then realyl not care at all ;-) Don't you mean; 'If you're insane...' ? No, I really don't! ZPatterns is very cool, but still not documented. It's alpha but seems stable enough for production in a lot of cases. Phil? Steve A?

[Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000

2000-08-20 Thread Gijs Reulen
Hello I have installed ZPaterns 0.4.1snap1 with a Dynpersist.pyd (compiled for Win32) I found on zope.org. And then installed the LoginManager. However, LoginManager appears broken when looking at the installed Products. It shows the traceback below. The problems seems to be in Zpatterns. Has

Re: [Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000

2000-08-20 Thread Chris Withers
Gijs Reulen wrote: Files\Zope_216\lib\python\Products\ZPatterns\Proxy.py", line 2, in ? from AccessControl import getSecurityManager ImportError: cannot import name getSecurityManager It looks like 0.4.1snap1 needs Zope 2.2 for the new Security interface. I see from the path you're using

[Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000

2000-08-20 Thread Gijs Reulen
-Oorspronkelijk bericht- Van: Gijs Reulen [mailto:[EMAIL PROTECTED]] Verzonden: zondag 20 augustus 2000 12:00 Aan: Chris Withers Onderwerp: RE: [Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000 Yes you're correct: I installed everything with 2.2 and it worked

RE: [Zope-dev] RE: [Zope] ZPatterns Question

2000-08-10 Thread RC Compaan
At 01:57 PM 8/8/00 +0200, RC Compaan wrote: I've added a propertysheet called "properties" to my ZClass and i notice there is Persistent Sheetprovider under the default rack already. The Sheetprovider has properties Sheet_Names and Sheet_Namespaces. I guess Sheet_Names should refer to the

Re: [Zope-dev] RE: [Zope] ZPatterns Question

2000-08-08 Thread Phillip J. Eby
At 01:57 PM 8/8/00 +0200, RC Compaan wrote: I've added a propertysheet called "properties" to my ZClass and i notice there is Persistent Sheetprovider under the default rack already. The Sheetprovider has properties Sheet_Names and Sheet_Namespaces. I guess Sheet_Names should refer to the

[Zope] ZPatterns Question

2000-08-07 Thread RC Compaan
I created a ZClass called "Product" with Dataskin as baseclass. I also added a specialist called ProductManager containing a default rack. Under storage for the rack I selected the newly created Product ZClass. My product ZClass needs to query both a RDBMS and the ZODB for attributevalues. At

[Zope] ZPatterns make problem part2

2000-08-01 Thread Owen Smith
I installed the dev version of python which solved my first problem but when I do a make I get this zope@phonix:/usr/local/dc/zope/lib/python/Products/ZPatterns$ make gcc -fPIC -I../../ZODB -I../../../Components/ExtensionClass -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5

Re: [Zope] ZPatterns make problem part2

2000-08-01 Thread Owen Smith
Solved that one had to install ExtensionClass from the zope source. Owen Smith wrote: I installed the dev version of python which solved my first problem but when I do a make I get this zope@phonix:/usr/local/dc/zope/lib/python/Products/ZPatterns$ make gcc -fPIC -I../../ZODB

[Zope] Zpatterns makefile problem

2000-07-31 Thread Owen Smith
Hello Having a problem doing the Make file bit for ZPatterns zope@phonix:/usr/local/dc/zope/lib/python/Products/ZPatterns$ make -f Makefile.pre.in boot rm -f *.o *~ rm -f *.a tags TAGS config.c Makefile.pre python sedscript rm -f *.so *.sl so_locations VERSION=`python -c "import sys; print

Re: [Zope] Zpatterns makefile problem

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Owen Smith wrote: make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/dc/zope/lib/python/Products/ZPatterns' make: *** [boot] Error 2 Where am I going wrong? I know

[Zope] ZPatterns and LoginManager

2000-07-20 Thread Demos Economacos
To: Mathias Bengtsson [EMAIL PROTECTED], [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I am still having a little trouble - I am newbie, so please excuse my dumb questions :) When I do the make, I get make: *** No rule to make target `DynPersist.c',

Re: [Zope] ZPatterns and LoginManager

2000-07-20 Thread Mathias Bengtsson
That's right. Copy the Makefile.pree.in.boot from the python library in your zope. Then do as you said yourself. run make -f Makefile.pre.in boot, then run make. Then your'e home free /Mathias Demos Economacos wrote: To: Mathias Bengtsson [EMAIL PROTECTED], [EMAIL PROTECTED]

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Bill Anderson wrote: What happens when the object is in multiple racks? (Assuming it is possible) Then it'll be missing if something tries to get it from a rack. The same thing as would happen if something tried to get it from a single rack after it'd been deleted. So this case should be

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Scott Parish wrote: Another thought i just had was that if you deleted by placing a call to the Rack, then you couldn't allow the class to override manage_delete. You might want to do such (overriding) if you wanted it to clean up a catalog or perform some other auxiliary function before

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-28 Thread Scott Parish
Thus spake Chris Withers ([EMAIL PROTECTED]): Ty Sarna wrote: call the manage_delete() method on the object. That is, you ask the object to delete itself. This seems unnecessarily long-winded to me. What are the reasons for it being like this? (examples are good... ;-) However, once

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-28 Thread Chris Withers
Scott Parish wrote: I'm not entirely clear how asking the object to delete itself in this case is going to improve the situation over just asking the rack to, but I think that was the intent. Okay, I see the intent now too, but I agree with you that I can't see what advantage asking the

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-28 Thread Bill Anderson
Chris Withers wrote: Scott Parish wrote: I'm not entirely clear how asking the object to delete itself in this case is going to improve the situation over just asking the rack to, but I think that was the intent. Okay, I see the intent now too, but I agree with you that I can't see

[Zope] ZPatterns: Deleting objects from a Rack?

2000-06-21 Thread Jeff Hoffman
Ok, I have a stupid question. I have succeeded in creating a ZClass (a subclass of DataSkin) and instantiating a few instances in the defaultRack of my Specialist using my Specialist's newItem() method. Rock. However, search as I might, I cannot figure out how to delete an item once it's been

[Zope] ZPatterns, Hello, world.

2000-06-19 Thread Jeff K. Hoffman
Hello, I am trying to wrap my head around ZPatterns--I am hoping to use it in a project I am currently working on. Unfortunately, I'm not doing too well. :-) Is there a, "Hello ZPatterns World." example out there, anywhere, that shows the simplest usage of the framework? It would do me

[Zope] ZPatterns DynPersist module for Win32

2000-06-19 Thread Jeff K. Hoffman
Hello, I just wanted to note that I have built the ZPatterns (0.4.0a1) DynPersist module for Win32 using MSVC. If anyone would like a copy, just e-mail me and I'll be happy to pass it along. --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer

Re: [Zope] ZPatterns, Hello, world.

2000-06-19 Thread Kevin Dangoor
attribute providers and such. Plug-ins still need to be written in Python. HTH, Kevin - Original Message - From: "Jeff K. Hoffman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 19, 2000 4:35 PM Subject: [Zope] ZPatterns, "Hello, world." I am trying to wrap my h

Re: [Zope] ZPatterns 0.3.0

2000-06-13 Thread Monty Taylor
If you're running from the RPM install, I believe it puts the Components dir somewhere else. (Can't remember, though) For what it's worth... Monty Peter Simmons wrote: Hi Guys, I was trying to setup ZPatterns 0.3.0 and I got up to making the extension DynPersistc. I had run "make -f

Re: [Zope] ZPatterns 0.3.0

2000-06-13 Thread Peter Simmons
Thanks but, I did a find and I can't find the file anywhere in the zope install. Does anyone know where I should look? Is it in the python dir or some part of python, I tried looking in there too but couldn't find it. Perhaps I need some other product? Thanks for any help, Pete Monty Taylor