[Zope3-dev] Re: Update: The browser:page compromise

Philipp von Weitershausen philipp at weitershausen.de
Sun Apr 23 13:56:53 EDT 2006


Florent Guillaume wrote:
> Philipp von Weitershausen wrote:
>> If people don't like the 'browser2' prefix, I'm open to other 
>> suggestions. For all I care, the three directives I suggested could be 
>> on the 'browser' namespace, only browser2:page and browser:page clash. 
>> So perhaps browser2:page should be named something else. I can't seem 
>> to come up with good alternatives, though.
> 
> I haven't looked closely, but can't we have one <browser:page> whose 
> behaviour changes according to what attributes it has? If old attributes 
> are provided, a deprecation message is sent but the old code is used. 
> Otherwise the new behaviour is in effect.

Heh, of course. In fact, that was my original idea, but Tres & Co. 
objected to it (changing browser:page in-place instead of creating a new 
directive).

Philipp



More information about the Zope3-dev mailing list