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

Mailing List Archive: Zope: Dev
zope.app.publication dependencies (volunteers needed!)
 

Index | Next | Previous | View Flat


faassen at startifact

May 13, 2009, 10:55 AM


Views: 1334
Permalink
zope.app.publication dependencies (volunteers needed!)

Hi there,

zope.app.publisher is depended on by quite a bit of code that uses the
Zope Toolkit, as it defines brower:view and browser:resource and the like.

Unfortunately zope.app.publisher currently depends on more than 60
packages. This is rather excessive, and we'd like to cut down on this.

Also interesting about zope.app.publisher is that while it defines a
'browser' directory it actually doesn't contain any ZMI code; instead
ZCML directives are defined there. Refactoring so the ZMI isn't around
anymore is usually a good first step, but that's not needed here.

If you look at the dependency graph for zope.app.publisher the task of
fixing this looks daunting:

http://startifact.com/depgraphs/zope.app.publisher.svg

But now please observe the following:

http://startifact.com/depgraphs/zope_app_publisher_cycles.svg

This identifies the main cycles in that dependency graph. If we break
those in the right way, we can cut down a lot of dependencies in one go.
Getting rid of the zope.app.form and zope.formlib dependencies looks
like a sensible step.

From this little graph, it looks clear we could do some of the
following things (research is needed to see how difficult they are):

* cut the dependency of zope.app.publisher on zope.app.component

* OR cut the dependency of zope.app.component on zope.formlib

* cut the dependency of zope.app.publisher on zope.app.publication

* OR cut the dependency of zope.app.component on zope.app.security

* cut the dependency of zope.app.publisher on zope.app.publication

* OR cut the dependency of zope.app.publication on zope.app.exception

* OR cut the dependency of zope.app.exception on zope.formlib

There are probably a few more options there, but given that small graph,
you get the picture.

Any volunteers to do this research on how hard some of these steps would
look and report back here? Once we've discussed the options we can
proceed fixing the problem.

Regards,

Martijn

_______________________________________________
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.app.publication dependencies (volunteers needed!) faassen at startifact May 13, 2009, 10:55 AM
    Re: zope.app.publication dependencies (volunteers needed!) mh at gocept May 13, 2009, 11:58 PM
        Re: zope.app.publication dependencies (volunteersneeded!) dev at projekt01 May 14, 2009, 2:00 AM
            Re: zope.app.publication dependencies (volunteersneeded!) mh at gocept May 14, 2009, 2:38 AM
                Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 14, 2009, 3:05 AM
                    Re: zope.app.publication dependencies (volunteersneeded!) mh at gocept May 14, 2009, 3:51 AM
                        Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 14, 2009, 6:02 AM
                            Re: zope.app.publication dependencies (volunteersneeded!) mh at gocept May 15, 2009, 12:38 AM
                                Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 15, 2009, 4:30 AM
                                    Re: zope.app.publication dependencies (volunteersneeded!) mh at gocept May 18, 2009, 1:17 PM
                                        Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 19, 2009, 6:26 AM
                                            Re: zope.app.publication dependencies (volunteersneeded!) srichter at cosmos May 19, 2009, 6:42 AM
                                            Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 19, 2009, 2:04 PM
                                                Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 19, 2009, 2:22 PM
                                                    Re: zope.app.publication dependencies (volunteersneeded!) tseaver at palladion May 20, 2009, 6:51 AM
                                                    Re: zope.app.publication dependencies (volunteersneeded!) shane at hathawaymix May 20, 2009, 10:06 AM
                                                        Re: zope.app.publication dependencies (volunteersneeded!) wichert at wiggy May 20, 2009, 10:34 AM
                                                        Re: zope.app.publication dependencies (volunteersneeded!) faassen at startifact May 20, 2009, 11:55 AM
        Re: zope.app.publication dependencies (volunteers needed!) faassen at startifact May 14, 2009, 2:56 AM
    Re: zope.app.publication dependencies (volunteers needed!) chrism at plope May 14, 2009, 3:09 PM
        Re: zope.app.publication dependencies (volunteers needed!) hannosch at hannosch May 14, 2009, 3:36 PM
            Re: zope.app.publication dependencies (volunteers needed!) chrism at plope May 14, 2009, 4:10 PM
                Re: zope.app.publication dependencies (volunteers needed!) faassen at startifact May 15, 2009, 4:09 AM
            Re: zope.app.publication dependencies (volunteers needed!) faassen at startifact May 15, 2009, 4:01 AM
        Re: zope.app.publication dependencies (volunteers needed!) chrism at plope May 14, 2009, 3:38 PM
        Re: zope.app.publication dependencies (volunteers needed!) faassen at startifact May 15, 2009, 4:00 AM
            Re: zope.app.publication dependencies (volunteers needed!) chrism at plope May 17, 2009, 4:39 PM
                Re: zope.app.publication dependencies (volunteers needed!) hannosch at hannosch May 18, 2009, 2:12 AM
                Re: zope.app.publication dependencies (volunteers needed!) faassen at startifact May 22, 2009, 9:57 AM

  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.