[Zope3-dev] Re: Separate presentation packages
Lex Berezhny
LBerezhny at DevIS.com
Tue Feb 17 11:12:28 EST 2004
On Tue, 2004-02-17 at 04:28, Jim Fulton wrote:
> Garrett Smith wrote:
> > I'd like to see modular functionality (hand waving) organized as follows:
> >
> > modfoo
> > --------------------
> > modfoo/interfaces.py
> > modfoo/modfoo.py or modfoo/_modfoo.py
> > modfoo/__init__.py + imports of modfoo.py/_modfoo.py (optional)
>
> yes
>
> > modfoo/browser.py or modfoo/browser/ depending on UI complexity
> > modfoo/*.py (other implementation modules)
>
> plus:
>
> modfoo/*.pt (template modules)
> modfoo/*.jpg (images)
> configure.zcml
>
> And I think that this provides less separation than we should have.
Why can't *.pt and *.jpg go into the browser directory? I have not
developed Zope3 products yet, but from looking in zope3 Products CVS I
can see that bugtracker has all of its *.pt files in the browser
directory.
More information about the Zope3-dev
mailing list