Re: [Zope-dev] AW: [Summary] Caching prob with AHCM and headers

2003-09-25 Thread Chris Withers
Tres Seaver wrote: I have wanted to add a binding to the TALES namespace to allow access to the skin object for some time: the current values in the namespace are: 'content' -- the skin object's aq_parent 'view' -- the skin object's name (a really bad choice for the key) 'keywords'

[Zope-dev] _p_deactivate() and _v_ variables?

2003-09-25 Thread Chris Withers
def traverseTree(self): ''' Traverse the tree and do something. ''' was_ghost = self._p_changed is None for ob in self.objectValues(): traverseTree(ob) # XXX Do something with self here : self.doSomething() if was_ghost:self._p_deactivate() Hmmm, does

Re: [Zope-dev] Problems with ZODB and persistence

2003-09-25 Thread Chris Withers
Emiliano Marmonti wrote: class Autores: def __init__( self, file='dcAuthor.fs' ): self.file= file self.db = ZODB.DB( FileStorage( file ) ) This is BAD. The level you're writing stuff at, let Zope take care of the storages, you just stick to writing application code ;-) If

Re: [Zope-dev] Can anyone help to work with Xron on Linux?

2003-09-25 Thread Chris Withers
I-Ling Lin wrote: I really don't know how to continue... Can anyone help me, please, pls Hmmm, well, inititally: - stop posting HTML to a non-HTML list - post to the correct list: [EMAIL PROTECTED] [EMAIL PROTECTED] is for the development of, not development with, Zope... - stop using

[Zope-dev] Re: error_log missing things?

2003-09-25 Thread Chris Withers
Shane Hathaway wrote: Presumably, some error occurred that led to ZPublisher aborting the transaction. Since transaction abort is never supposed to fail, perhaps ZPublisher doesn't use the same mechanism to report transaction abort failures. Yeah, that makes sense but... It looks like DCOracle2

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-09-25 Thread Toby Dickenson
On Thursday 25 September 2003 11:51, Chris Withers wrote: Hmmm, does _p_deactivate() clear the contents of the object's _v_ variables? Yes -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] AW: [Summary] Caching prob with AHCM and headers

2003-09-25 Thread Tres Seaver
On Thu, 2003-09-25 at 06:41, Chris Withers wrote: Tres Seaver wrote: I have wanted to add a binding to the TALES namespace to allow access to the skin object for some time: the current values in the namespace are: 'content' -- the skin object's aq_parent 'view' -- the

[Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread Andy McKay
This thread and an application for a client has meant i've started to formulate a replacement for Caching Policy Manager. From the way I see it all the functionality in CPM (Vary etc) should be rolled into AHCM. CPM should then just be very simple set of policies that using a predicate point

Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread seb bacon
Andy McKay wrote: This thread and an application for a client has meant i've started to formulate a replacement for Caching Policy Manager. From the way I see it all the functionality in CPM (Vary etc) should be rolled into AHCM. +1 What about the don't cache the following hostnames knob for

Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread Tres Seaver
On Thu, 2003-09-25 at 14:06, Andy McKay wrote: This thread and an application for a client has meant i've started to formulate a replacement for Caching Policy Manager. From the way I see it all the functionality in CPM (Vary etc) should be rolled into AHCM. CPM should then just be very

[Zope-dev] VOcabulary stop words

2003-09-25 Thread Paulo Lobo
I need to changer my stop words in my vocabulary!! I've tryed to change that file, Lexicon.py, where the stop words are stores, but it doesnt works When i re-index all the data my customized stop words are indexed too! ___ Zope-Dev maillist -

Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread Andy McKay
RAM caching is useful for subtemplates. I am not convinced that we should think of resource level caching (AHCM or Andy's bake-to-disk on the fly solution) in the same framework as the tools like RCM, which are much better suited for caching intermediate results, but don't scale well for entire