[Zope3-Users] Local component and schema customization, howto?
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 20 10:29:11 EST 2006
On Monday 20 March 2006 01:31, Stephen Chan wrote:
> How would I configure zope to use a different component depending on the
> subfolder/site?
>
> For example, the user would see same menu "Add Recipe" and tab to "Edit
> Recipe", but depending on the folder, the recipe might stored in a
> different table or have a different edit form.
>
> In zope2, I would simply put a different database connector, edit form,
> and sql scripts ... with the same name in the subfolders. Acquisition
> would get the right component from the context.
In Zope 3 you would use specialized interfaces to fulfill this need. Also, by
making it different sites you can create separate database connections for
each region.
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-users
mailing list