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

Re: [Zope] ZPatterns

2000-12-17 Thread Steve Alexander
Steve Alexander wrote: > > You've described the Model-View relationship. > The Controller part is where ZPatterns gets interesting; you can use > SkinScript to do a load of validation on your data, all in one place, in > a fairly specific and declarative language, which gets applied on > commi

Re: [Zope] ZPatterns

2000-12-16 Thread Steve Alexander
Thanks Max, I found your discussion of ZPatterns terms very thought-provoking. Max Møller Rasmussen wrote: > > To avoid this zPatterns use an anbstraction of a table called a "Rack". If > you define this Rack how it is implemented at the backend doesn't matter. It > can be an SQL database, or

Re: [Zope] ZPatterns

2000-12-08 Thread Cees de Groot
[EMAIL PROTECTED] said: > >Hmm, maybe it's the time for a translate-zPatterns-to-english effort? > I'll give it a try: Thanks for the effort, but I'm an application server architect myself so I do understand the things that zPatterns tries to solve. It's not about understanding, my issue with

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? ;-}) -- Cee

Re: [Zope] ZPatterns & terminology

2000-12-08 Thread Steve Spicklemire
Have you seen: http://www.zope.org/Members/sspickle/DumbZPatternsExample there is an upgrade in the works. ;-) I'm working out the kinks with a way to do documentation/modeling with ZPatterns. Hopefully within a week or two... -steve > "Dario" == Dario Lopez-Kästen <[EMAIL PROTECTED]> wri

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 th

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 s

RE: [Zope] ZPatterns

2000-12-08 Thread Max Møller Rasmussen
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Hmm, maybe it's the time for a translate-zPatterns-to-english effort? I'll give it a try: Normally you talk about multi tier applications, when talking about something like zPatterns. Say you want to make a website where users can write artic

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 t

[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 :-( > > > >Tha

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

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 th

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 un

[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?

[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 w

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 usin

[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 any

[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 t

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 -I../

[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 -DHAVE_CONFI

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 /usr

[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 sy

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] > > MIME-

[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 `Dyn

[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 `Dyn

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

2000-06-29 Thread Bill Anderson
Chris Withers wrote: > > 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 bee

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-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 cove

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

2000-06-28 Thread Scott Parish
Thus spake Chris Withers ([EMAIL PROTECTED]): > 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 ag

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

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 obj

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... ;-) > > > How

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

2000-06-27 Thread Chris Withers
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 you have the object, operations on the object should

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

2000-06-27 Thread Ty Sarna
In article , Jeff Hoffman <[EMAIL PROTECTED]> wrote: > However, search as I might, I cannot figure out how to delete an item > once it's been created. On gut instinct, I figured there would be a > deleteItem() to complement the newItem() method. No

[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 cr

Re: [Zope] ZPatterns, "Hello, world."

2000-06-19 Thread Kevin Dangoor
art playing with 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, "Hell

[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

[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 tremendou

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

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

[Zope] ZPatterns 0.3.0

2000-06-13 Thread Peter Simmons
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 Makefile.pre.in boot" and then I ran "make" but an error occured saying that ExtensionClass.h couldn't be found. If anyone knows what is wrong I would much appreciate it. The onl

Re: [Zope] ZPatterns and mountable DBs (was FYI: Latest gem appears in CVS)

2000-05-21 Thread Kevin Dangoor
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Paul Everitt" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, May 21, 2000 9:06 AM Subject: Re: [Zope] FYI: Latest gem appears in CVS > Paul Everitt wrote: > > > > Howdy folks. As mentioned previously, a gem i