This repository has been archived by the owner on Dec 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
View Templates
License
zopefoundation/z3c.viewtemplate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
.. caution:: This repository has been archived. If you want to work on it please open a ticket in https://github.com/zopefoundation/meta/issues requesting its unarchival. This package allows us to separate the registration of the view code and the view templates. Why is this a good thing? While developing customizable applications that require us to develop multiple customer UIs for one particular application, we noticed there is a fine but clear distinction between skins and layers. Layers contain the logic to prepare data for presentation output, namely the view classes. Skins, on the other hand contain the resources to generate the UI, for example templates, images and CSS files. The problem of the existing infrastructure is that code, template and layer are all hardlinked in one zcml configuration directive of the view component -- page, content provider, viewlet. This package separates this triplet -- code, template, layer -- into two pairs, code/layer and template/skin. No additional components are introduced, since skins and layers are physically the same components.
About
View Templates
Resources
License
Security policy
Stars
Watchers
Forks
Packages 0
No packages published