Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev
zope.container analysis
 

Index | Next | Previous | View Flat


chrism at plope

May 14, 2009, 8:05 PM


Views: 583
Permalink
zope.container analysis

zope.container (32 transitive dependencies) has some possibly low-hanging
dependency tease-apart fruit. Does anyone have any ideas about to sort out the
below, particularly with externalizing the mentioned interface dependencies?

- It depends on zope.filerepresentation but depends only on its interfaces
IReadDirectory, IWriteDirectory, and IDirectoryFactory.
(zope.filerepresentation has 32 transitive dependencies).

- It depends on zope.app.dependable but depends only on its interfaces
IDependable and DependencyError. (note: zope.app.dependable might
be a candidate to be called zope.dependable as it depends on no other zope.app
packages; it does depend on about 20 other zope.* packages transitively tho).

- It depends on zope.publisher, but only its interfaces browser.IBrowserRequest,
browser.IBrowserPublisher, NotFound, IDefaultViewName,
xmlrpc.IXMLRPCPublisher, and IPublishTraverse.

- I was able to break a runtime logic dependency on zope.traversing by
disusing zope.traversing.api.getPath in favor of using
ILocationInfo(object).getPath(). The rest of the runtime dependencies on
zope.traversing are interface dependencies (ITraversable, IContainmentRoot).

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Subject User Time
zope.container analysis chrism at plope May 14, 2009, 8:05 PM
    Re: zope.container analysis chrism at plope May 14, 2009, 10:41 PM
        Re: zope.container analysis hannosch at hannosch May 15, 2009, 2:11 AM
        Re: zope.container analysis faassen at startifact May 15, 2009, 4:24 AM
    Re: zope.container analysis faassen at startifact May 15, 2009, 4:17 AM
        Re: zope.container analysis srichter at cosmos May 15, 2009, 6:15 AM
            Re: zope.container analysis faassen at startifact May 15, 2009, 7:24 AM
                Re: zope.container analysis wichert at wiggy May 15, 2009, 2:07 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.