Re: [Zope-dev] ZPT in Zope Products

2004-04-15 Thread Santi Camps
Wyatt Anderson escribi: Hello All, I am trying to use ZPT within a Zope Product I am trying to build. I want to test the container type I am addding to to determine what action to take. The following though from Products.PageTemplates.PageTemplateFile import PageTemplateFile def

Re: [Zope-dev] ZODB for Java?

2004-04-15 Thread Romain Slootmaekers
Ian Beatty wrote: Greetings. Does anyone know of a good (stable, reliable, fast enough for production use in a web app) ZODB-equivalent for persisting Java objects? www.jdocentral.com Thanks, ..Ian -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- Dr. Ian Beatty

[Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Philipp von Weitershausen
Jim, let's make this telegraph style :) OK, here's another. What about renaming the Zope 3 zope package to z. +1 - It fits with the expansion of Zope: Z Object Publishing Environment. - It's short :) - *At this time* (but after the move to svn), it's not too hard to make a change like

Re: [Zope-dev] Zope and zope

2004-04-15 Thread Stefan H. Holek
+0, not a problem. -1 for renaming 'Zope'. I endorse the 'src/zope' idea. Stefan On Mittwoch, Apr 14, 2004, at 15:00 Europe/Vienna, Jim Fulton wrote: Perhaps we can get more input on whether there's a problem. A response with a positive sign (e.g. +1, +0, +2, ...) indicates agreement that

Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Sidnei da Silva
On Thu, Apr 15, 2004 at 11:46:27AM +0200, Philipp von Weitershausen wrote: | - The packages in z can be used for more than just Zope | | +2 So, here's an idea: - Move component-architecture packages out of 'zope' into 'ca', and then we don't have the 'zope' vs 'Zope' issue anymore. I've

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Jim Fulton
Sidnei da Silva wrote: On Thu, Apr 15, 2004 at 11:46:27AM +0200, Philipp von Weitershausen wrote: | - The packages in z can be used for more than just Zope | | +2 So, here's an idea: - Move component-architecture packages out of 'zope' into 'ca', and then we don't have the 'zope' vs 'Zope'

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Sidnei da Silva
On Thu, Apr 15, 2004 at 08:59:44AM -0400, Jim Fulton wrote: | So, what about this: | | zope.component | zope.interfaces (?) | zope.configuration | zope.testing | zope.schema (soon-to-be-dead?) | | - All move to 'ca.*' | | Most of this has nothing to do with the component architecture. | | ca

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Jim Fulton
Sidnei da Silva wrote: On Thu, Apr 15, 2004 at 08:59:44AM -0400, Jim Fulton wrote: | So, what about this: | | zope.component | zope.interfaces (?) | zope.configuration | zope.testing | zope.schema (soon-to-be-dead?) | | - All move to 'ca.*' | | Most of this has nothing to do with the component

Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Lennart Regebro
From: Sidnei da Silva [EMAIL PROTECTED] - Move component-architecture packages out of 'zope' into 'ca', and then we don't have the 'zope' vs 'Zope' issue anymore. 'ca' feels weird. Canada? caca? I don't like it. 'z' is better then. Of course that means that suddenly the component

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Barry Warsaw
On Thu, 2004-04-15 at 09:25, Jim Fulton wrote: From the zope package README.txt: Zope Project Packages The zope package is a pure namespace package holding packages developed as part of the Zope 3 project. Generally, the immediate subpackages of the zope package should be

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Jim Fulton
Lennart Regebro wrote: From: Sidnei da Silva [EMAIL PROTECTED] - Move component-architecture packages out of 'zope' into 'ca', and then we don't have the 'zope' vs 'Zope' issue anymore. 'ca' feels weird. Canada? caca? I don't like it. 'z' is better then. Of course that means that suddenly the

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Jim Fulton
Barry Warsaw wrote: On Thu, 2004-04-15 at 09:25, Jim Fulton wrote: From the zope package README.txt: Zope Project Packages The zope package is a pure namespace package holding packages developed as part of the Zope 3 project. Generally, the immediate subpackages of the zope package

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Barry Warsaw
On Thu, 2004-04-15 at 10:23, Jim Fulton wrote: Each separately distributed package will have a DEPENDENCIES.cfg that is created by hand and that *constrains* dependencies on other packages. It makes explicit the intended dependencies. Dependencies not listed here are bugs. Adding depenencies

RE: [Zope-dev] ZPT in Zope Products

2004-04-15 Thread Wyatt Anderson
This does not work either. With this I get the following traceback: Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Products.MyContainer.MyContainer, line

[Zope-dev] ZPT in Zope Products

2004-04-15 Thread Clemens Robbenhaar
Hi Wyatt, from Products.PageTemplates.PageTemplateFile import PageTemplateFile def manage_addMyContainerForm(self, REQUEST): pt = None if self.meta_type in ['ContainerType1', 'ContainerType2']: pt = PageTemplateFile('zpt/addMyContainerForm', globals())

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Barry Warsaw
On Thu, 2004-04-15 at 11:39, Casey Duncan wrote: Additionally (and Jim and I have discussed this amongst ourselves) I feel strongly that the dependancies should be enforced by tests. Good point. The dependancy tests might need to be separate from unittests because they would probably

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Stephan Richter
On Thursday 15 April 2004 11:39, Casey Duncan wrote: Additionally (and Jim and I have discussed this amongst ourselves) I feel strongly that the dependancies should be enforced by tests. That is, if you introduce and errant dependancy (by adding an import to a new package not in the stdlib or

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Martijn Faassen
Stephan Richter wrote: On Thursday 15 April 2004 11:39, Casey Duncan wrote: Additionally (and Jim and I have discussed this amongst ourselves) I feel strongly that the dependancies should be enforced by tests. That is, if you introduce and errant dependancy (by adding an import to a new package

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Stephan Richter
On Thursday 15 April 2004 13:22, Martijn Faassen wrote: Note that for checking dependencies in Python code I still think this tool could be improved by using technology from importchecker.py http://cvs.zope.org/Zope3/utilities/importchecker.py which can use Python's compiler module to lift

Re: [Zope3-dev], [Zope-dev] More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Fred Drake
On Thursday 15 April 2004 10:23 am, Jim Fulton wrote: (BTW, I think it was a mistake to have top-level persistent and transaction packages. I think that will eventually come back to haunt us.) I won't disagree with this. ;-( The only way to avoid collissions is to pick stupid names

[Zope3-dev], [Zope-dev] Import checking code

2004-04-15 Thread Fred Drake
On Thursday 15 April 2004 13:22, Martijn Faassen wrote: Note that for checking dependencies in Python code I still think this tool could be improved by using technology from importchecker.py ... which can use Python's compiler module to lift all imports from source code, which I think is

Re: [Zope3-dev] Re: [Zope-dev] Re: More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Martijn Faassen
Stephan Richter wrote: On Thursday 15 April 2004 13:22, Martijn Faassen wrote: Note that for checking dependencies in Python code I still think this tool could be improved by using technology from importchecker.py http://cvs.zope.org/Zope3/utilities/importchecker.py which can use Python's

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-15 Thread Shane Hathaway
On Thu, 15 Apr 2004 [EMAIL PROTECTED] wrote: What happens is you write a new serializer, notably write a custom serializer for an object type you've already been using for a while, using the default one ? (Presumably because you WANT to be able to access the contents from other tools) I

Re: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely revis ion based storage for Zope ?)

2004-04-15 Thread Shane Hathaway
On Wed, 14 Apr 2004, Kapil Thangavelu wrote: although i wonder if there is some hand waving in progress here that i can't see. i guess my semantic notion of versions has been that of long lived transactions, and is there a better means of thinking of them? how do they play across with