[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ObjectHub/Views - __init__.py:1.1 configure.zcml:1.1
Gary Poster
gary@modernsongs.com
Tue, 29 Oct 2002 22:47:49 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ObjectHub/Views
In directory cvs.zope.org:/tmp/cvs-serv4759/App/OFS/Services/ObjectHub/Views
Added Files:
__init__.py configure.zcml
Log Message:
This checkin cleans up the ObjectHub system.
First of all, the Zope.ObjectHub and Zope.App.OFS.Services.LocalObjectHub packages are gone, replaced by Zope.App.OFS.Services.ObjectHub, as per discussion with Jim and Steve.
Second, the hub events have been modified to match Jim's approach with the ObjectEvents (i.e., events are usually handed an object at the get go whenever possible). Incidentally, this also coincides with making the "moved" hub event implementation actually coincide with the interface (by including fromLocation). This is as per discussion with Jim.
Third, lookupLocation and lookupHubid have been switched to getLocation and getHubid. This is a bit of a ninja-checkin or whatever the term is since I didn't bandy this change about beforehand. :-( Sorry. If folks say nay then I will take responsibility for removing this change.
I think that's about it.
=== Added File Zope3/lib/python/Zope/App/OFS/Services/ObjectHub/Views/__init__.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Local Object Hub Views"""
=== Added File Zope3/lib/python/Zope/App/OFS/Services/ObjectHub/Views/configure.zcml ===
<zopeConfigure xmlns='http://namespaces.zope.org/zope'>
<include package=".Browser" />
</zopeConfigure>