Professional Plone 4 Development book
Some weeks ago, Packt Publishing released Professional Plone 4 Development book, an update of the Professional Plone Development book written by Martin Aspeli.
This second edition is up to date with the latest and best practices of Plone 4.1, as well as other technologies that will land in next Plone versions.
For the readers of the first version of the book based on Plone 3, you will recognize the case study used throughout the book: the Optilux Cinema application.
The technologies covered by new chapters are (not exhaustive list) :
- Dexterity content types
- theming with Diazo/plone.app.theming and viewlets templates overrides with plone.app.themingplugins (which uses z3c.jbot underneath)
- an enquiry form with the z3c.form library,
- relation database development with SQLAlchemy for the "reservations of ticket and reporting" use case.
An advanced subject like how to log in with a Facebook account by writing a plugin for the Zope PAS (Pluggable Authentication Service) that uses OAuth API and Beaker with collective.beaker for caching is also covered.
Of course, throughout the book, you will write tests with the new plone.app.testing library instead of the old Products.PloneTestCase.
New tools are mentioned like mr.developer used to checkout packages, jarn.mkrelease to make the releases, z3c.checkversions to check for new package versions.
In the chapter entitled "Nice Core Concepts of Zope Programming", Martin explains among other thing object traversal, all you have to know about acquisition (implicit, explicit, chains), catalog search and how to use catalog brains efficiently. This is a refreshing remainder, even for me.
The concepts of the Zope Component Architecture are well explained with understandable examples.
It is a must-have in your books collection. I'm sure, you will find this book useful. Always keep it near you, so you can quickly look for a given example when developing your own project.