Jump to revision: | |
---|---|
Author: | pje |
Date: | Sun Dec 21 21:44:27 2003 UTC (20 years, 4 months ago) |
Log Message:
Significant refactoring of skin/layer/resource/interaction/service classes in 'peak.web'. Primary goal was to allow layers to be shared between skins, but several other things were also accomplished: * Got rid of properties to configure services and factories, using "[Component Factories]" mechanism instead. * Added explicit interfaces for auth/skin/layer/resource services * Interaction and InteractionPolicy implement various services by delegation, so things like 'interaction.skin.getResource()' are now 'interaction.getResource()' and 'policy.skinSvc.getSkin()' is now 'policy.getSkin()', etc. * Cleaned up various "spaghetti bindings" that wandered all over the place. * Added 'IInteractionPolicy.newInteraction()' for cleaner creation of interaction instances. * Added layer service mechanism to allow layers to be reused among skins. Layers are defined in the 'peak.web.layers' property namespace. * Added skin service mechanism that locates skins using 'interaction.skinName' (which defaults to '"default"'). Skins are defined in the 'peak.web.skins' property namespace. * Simplified 'config.CreateViaFactory' to allow factories with no arguments.
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/TODO.txt | modified | X | (diff to previous) | |
PEAK/src/peak/config/config_components.py | modified | X | (diff to previous) | |
PEAK/src/peak/peak.ini | modified | X | (diff to previous) | |
PEAK/src/peak/web/interfaces.py | modified | X | (diff to previous) | |
PEAK/src/peak/web/publish.py | modified | X | (diff to previous) | |
PEAK/src/peak/web/resources.py | modified | X | (diff to previous) | |
PEAK/src/peak/web/skins.py | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |