Revision 1559
Jump to revision: |
|
Author: |
pje |
Date: |
Sun Dec 21 21:44:27 2003 UTC (20 years, 3 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: