[Zope-dev] Advocating the splitting of Zope in subpackages

M. Papillon azeldis@mail.wesleyan.edu
Thu, 11 May 2000 15:24:55 -0400


>Andrew M. Kuchling wrote:
>> Lalo Martins writes:
>> >Folks, it's about time (or past time) Zope is splitted from its
>> >monolithical package into the real packages it uses. I'm facing
>> >similar problems when using ZPublisher.Client in gnope.
>
>> Agreed.

"Me Too!"

In fact I was shocked and disappointed about 3 months ago when it stopped 
being made available as separate packages...

>[snip]
>> While completely packagizing Zope is a big job, it does seem possible
>> to take it in little increments, and splitting out some of the more
>> useful components would be a start.

Not that big, I think; I've only come to zope this week after formerly 
using bobo a few years ago, i.e. a couple of the modules that make up 
zope.  As such I can't speak for the ZODB or all the other fancy-shmancy 
stuff that's new since then, but I've built a template processing system 
using DocumentTemplate and modifying it slightly (new tags, new syntax).  
In the process I got irritated many times, and I've been wanting to 
complain for a few days.  This is close enough to the time.  ;)

 COMPLAINTS AGAINST DOCUMENT TEMPLATE

- crappy way of registering new tags.
- mapping dictionary is too screwy.
  - can't pass arbitrary values/objects
  - _pop and _push don't work as expected, can get invalid and choke.
  - should have the rest of the standard dict stuff setattr, keys, etc.
  - pDocumentTemplate and cDocumentTemplate have different bugs :(
- Should have a way of backtracking (delayed render?)
- Zope-specific stuff (manage_blah) is part of the base package

OK, those are just my irritated notes, cut and pasted from a sticky.  
There's other stuff, which people have noted on the site in writing new 
tags.  Rather than complaining about it, however, I wrote a couple of 
base classes: generic_re_class (for new tag syntaxes), GenericTag.Block 
and GenericTag.Inline.  They deal with some of the DT weirdness (like tag 
arguments) and made things *so* much easier...

So let's get a Wiki going where I can do my first bit of giving back to 
the community!

And, I want to use ZSQLMethods, although I haven't looked at how 
separateable they are...