[Zope-dev] Session

2001-01-16 Thread Anderson Ami
How can I use this line ? Do I need any product ? dtml-call "Session.set('myVariable','somevalue') Anderson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

[Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Roch'e Compaan
I'm still lost as to when __bobo_traverse__ is checked for object traversal and when not. I have very simple piece of SkinScript: WITH SELF COMPUTE __bobo_traverse__ = traversal_method. Looking at the traverse method in BaseRequest.py it looks to me as if an object is always checked if it has

Re: [Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Phillip J. Eby
It sounds to me like you're trying to have SkinScript supply a bobo_traverse for the Specialist itself, and this you cannot do. (There are other ways to change a Specialist's bobo_traverse behavior, but SkinScript is not one of them.) The SkinScript you're doing is meaningful only if you want

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Andy McKay
While that would work for the simple object case, I find the prospect of storing a bunch of BLOBs (for the image data of the Photos) in an RDBMS to be *most* un-appetizing. Storing them on the server's file-system seems in-elegant as well. Okey dokey, just a suggestion. I have heard people

Re: [Zope-dev] manage_changeProperties in a loop

2001-01-16 Thread Steve Alexander
Arno Gross wrote: Suppose I have a list of existing folder objects and depending on their index in the list I want to set a property called 'rang'. I assumed you could something like this: dtml-call "REQUEST.set('rangList','folder1;folder2;folder2')" (normally the list comes from

Re: [Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Roch'e Compaan
It sounds to me like you're trying to have SkinScript supply a bobo_traverse for the Specialist itself, and this you cannot do. (There are other ways to change a Specialist's bobo_traverse behavior, but SkinScript is not one of them.) The SkinScript you're doing is meaningful only if you

[Zope-dev] ZCatalog with ZClass

2001-01-16 Thread Lily Li
Hello, everyone, It seems that many of you have used ZCatalog pretty well. My problem is that I'd like a ZClass (of a Product) to subclass CatalogAware, and implement all the index and search inside the Product. That means I don't want to do any DTML method stuff outside of the Product.

Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry
Michael Bernstein wrote: So, again: Has anyone run up against any performance or other limitations regarding large numbers (hundreds of thousands or more) of objects stored within the ZODB either in a BTree Folder or a Rack? I was looking into the same issues recently, but for a much

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Andy McKay
Does ZPatterns provide a nice interface / way for storing classes in a RDBMS? I have to say using an RDBMS is not as transparent as I would like, this may may improve it. Finally a reason for me to ZPatterns... -- Andy McKay. - Original Message - From: "John Eikenberry" [EMAIL

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Michael Bernstein
John Eikenberry wrote: Michael Bernstein wrote: So, again: Has anyone run up against any performance or other limitations regarding large numbers (hundreds of thousands or more) of objects stored within the ZODB either in a BTree Folder or a Rack? I was looking into the same

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Michael Bernstein
Andy McKay wrote: While that would work for the simple object case, I find the prospect of storing a bunch of BLOBs (for the image data of the Photos) in an RDBMS to be *most* un-appetizing. Storing them on the server's file-system seems in-elegant as well. Okey dokey, just a

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Michael Bernstein
RDM wrote: On Mon, 15 Jan 2001, Michael Bernstein wrote: as Squishdot). Adding a dependency on an RDBMS or requiring additional setup on the server's FS seems a step in the wrong direction. [...] So the question remains: Will either approach (within the ZODB) allow me to scale the

Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry
Andy McKay wrote: Does ZPatterns provide a nice interface / way for storing classes in a RDBMS? I have to say using an RDBMS is not as transparent as I would like, this may may improve it. Finally a reason for me to ZPatterns... The best way to get a taste is to try it out. The easiest way

Re: [Zope-dev] ZCatalog with ZClass

2001-01-16 Thread Michael Bernstein
Lily Li wrote: Hello, everyone, It seems that many of you have used ZCatalog pretty well. My problem is that I'd like a ZClass (of a Product) to subclass CatalogAware, and implement all the index and search inside the Product. That means I don't want to do any DTML method stuff outside

Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry
Michael Bernstein wrote: John Eikenberry wrote: I was looking into the same issues recently, but for a much smaller set of data (5ish). In my tests ZPatterns/binary-trees scaled well for storage and retrieval. But ZCatalog did not. It was basically useless for partial matching