Z3 ECM Enterprise Content Management for Zope3
Document Actions

07/30/2007

pdb'ing to eggs installed with zc.buildout

If you use zc.buildout to install eggs, it sometimes happens that you can't pdb into their code. The reason for this is that the egg is built in a temporary directory and then moved to its destination. During the build, setuptools creates .pyc files which contain an absolute path reference to the original .py file. Since it's done a temp directory, this reference will be ...
Posted by Philipp von Weitershausen @ 07/30/2007 06:40 PM. - Categories: Python1 comments

07/26/2007

Cheap binary Windows eggs

Thanks to Hanno Schlichting's howto, I've figured out how to create Windows eggs of those packages that have C extensions. This approach doesn't need Microsoft Visual Studio, nor does it require you to wade through a bunch of free Microsoft downloads that don't really work in the end anyway. Here's what I did: Installed the standard Python 2.4 distribution from the ...
Posted by Philipp von Weitershausen @ 07/26/2007 09:49 PM. - Categories: Python, Zope 3 -  0 comments

07/25/2007

Please stop using request.RESPONSE

The uppercasing of the REQUEST and RESPONSE variables is a Zope2ism that should die. Sometimes it may still be necessary to write REQUEST (e.g. when acquiring it from somewhere or taking it as a parameter, but even then you should really ask yourself whether you shouldn't rather write a view component). Either way, writing request.RESPONSE is completely unnecessary because ...
Posted by Philipp von Weitershausen @ 07/25/2007 09:07 PM. - Categories: Zope 22 comments

07/17/2007

Grok movie trailer

Zope is back (by Martijn Faassen).
Posted by Philipp von Weitershausen @ 07/17/2007 10:58 AM. - Categories: Grok -  0 comments

07/15/2007

mkzopeapp now called zopeproject

After expressing my wish to kill Zope instances in a recent blog post, I had been discussing these ideas with Jim Fulton and Martijn Faassen. Their valuable feedback had led to some refactorings of mkzopeapp, the tool that would set you up with a Zope development sandbox (which would basically replace instances as a concept). Last week at EuroPython, I presented my ideas in a lightning talk ...
Posted by Philipp von Weitershausen @ 07/15/2007 11:43 PM. -  0 comments

07/07/2007

Death to instances!

There. I've said it. You can beat me up now. Finished? Ok, then I can get to my point: I think Zope instances are an overcome concept, now that we've finally sorted out that Zope isn't an application anymore. Confused? Fair enough, I'll explain. Overcoming an identity crisis Zope is in an identity crisis. Both Zope 2 and 3 don't really know what they want to be. A content management ...
Posted by Philipp von Weitershausen @ 07/07/2007 01:10 AM. - Categories: Python, Zope 2, Zope 32 comments
Last modified: 12/07/2005 11:02 AM