[Zope3-Users] Re: Refreshing possible yet?
Peter Bengtsson
peter at fry-it.com
Tue Nov 7 06:04:35 EST 2006
Philipp von Weitershausen wrote:
> To answer the question right away: No.
>
> Peter Bengtsson wrote:
>> Since I'm still an eager zope3 newbie the misstakes I make are the
>> kind of misstakes that you can't really write unittests for, like
>> missing directives in the configure.zcml or incorretly use of browser
>> views.
>> This is to an expert simple deployment but since I have to look up
>> everything I do by example or by Phillipps book I tend to make a lot
>> of simple little misstakes. Having to restart every time is quite
>> annoying now. Is there a "module refreshing" tool available yet?
>
> Gintautas Miliauskas once wrote a simple view refreshing tool. It's a
> hack, I don't know if it works reliably. And it's limited to views. See
> http://codespeak.net/svn/z3/z3reload/trunk/.
>
Cool. We'll have a look once I understand it a bit more.
>> I'll give in and rely on unittests instead of trial-and-error once
>> I've got the site up and running but for the moment it feels it's a
>> bore to have to wait for the restart 3-6 seconds for every little change.
>
> I agree. Reloading modules in Python, especially when you store
> references to global objects like component registries do, is highly
> non-trivial, though... There are some ideas floating around, but it'll
> take a bit for us to synthesize them into something that may or may not
> work... Sorry.
>
I'd love to contribute but at the moment if feels far to complex for my
limited knowledge of zope3.
Refreshing will become very useful.
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Zope3-users
mailing list