[Subversion] / PEAK / CHANGES.txt  

Revision 1350


Jump to revision:
Previous Next
Author: pje
Date: Tue Aug 19 23:07:30 2003 UTC (20 years, 8 months ago)

Log Message:

Misc. peak.binding cleanups and DEPRECATIONS, as follows:

 - The following 'binding' forms are now deprecated, and will go away before
   0.5 beta is released:

   'bindToProperty(x,y)' -- use 'bindTo(PropertyName(x),default=y)'

   'bindToParent()' -- use 'bindTo("..")'

   'bindToSelf()'  -- use 'bindTo(".")'

   'bindToUtilities()' -- no replacement; let me know if you're using this.

 - 'naming.IName' is now derived from 'binding.IComponentKey', so names and
   addresses must now support the 'findComponent()' method.  All PEAK name
   and address types provide support for this.

 - The 'lookup()' method of 'binding.IComponentKey' is now called
   'findComponent()', to better distinguish it from 'lookup()' in
   'naming.IBasicContext', which does something very different.

 - 'binding.bindTo()' and 'binding.bindSequence()' now pre-adapt their
   arguments to 'IComponentKey', to speed lookups at runtime, and to ensure
   that errors due to an unusable parameter type occur at class creation
   time instead of waiting until lookup time.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/CHANGES.txt modified X   (diff to previous)
PEAK/src/peak/binding/components.py modified X   (diff to previous)
PEAK/src/peak/binding/interfaces.py modified X   (diff to previous)
PEAK/src/peak/binding/tests/__init__.py modified X   (diff to previous)
PEAK/src/peak/config/tests/__init__.py modified X   (diff to previous)
PEAK/src/peak/naming/URL.py modified X   (diff to previous)
PEAK/src/peak/naming/interfaces.py modified X   (diff to previous)
PEAK/src/peak/naming/names.py modified X   (diff to previous)
PEAK/src/peak/running/commands.py modified X   (diff to previous)
PEAK/src/peak/running/tools/n2/sql.py modified X   (diff to previous)
PEAK/src/peak/storage/SQL.py modified X   (diff to previous)
PEAK/src/peak/storage/connections.py modified X   (diff to previous)
PEAK/src/peak/storage/transactions.py modified X   (diff to previous)
PEAK/src/peak/storage/xmi.py modified X   (diff to previous)
PEAK/src/peak/web/resources.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help