[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)
   - location (n:1 foreign key)
   - physical port (1:n foreign key)
   - ...

The user (provided that she/he has permission) should be able to create
a new component as well as related physical ports, new product etc.

'create component' Sequence:


 (1) call component-specialist newItem
 - skin script 'WHEN OBJECT ADDED' calls SQL insert statement
with default attribute parameters from ZClass
### + SQL commit (Zope/DC Oracle default behavior)! ###

 (2) redirect user to .../component/#newid/edit

 (3) user adds new physical port
 - skin script 'WHEN OBJECT ADDED' calls SQL insert statement
with component #newid as foreign key + default stuff from ZClass
again an SQL commit-statement is appended
 ...

 (x) user clicks 'cancel'-button
 - MY PROBLEM (trash in DB because of no(?) possibility to make
a SQL rollback)

Questions:
--

1. Is it possible to make sure a user stays with a specific DC Oracle
   thread ? (trick timeouts via http-refresh ?)

2. Provided that a user can have her/his private DB thread (kind of a
   private xterm with PL/SQL ;-) is it possible to wrap a bunch of SQL
   statements (triggered by ZPatterns) into a (Oracle) DB Transaction ?


Any comments (maybe answers ;-) would be _very_ appreciated.

thank u in advance

Andy


--
Andreas Repp  [EMAIL PROTECTED]
Leibniz Rechenzentrum Muenchen  www.lrz.de
Barer Str. 21  office +49 8441 4980772
D-80333 Muenchen   mobile +49  172 8337010
--


___
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 )



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 
 commiting a Zope transaction. That's powerful stuff!

Just to clarify this:

   I'm not suggesting that the controller's responsibility includes 
validating data.

Rather, I mean that you can use SkinScript to easily add an "aspect" of 
validating data in a certain way. In MVC terms, this is like a wrapper 
around the model that validates the data. All connectors from 
controllers to the model must go through this wrapper.

-- 
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


___
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] 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
explanation, I figured you were a regular ZPatterns user :-)

No such luck. I am too busy right now to learn new stuff. Has to get a
project or two out the door first. But it sounds very interresting so I will
give it a go in the beginning of the new year.

Regards Max M

Max M. W. Rasmussen,Denmark.   New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-
Specialization is for insects.  -  Robert A. Heinlein



___
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] 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 saved in the ZODB. The important thing is that
 you allways acces the Rack the same way so any other part of your
 application don't have to change when you change storage backend.

That's right.

 Often you want to look at data in different ways. You have your database,
 your logic, and different ways to look at the data. This is called the
 "Model View Controller" principle in standard Geek talk.

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 
commiting a Zope transaction. That's powerful stuff!

 You use it to avoid duplication of data. The "DRY" principle (Don't Repeat
 Yourself). When I see an article I also want see all comments made to this
 article. Furthermore when I see a user, I also want to see the comments that
 this user has made and all the articles that he has written.
 
 Naturally you don't just copy the list of comment's to the article or the
 user. This would cause redundancy and bad problems when you change values in
 the original data. You make a new combined view of your model instead, where
 you join articles and comments on one page. So data from two different racks
 can be viewed in one place. In zPattern lingo this is called a "Specialist".
 But a "view" by any other name still smells as sweet.

I guess that's one way of doing this.

You would have three Specialists:

   Articles
   Comments
   ThreadedDiscussions

The ThreadedDiscussions specialists would act as a view of the other two 
specialists, drawing its information from both of them, behind the scenes.

You typically use SkinScript to knit these models and views together.

 To use these two nice abstractions in Zope it has to work a little more Zope
 like. Often when making a zClass you use a folderish object. the zPattern
 folder is called a "PlugIn". It can have properties just like a normal
 zClass. 

That's not right. The PlugIns part of ZPatterns is separate from the 
Racks/Specialists/DataSkins/SkinScript part.
I think what you are describing here is makign a ZClass that is derived 
from DataSkin and ObjectManager, and then using instances of that ZClass 
in the ZODB (as you would a normal ZClass). However, if you put your 
instances somewhere below a Folder with Customizer Support, you can use 
a Customizer to play around with the attributes of your ZClass 
instances; for example, by computing them from other attributes, or 
getting them from an external database.

The PlugIns product is a tool for creating frameworks for Open 
Implementations in Zope. Basically, it is a way of adding special 
management tabs to a folder-like object, where each tab declares which 
of the folder's sub-objects it should manage. The ZPatterns classes such 
as Specialist, Rack and Customizer are built as PlugIn Managers and PlugIns.

 In zPatterns the interface or "property sheet" used for handling the values
 in a single item in a rack. (What would be a single row in an SQL table) is
 called an "AttributeProvider".

It is easiest to use SkinScript to say where each attribute of an object 
needs to come from, and what should happen when someone tries to set a 
specific attribute of an object. SkinScript serves the function of an 
AttributeProvider here.

 When you combine the content of one or more racks into a new Specialist (or
 view, remmeber?) you use a "SheetProvider" to edit the data. This is what
 would be a normal management interface in a typical web application.

That's not quite right. You use a SheetProvider to link a WebDav 
propertysheet (that is attached to a Dataskin object) to some external 
data source.

 Anyhoo, this is how I unerstand it.
 
 But I must add that I have never used zPatterns, This is all from how I
 understand the documentation, the Wiki etc combined with my limited
 knowledge of computer science.

Max, I'm extremely impressed! When I first read through your 
explanation, I figured you were a regular ZPatterns user :-)

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


___
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] 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 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 translate-zPatterns-to-english effort?

Yes, I totally agree. It seems that Zpatterns is the thing I need to make
tru my vison of self-contained plugin-components for the site(s) I am
developing. However I since I am still strugglig with the concept of
aquisition, the Zpattersn terminology makes my head spin. :-)

/dario
still digging...

- 
Dario Lopez-Kästen Systems Developer  Chalmers Univ. of Technology
[EMAIL PROTECTED]  ICQ will yield no hitsIT Systems  Services


___
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] 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 other
people who're using ZPatterns and fully understand it, is that they are
using it to do their jobs and so really haven't got the time to come up
with nice examples and finished docs. 

To be honest, I'm just glad they chose to open source it all :-)

cheers,

Chris

___
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] 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 haven't got the time 
 to come up
 with nice examples and finished docs. 
 
 To be honest, I'm just glad they chose to open source it all :-)

And so am I.

What I meant was that there seems to be more and more people that that start
to understand it, at least a small bit of it.

If all these people contributed their small part to a
HowToWriteASimpleAndGoodZPatternsProductZWiki, then the documentation bit
would be solved.

Maybe people like you? :)

/Magnus

___
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] 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...
 
 Hmm, maybe it's the time for a translate-zPatterns-to-english effort?
 
 --

In fact, IMHO the problem is not so much a translation (of concepts) to
English, because there are a few of those. 

See pje's own DropZone Example
http://www.zope.org//Members/pje/Wikis/ZPatterns/DropZoneExample

and Shane's more basic explanation of what is what
http://www.zope.org//Members/pje/Wikis/ZPatterns/RacksAndSpecialistsSimplified

The basic problem as I experience it is not so much the jargon, because
you get used to it. I'll add some more specific questions where my
understanding gets muddled to illustrate this

Where _I_ get stuck is:
1) How do Racks (and their associates) relate to normal propertysheets
and how to attributes. What is the relation to objects? 
2) What do I add to a Rack and what to a Specialist to get a) a property
b) a propertysheet c) an object
3) How do I switch from one implementation to another (for example from
persistent storage to non-persistent storage) and what parts do I have
to update
4) if I add a SkinScript, what does it really do? How does it relate to
my Rack, and how to the Specialist? How can I use it and where do I use
it - in the Rack or in the Specialist, or do they both have their own
domain?
5) How do I talk to a Specialists? What will it say back? For example,
if I have a 'virtual object' (let's say a person that gets its
properties from ad RDB and is accessed by its name), should I be able to
access it by direct URL traversal blabla/WhateverSpecialist/Name or do
I add a querystring blabla/WhateverSpecialist?name=Name

There should just be some annotated step by step guides. I'd like to add
some, but i first have to find out how ;-(

my 2 cents

Rik

___
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] 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 de Groot   http://www.cdegroot.com [EMAIL PROTECTED]
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B



___
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] 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 understand :-(

That said, my impression is that if you can wade through the b/s, it's
more than worth the effort...

cheers,

Chris

___
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] 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 couple of
months ago?

I tried it back then, but really didn't understand it all :-P

I simple products that does things the ZPatterns way, and explains why and
how would be just great.

/Magnus

___
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] 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 translate-zPatterns-to-english effort?

-- 
Cees de Groot   http://www.cdegroot.com [EMAIL PROTECTED]
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B

___
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] 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? backup? ;-)

cheers,

Chris

___
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] 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 anybody ever
installed ZPatterns successfully on Win32 ? Which versions ? Any ideas or
solutions ?!

Gijs Reulen

LoginManager Import Traceback
Traceback (innermost last):
  File "C:\PROGRA~1\ZOPE_216\lib\python\OFS\Application.py", line 387, in
import_products
product=__import__(pname, global_dict, global_dict, silly)
  File "C:\Program
Files\Zope_216\lib\python\Products\LoginManager\__init__.py", line 1, in ?
import LoginManager, LoginMethods, UserSources
  File "C:\Program
Files\Zope_216\lib\python\Products\LoginManager\LoginManager.py", line 7, in
?
from Products.ZPatterns.PlugIns import PlugInGroup
  File "C:\Program
Files\Zope_216\lib\python\Products\ZPatterns\__init__.py", line 1, in ?
import Rack, Specialists, Customizers, AttributeProviders,
SheetProviders
  File "C:\Program Files\Zope_216\lib\python\Products\ZPatterns\Rack.py",
line 1, in ?
from DataManagers import DataManager
  File "C:\Program
Files\Zope_216\lib\python\Products\ZPatterns\DataManagers.py", line 7, in ?
from AttributeProviders import AttributeProvider
  File "C:\Program
Files\Zope_216\lib\python\Products\ZPatterns\AttributeProviders.py", line 1,
in ?
from Proxy import ProxyManager
  File "C:\Program Files\Zope_216\lib\python\Products\ZPatterns\Proxy.py",
line 2, in ?
from AccessControl import getSecurityManager
ImportError: cannot import name getSecurityManager



___
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] 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 2.1.6, I suspect that's the problem.

cheers,

Chris

___
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] 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 fine. I
did want to wait with 2.2 as long as I could but seems I have to change
versions now.
Anyway, thank you.

Gijs Reulen

 -Oorspronkelijk bericht-
 Van: Chris Withers [mailto:[EMAIL PROTECTED]]
 Verzonden: zondag 20 augustus 2000 11:48
 Aan: Gijs Reulen
 CC: Mailinglist Zope
 Onderwerp: Re: [Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope
 2.1.6 + Win2000


 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 2.1.6, I suspect that's the problem.

 cheers,

 Chris



___
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-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 sheetname i created for my
 ZClass??? but how
 do Sheet_Namespaces come into play.

 Actually, neither relates.  Property sheets created on ZClasses
 always have
 their data stored in attributes of the object itself, so if you want to
 control those property sheets you would not use a sheet provider at all.
 Sheet providers are only used to provide property sheets whose data is
 stored external to the object.


Oh ok, this divide clears it up a bit.  I somehow imagined that an object's
properties are always stored inside the object and that Providers are the
managers of those properties.

 The Specialist does not talk to the sheet provider.  The Specialist asks
 its racks for an object.  The Rack which "retrieves" the object tells the
 object that it belongs to the rack and should ask the rack for anything it
 needs.  When the object needs a property sheet or attribute or
 whatever, it
 asks the rack to give it a list of relevant providers for that
 attribute/sheet/whatever.  It then walks the list asking those
 providers if
 they can perform the function it desires.  If none of the providers are
 successful, it performs a default behavior (such as raising an
 AttributeError to indicate the attribute does not exist).  This general
 pattern is followed for almost anything that can be delegated from a skin
 to a provider.

I considered the scenario where attributes are stored external to the object
according to the filing clerk analogy on the wiki:

The Specialist (filing clerk) asks its racks (filing cabinet) for an object
(dental records).  The rack (filing cabinet) tells the object (the dental
records) that it belongs to the rack AND that the object should ask the rack
for anything it needs.

Why would the object "need" anything.  Is it not the specialist with the
"need"?

If object data is stored external to the dataskin object does the dataskin
only implement behaviour?  I find it difficult to understand because I
associate Dataskin with Storage.  If object data is stored externally is it
stored in Persistent Property Sheets?  How does one define properties for
Persistent Property Sheets?

Roché


___
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 )




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 sheetname i created for my ZClass??? but how
do Sheet_Namespaces come into play.

Actually, neither relates.  Property sheets created on ZClasses always have
their data stored in attributes of the object itself, so if you want to
control those property sheets you would not use a sheet provider at all.
Sheet providers are only used to provide property sheets whose data is
stored external to the object.

The "name" refers to sheet names, yes, although again these are not ones
created on the ZClass, which will be handled by the ZClass.  The
"namespaces" refers to the XML namespaces of the property sheets, which is
a WebDAV thing.  In the WebDAV protocol, "property sets" are added/changed
using URLs as XML namespaces.  So you could have a property sheet whose XML
namespace is "http://www.zope.org/PTK/MemberProperties" and whose name is
just "MemberProperties" or "MemberInfo" or something else altogether.
ZPatterns supports WebDAV, and WebDAV requires the ability to add arbitrary
property sets with arbitrary properties to an object.  Also, the XML
namespaces concept can be useful as a way of avoiding name collisions
between frameworks.


From the IRC_Chatlog:
"Call "getItem(key)" to retrieve an item from the Specialist, and
"newItem(key)" to create a new item in the specialist."

Does this imply that I can simply call "newItem(key)" from a dtml-method
inside the specialist to create a new instance of my object?

Yes.



I think I understand ZPattern architecture somewhat but get lost on the
implementation side, particularly at that place where  attributes are
retrieved from storage or more clearly how a specialist(datamanager) links
up/communicates with a sheetprovider (data-plugin) and how the sheetprovider
in turn communicates with the rack and how the rack retrieves from storage
(dataskin).

A very simple outline like this would help me a lot, eg:
Specialist to Sheetprovider (handled in IDE - add a SheetProvider under
Plugins)
Sheetprovider to rack (handled in IDE - select Storage Class under rack)
Rack to Dataskin ()
Dataskin to physical storage ()

Roché

PS: I would be more than willing to document my enlightenment in a howto

The Specialist does not talk to the sheet provider.  The Specialist asks
its racks for an object.  The Rack which "retrieves" the object tells the
object that it belongs to the rack and should ask the rack for anything it
needs.  When the object needs a property sheet or attribute or whatever, it
asks the rack to give it a list of relevant providers for that
attribute/sheet/whatever.  It then walks the list asking those providers if
they can perform the function it desires.  If none of the providers are
successful, it performs a default behavior (such as raising an
AttributeError to indicate the attribute does not exist).  This general
pattern is followed for almost anything that can be delegated from a skin
to a provider.

When DataSkins are used outside a rack, the process is similar, except that
the DataSkin itself notices it is being retrieved from somewhere and has
not been told it belongs to a rack, so it searches its acquisition path
asking for a Customizer.  Once found, it then uses the Customizer in the
same way as it would have used the Rack (i.e. to ask for lists of providers
that might be useful for performing tasks it needs done).


___
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 )




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

2000-08-08 Thread Peter Toneby

Hi guys,
I'm trying to make a simple guestbook using ZClasses and ZPatterns, I
suppose this is somewhat overkill, and would be alot easier to do using
SQL, but it's for the sake of knowledge (as is everything I do). So I
read the IRC-log and msegarra asked a question regarding storing a
ZClass in a  Specialist/Rack, and I suppose that is what I should do
too. Also note that I have not done anything with ZClasses or ZPatterns
and take this as an oppotunity to learn booth ;). So I have done the
following:

I created a product and put 2 ZClasses in it, Guestbook and
Guestbook_entry. Guestbook_entry was created with Dataskin as baseclass
and holds a propertysheet called entry_data.

Guestbook has 2 methods that handles the adding of entries, one is
the form, the other is the actual dataadder (the forms action) and it's
called entry_addProcessor.

I then added a specialist to Guestbook, and told it to store
Guestbook_entrys, it's called entry_storage.

entry_addProcessor contains the following code:

dtml-let newobj="entry_storage.newItem(_.str(_.int(ts)))"
  dtml-comment
Code is supposed to go here... I just have to figure out how to add
the data sent to newobj...
  /dtml-comment
/dtml-let

But when I try to run this I get "Unauthorized" for newItem, and I don't
know what settings to set for anonymous to be able to use it, since I
can't seem to get it to work even with my user that has created
everything.

Now, am I correct to put the properties in the ZClass, or should they go
into a PersistentSheet or a PersitentSheetProvider plugin? And if I
should put it into PersistenSheets should I change anything in the
Sheet_Names and Sheet_Namespaces boxes or just att my properties?

And what about the Unauthorized error, should I change something in the
define permissions tab?

Now, if I could get this little question answered in english (not
ZPatternish), I would be very happy, and if you get me to grasp these
things I think quite a few others will grasp it too, and you will get
less requests for basic dokumentation, and everyone will be happy and
live long and prosper forever after.

/Peter Toneby, who really should go to bed now.
-- 
Alpha Test Version:  Too buggy to be released to the paying public. 
Beta Test Version:  Still too buggy to be released. 
Release Version:  Alternate pronunciation of "Beta Test Version". 

___
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 )




[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 this point I get lost.
I guess i should add an attributeprovider plug-in???

What should go into the fromexpr and attrsexprs properties of the
attributeprovider?  Should one add an attributeprovider for each attribute
of the product?

Roché



___
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] 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_CONFIG_H -c
./DynPersist.c
In file included from ./DynPersist.c:1:
../../ZODB/cPersistence.h:89: ExtensionClass.h: No such file or
directory
make: *** [DynPersist.o] Error 1

Am I missing something? / the point!?
reading http://www.digicool.com/releases/ExtensionClass/ it says that
ExtensionClass  is part of Zope
and I cant find any mention of this on zope.org

Thanks
Owen



___
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] 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../../../Components/ExtensionClass -g -O2
 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c
 ./DynPersist.c
 In file included from ./DynPersist.c:1:
 ../../ZODB/cPersistence.h:89: ExtensionClass.h: No such file or
 directory
 make: *** [DynPersist.o] Error 1


___
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] 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 sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`; \
exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
VERSION=$VERSION \
installdir=$installdir \
exec_installdir=$exec_installdir \
Makefile
make[1]: Entering directory
`/usr/local/dc/zope/lib/python/Products/ZPatterns'
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/lib/python1.5/config/ doesnt exist so I tried

zope@phonix:/usr/local/dc/zope/lib/python/Products/ZPatterns$  make -f
Makefile.pre.in Makefile VERSION=1.5 installdir=/usr/local/dc/zope
make: *** No rule to make target
`/usr/local/dc/zope/lib/python1.5/config/Makefile', needed by
`sedscript'.  Stop.

any help much appreciated

Owen
newbie:)





___
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] 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/lib/python1.5/config/ doesnt exist so I tried

You need to install the source or development version of Python, to
get that missing file.

This is a Zope/ZPattern's FAQ grin.

--RDM


___
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] 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',
 needed by `DynPersist.o'.  Stop
 
 I am not sure, but am I supposed to copy the
 Makefile.pre.in from ZPatterns to python library two
 levels above - and then run the make -f
 Makefile.pre.in boot from ZPatterns?
 
 Thanks for your help! 
 
 
 
 --- Mathias Bengtsson [EMAIL PROTECTED] wrote:
  When I installed ZPatterns. I first untared in
 zope
  root as usual.  Then
  standing in the
  /zope/lib/python/Products/ZPatterns/  library i da
 a
  copy of the
  makefile two steps above
  cp ../../Makefil
 *** MESSAGE TRUNCATED ***
 


__
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

___
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] 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-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',
  needed by `DynPersist.o'.  Stop
 
  I am not sure, but am I supposed to copy the
  Makefile.pre.in from ZPatterns to python library two
  levels above - and then run the make -f
  Makefile.pre.in boot from ZPatterns?
 
  Thanks for your help!
 
 
 
  --- Mathias Bengtsson [EMAIL PROTECTED] wrote:
   When I installed ZPatterns. I first untared in
  zope
   root as usual.  Then
   standing in the
   /zope/lib/python/Products/ZPatterns/  library i da
  a
   copy of the
   makefile two steps above
   cp ../../Makefil
  *** MESSAGE TRUNCATED ***
 

 __
 Do You Yahoo!?
 Get Yahoo! Mail - Free email you can access from anywhere!
 http://mail.yahoo.com/

 ___
 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 )




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 covered anywhere as it's
essentially 'what happens if an object that doesn't exist is requested
from a rack?'

That said, can you give em an example where it would eb useful to have
one object stored in multiple racks?

cheers,

Chris

___
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] 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 disappearing.

What class are you talking about? ;-)

This is why I said it might be useful for the rack's delete just to call
delete on the object. I think this is me going on about the demeter's
Law thing again...

cheers,

Chris

___
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] 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 you have the object, operations on the object should be
  done as methods on the object.
 
 I'm sure it's against Demeter's Law (I've read the Wiki ;-) to work this
 way. You should ask the rack to delete an object and it can process this
 how it wants... most often this would be by asking the object to delete
 itself, but maybe it's be more efficient for the rack to just delete the
 object (for example, if the object is actually a row in an SQL table)
 

I could be mistaken about this, as I'm still having trouble following the
ZPatterns train of thought, but I think the reason that the object needs to
delete itself is that the object may not be stored in a single place.  For
instance, the object might be created from 5 rows from seperate tables in
an SQL db and 2 attributes gotten from LDAP.  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.

sRp

-- 
Scott Parish
http://srparish.net

 PGP signature


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 object to delete itself provides. Could
someone explain please?

Furthermore, even if there was an advantage to this, why can't the
rack's delete method just be piped through to the object's delete
method? (which I thought was common practice with Specialists)

cheers,

Chris

___
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] 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
 what advantage asking the object to delete itself provides. Could
 someone explain please?
 
 Furthermore, even if there was an advantage to this, why can't the
 rack's delete method just be piped through to the object's delete
 method? (which I thought was common practice with Specialists)
 
 cheers,

What happens when the object is in multiple racks?
(Assuming it is possible)

___
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] 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 created. On gut instinct, I figured there would be a
deleteItem() to complement the newItem() method. No such luck.

What am I missing? Is there a management tab I'm not clicking on 
somewhere? A method I haven't found? A clue I don't have? :-)

Thanks,

--Jeff

---
Jeff K. Hoffman   704.849.0731 x108
Chief Technology Officer  mailto:[EMAIL PROTECTED]
Going Virtual, L.L.C. http://www.goingv.com/


___
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] 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 tremendous good
to see a working example.

Thanks,

--Jeff

---
Jeff K. Hoffman   704.849.0731 x108
Chief Technology Officer  mailto:[EMAIL PROTECTED]
Going Virtual, L.L.C. http://www.goingv.com/


___
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] 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  mailto:[EMAIL PROTECTED]
Going Virtual, L.L.C. http://www.goingv.com/


___
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] ZPatterns, Hello, world.

2000-06-19 Thread Kevin Dangoor

Hi,

I don't know of a ZPatterns "Hello, World". I remember feeling quite
pleased when I managed to get a ZClass instance added to a Rack. Of course,
how one would define "Hello, world" in the context of ZPatterns, I'm not
sure. I haven't yet had a chance to use 0.4, so this example won't mention
DataSkins. You could do something like this:

create a ZClass
add a Specialist
add a Rack
set the storage for that Rack to your ZClass
add a PythonMethod to the Specialist that calls newItem(ObjID) and then sets
some properties on that ZClass

Then, you can go to http://yoursite/Specialist/ObjID and take a look at your
ZClass. Congratulations! You've now replicated the functionality of a Folder
:)

(Of course, the Rack uses BTrees, so you can store any number of objects in
there, unlike a Folder.)

Once you have objects in your Rack, you can start 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, "Hello, world."


 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 tremendous good
 to see a working example.



___
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] 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 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 only other thing I can tell you (and I don't know if it means
 anything) is that it seemed to be looking for ExtensionClass in teh
 Zopeinstall/lib/Components dir and there is no Components dir there,
 perhaps I need to add something to my Zope install.
 
 Cheers,
 Pete
 
 ___
 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 )

begin:vcard 
n:Taylor;Monty
tel;cell:+31 (0)6 200 17486
tel;fax:+31 (0)20 589 5566
tel;work:+31 (0)20 589 5517
x-mozilla-html:TRUE
url:http://www.goldridge.net
org:Information Innovation
adr:;;Amstelveenseweg 88-90;Amsterdam;;1075 XJ;The Netherlands
version:2.1
email;internet:[EMAIL PROTECTED]
title:Information Artist
x-mozilla-cpt:;0
fn:Monty Taylor
end:vcard



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 wrote:


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 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 only other thing I can tell you (and I don't know if it means
 anything) is that it seemed to be looking for ExtensionClass in teh
 Zopeinstall/lib/Components dir and there is no Components dir there,
 perhaps I need to add something to my Zope install.
 
 Cheers,
 Pete
 
 ___
 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 )


















Monty Taylor [EMAIL PROTECTED]
Information Artist
Information Innovation















Monty Taylor 


Information Artist
Information Innovation








[EMAIL PROTECTED]
HTML Mail


Amstelveenseweg 88-90
Amsterdam
1075 XJ
The Netherlands








 Cellular: +31 (0)6 200 17486
 Fax: +31 (0)20 589 5566
 Work: +31 (0)20 589 5517
Conference Address
Default Directory Server





Additional Information:










Last Name
Taylor










First Name
Monty










Version
2.1