Re: [Zope-dev] PythonLibraries Product

2003-09-12 Thread seb bacon
Tres Seaver wrote: Evan Simpson wrote: Seb Bacon wrote: Could you provide a brief summary of why this is better than a folder of python scripts? Perhaps a use case which illustrates the problems of the current way of doing things? It isn't *better* than a Folder of Scripts, it's *different* :-)

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Paul Winkler
On Wed, Sep 10, 2003 at 09:50:51PM -0400, Tres Seaver wrote: For the filesystem representation: what if we just have two files for templates with libraries: 'foo.html' and 'foo.html.py'? Tools will like that better than either of the approaches which try to preserve the twins as a single

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Fred L. Drake, Jr.
Tres Seaver writes: Actually, the restricted case is the one which has the real win; the free-floating library is pretty, but not semanticaally needed. An added argument: a ZPT with its own private library becomes, in effect, a Zope3 view component; adopting such beasts will ease

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Dan L. Pierson
--On Thursday, September 11, 2003 10:08:23 -0400 Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: Tres Seaver writes: Actually, the restricted case is the one which has the real win; the free-floating library is pretty, but not semanticaally needed. An added argument: a ZPT with its own

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Tres Seaver
On Wed, 2003-09-10 at 23:46, Evan Simpson wrote: Tres Seaver wrote: Actually, the restricted case is the one which has the real win; the free-floating library is pretty, but not semanticaally needed. An added argument: a ZPT with its own private library becomes, in effect, a Zope3 view

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Evan Simpson
Tres Seaver wrote: Hmm, I'm thinking about this for the CMF. In CMF 1.3.x, a template which has a cache manager, or a title, puts those values in a simple 'name=value'-formatted file, with extension '.properties'. Permission mappings go in a separate file, with extension '.security'. I wish I

Re: [Zope-dev] PythonLibraries Product

2003-09-10 Thread Tres Seaver
Evan Simpson wrote: Seb Bacon wrote: Could you provide a brief summary of why this is better than a folder of python scripts? Perhaps a use case which illustrates the problems of the current way of doing things? It isn't *better* than a Folder of Scripts, it's *different* :-) I have

Re: [Zope-dev] PythonLibraries Product

2003-09-09 Thread Dieter Maurer
Evan Simpson wrote at 2003-9-8 14:43 -0500: I'm thinking seriously about writing a Product to provide collections of Python functions defined by a single source text -- PythonLibraries. + 1 ... The Python Libraries Product provides support for collections of restricted Python

[Zope-dev] PythonLibraries Product

2003-09-08 Thread Evan Simpson
I'm thinking seriously about writing a Product to provide collections of Python functions defined by a single source text -- PythonLibraries. This would *not* be the same as Zope 3's persistent modules, although it would provide some of the same benefits. Here's the README.txt: Python