Over two years ago I wrote a blog entry called . I've just updated it in order to:
* Change the wording
* Update the links
* Add some comments
WHAT'S CHANGED?
As change in technology is constant, you can expect a few details to differ between then and now. Though I generally don't like the term "best practice" I do like to write about "how I do it now" vs "how I did it then".
BUILDOUT
Since "Hello, Plone!" was published Buildout 2.0.0 was released and BUILDOUT HAS GIVEN UP ON ATTEMPTING TO PROVIDE MODULE ISOLATION in the same way virtualenv that does. Why? Virtualenv does it better. So if you want to isolate your development from a larger Python installation, use virtualenv. I routinely use both Buildout and Virtualenv.
BUILDOUT HOSTING
Ever since I wrote I've been maintaining a collection of buildouts. Most recently, I've moved them to a project called . You can also find a bunch of archived buildouts here: .
ZOPESKEL
For folks new to Plone and Python development, it's often helpful to use a code generator to get started developing. The original helloplone included some ZopeSkel instructions. In this round, I've opted to include manual instructions instead e.g.:
$ touch my.app/my/app/init.py
$ touch my.app/my/app/configure.zcml
Why? Generally speaking, I now prefer to educate folks about Python packaging more so than code generation.
Check out the new old post here: .
via Planet Python
Full Post
No comments:
Post a Comment