plone/plone.app.theming — pull request #10 by optilude (2012-10-30 09:49:09+00:00)
Title: ZPT fragment support

Implements support for defining theme fragments using ZPT that can be included into the theme via ``href`` support. Some key considerations:

* Fragments are public: just like you can traverse to a theme resource directory and read the static HTML and other resources, you can traverse to a theme fragment; however...

* Themes execute in Restricted Python, so the current user's security applies

* Fragments are only available for the currently active theme

With this model, we avoid fragments becoming a generic view registration mechanism. There's no configuration, for instance, and fragments are tied directly to themes.