[Subversion] / PEAK / CHANGES.txt  

Diff of /PEAK/CHANGES.txt

Parent Directory | Revision Log

version 1813, Thu Sep 30 19:29:17 2004 UTC version 1814, Thu Sep 30 22:59:07 2004 UTC
Line 1 
Line 1 
 Fixes and Enhancements since Version 0.5 alpha 3  Fixes and Enhancements since Version 0.5 alpha 3
   
    - Most 'peak.web' interfaces have changed significantly.  If you implemented
      anything based on the older interfaces, and it still works, it's sheer
      bloody luck.  In particular, note that every method in 'web.IWebTraversable'
      now has different inputs and/or outputs than before.  Please read the new
      interface docs and update your code!  The changed interfaces offer much
      more flexibility and functionality than before, but they will require you to
      update your code.
   
    - 'web.ContainerAsTraversable' has been removed.  It was redundant, since the
      new default traversal mechanism used by 'Traversable' and 'Decorator' now
      handles getitem, getattr, and views.
   
  - Added Zope 3-like "namespaces" to 'peak.web'.  Path segments in a URL   - Added Zope 3-like "namespaces" to 'peak.web'.  Path segments in a URL
    may be prefixed with '"++some_id++"' in order to invoke a corresponding     may be prefixed with '"++some_id++"' in order to invoke a corresponding
    namespace handler registered under '"peak.web.namespaces.some_id".     namespace handler registered under '"peak.web.namespaces.some_id"'.
    Namespace handlers must implement 'web.INamespaceHandler', and they are     Namespace handlers must implement 'web.INamespaceHandler', and they are
    supplied with the original path segment as well as the separated namespace     supplied with the original path segment as well as the separated namespace
    and name.  Also, as in Zope 3, '"@@foo"' is a shortcut for '"++view++foo"'.     and name.  Also, as in Zope 3, '"@@foo"' is a shortcut for '"++view++foo"'.
    Builtin namespaces at this time include 'view', 'item', 'attr', 'skin', and     Builtin namespaces at this time include 'view', 'item', 'attr', 'skin', and
    'resources'.  'skin' treats the rest of its path segment as a skin name,     'resources'.  'skin' treats the rest of its path segment as a skin name,
    and sets the current skin, and 'resources' begins traversal to resources     and sets the current skin, while 'resources' begins traversal to resources
    found in the current skin.  The other namespaces are as described at:     found in the current skin.  The other namespaces are as described at:
   
    "Resources and traversal in peak.web":http://www.eby-sarna.com/pipermail/peak/2004-August/001712.html     "Resources and traversal in peak.web":http://www.eby-sarna.com/pipermail/peak/2004-August/001712.html


Generate output suitable for use with a patch program
Legend:
Removed from v.1813  
changed lines
  Added in v.1814

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help