[Zope3-dev] Re: Separate presentation packages

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Feb 18 09:42:25 EST 2004


On Tuesday 17 February 2004 11:12, Lex Berezhny wrote:
> >     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.

They usually do, but if you have a tiny product with only one template or 
icon, then it is not worth creating a browser package. But for big projects 
like the bug tracker, you should definitely create a package and leave the 
data files and templates there.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-dev mailing list