[Zope-dev] Integrating Five code properly into Zope2?
Christian Theune
ct at gocept.com
Mon Jul 27 06:56:55 EDT 2009
On 07/26/2009 06:42 PM, Hanno Schlichting wrote:
> Hi.
>
> I'd like to push code and ZCML from Products.Five into the appropriate
> places in Zope2.
>
> For example event.zcml registering events for OFS items, should live
> in the OFS package. i18n.zcml setting up stuff for the request or the
> publisher should live in the ZPublisher package, security bridging
> code for zope.security vs. AccessControl should go into AccessControl,
> test setup and support code should live in Testing, ... startup code
> and site.zcml handling should live in the Zope2.Startup package and so
> on. There's probably some bridging code left in Five which has no real
> place to go in Zope2. Like formlib wrapping / bridging code - I'd
> leave this in Five for the time being until we get a clearer picture
> of what is actually left in there.
>
> Given our current deprecation policy, I'd leave indefinite backwards
> compatibility imports in place and do the same for ZCML files. It
> would be work targeted at the lucky numbered Zope 2.13 ;-)
>
> Do people generally agree with this direction?
Sounds good: putting the domain-specific code into the Five package
compares to sorting your books by colour.
Christian
--
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
More information about the Zope-Dev
mailing list