Re: We need a canonical away to create plone packages with mr.bob

Asko Soukka <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Philip Bauer wrote:
> - The nested template is effectively a complete duplicate of the normal template with some variations and has to be manually kept in sync with it.

What is a nested template with mr.bob?

But couldn't we split the template into two parts:

1) Two or more main skeletons for different depth of namespace packages, 
which would only create setup.py and minimal folder structure with 
__init__.pys.

2) Sub-templates for creating features inside the skeletion created in 
1). pre-question hooks could figure out the package the context (like 
the curren package name) and render-hooks could inject new lines to e.g. 
configure.zcml when required.

ZopeSkel had something like this? Was there issues with it (besides its 
dependencies)?

Regards,
Asko

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.