You are here: Home

Modified items

All recently modified items, latest first.
RPMPackage zope.login-1.0.0-2.lbn13.noarch
Login helpers for zope.publisher / authentication.
RPMPackage zope.location-3.9.1-2.lbn13.noarch
In Zope3, location are special objects that has a structural location.
RPMPackage zope.lifecycleevent-3.6.2-2.lbn13.noarch
================= Life-cycle events ================= In Zope 3, events are used by components to inform each other about relevant new objects and object modifications. To keep all subscribers up to date it is indispensable that the life cycle of an object is accompanied by various events. >>> from zope.event import notify >>> from zope.lifecycleevent import ObjectCreatedEvent, ObjectModifiedEvent >>> class Sample(object) : ... "Test class" >>> obj = Sample() >>> notify(ObjectCreatedEvent(obj)) >>> obj.modified = True >>> notify(ObjectModifiedEvent(obj)) Zope 3's Dublin Core Metadata for instance, rely on the bare ObjectCreatedEvent and ObjectModifiedEvent to record creation and modification times. Other event consumers like catalogs and caches may need more information to update themselves in an efficient manner. The necessary information can be provided as optional modification descriptions of the ObjectModifiedEvent. Some examples: >>> from zope.interface import Interface, Attribute, implements >>> class IFile(Interface): ... data = Attribute("Data") ... >>> class File(object): ... implements(IFile) ... >>> file = File() >>> file.data = "123" >>> notify(ObjectModifiedEvent(obj, IFile)) This says that we modified something via IFile. Note that an interface is an acceptable description. In fact, we might allow pretty much anything as a description and it depends on your needs what kind of descriptions you use. In the following we use an IAttributes description to describe in more detail which parts of an object where modified : >>> file.data = "456" >>> from zope.dublincore.interfaces import IZopeDublinCore >>> from zope.interface import directlyProvides >>> from zope.annotation.interfaces import IAttributeAnnotatable >>> directlyProvides(file, IAttributeAnnotatable) >>> IZopeDublinCore(file).title = u"New title" >>> IZopeDublinCore(file).title = u"New description" >>> from zope.lifecycleevent import Attributes >>> event = ObjectModifiedEvent( ... obj, ... Attributes(IFile, 'data'), ... Attributes(IZopeDublinCore, 'title', 'description'), ... ) >>> notify(event) This says we modified the file data and the DC title and description. ======= CHANGES ======= 3.5.2 (2009-05-17) ------------------ - ``IObjectMovedEvent``, ``IObjectAddedEvent``, ``IObjectRemovedEvent`` interfaces and ``ObjectMovedEvent``, ``ObjectAddedEvent`` and ``ObjectRemovedEvent`` classes copied here from zope.container (plus tests). The intent is to allow packages that rely on these interfaces or the event classes to rely on zope.lifecycleevent (which has few dependencies) instead of zope.container (which has many). 3.5.1 (2009-03-09) ------------------ - Remove deprecated code and thus remove dependency on zope.deferredimport. - Change package's mailing list address to zope-dev at zope.org, as zope3-dev at zope.org is now retired. - Update package's description and documentation. 3.5.0 (2009-01-31) ------------------ - Remove old module declarations from classes. - Use zope.container instead of zope.app.container. 3.4.0 (2007-09-01) ------------------ Initial release as an independent package
RPMPackage zope.kgs-1.2.0-2.lbn13.noarch
Known-Good-Set (KGS) Support
RPMPackage zope.keyreference-3.6.4-2.lbn13.noarch
zope.keyreference
RPMPackage zope.intid-3.7.2-2.lbn13.noarch
zope.intid
RPMPackage zope.interface-4.0.1-4.lbn13.x86_64
This package provides an implementation of "object interfaces" for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python.
RPMPackage zope.index-3.6.4-1.lbn13.x86_64
Zope Cataloging and Indexing Framework Catalogs provide management of collections of related indexes with a basic search algorithm.
RPMPackage zope.i18nmessageid-3.5.3-1.lbn13.x86_64
To translate any text, we must be able to discover the source domain of the text. A source domain is an identifier that identifies a project that produces program source strings. Source strings occur as literals in python programs, text in templates, and some text in XML data. The project implies a source language and an application context. We can think of a source domain as a collection of messages and associated translation strings. We often need to create unicode strings that will be displayed by separate views. The view cannot translate the string without knowing its source domain. A string or unicode literal carries no domain information, therefore we use messages. Messages are unicode strings which carry a translation source domain and possibly a default translation. They are created by a message factory. The message factory is created by calling MessageFactory with the source domain. This package provides facilities for delaring such messages within program source text; translation of the messages is the responsiblitiy of the 'zope.i18n' package.
RPMPackage zope.i18n-3.8.0-2.lbn13.noarch
This package implements several APIs related to internationalization and localization. * Locale objects for all locales maintained by the ICU project. * Gettext-based message catalogs for message strings. * Locale discovery for Web-based requests.
RPMPackage zope.html-2.1.0-2.lbn13.noarch
HTML and XHTML Editing Support
RPMPackage zope.hookable-4.0.0-2.lbn13.x86_64
Hookable object support. Support the efficient creation of hookable objects, which are callable objects that are meant to be replaced by other callables, at least optionally. The idea is you create a function that does some default thing and make it hookable. Later, someone can modify what it does by calling its sethook method and changing its implementation. All users of the function, including those that imported it, will see the change.
RPMPackage zope.globalrequest-1.0-2.lbn13.noarch
Global way of retrieving the currently active request.
RPMPackage zope.formlib-4.0.6-2.lbn13.noarch
Forms are web components that use widgets to display and input data. Typically a template displays the widgets by accessing an attribute or method on an underlying class. For further information, please refer to form.txt, namedtemplate.txt and errors.txt inside the zope.formlib package.
RPMPackage zope.filerepresentation-3.6.1-2.lbn13.noarch
The interfaces defined here are used for file-system and file-system-like representations of objects, such as file-system synchronization, FTP, PUT, and WebDAV.
RPMPackage zope.file-0.6.2-1.lbn13.noarch
Efficient File Implementation for Zope Applications
RPMPackage zope.exceptions-3.6.2-2.lbn13.noarch
This package contains exception interfaces and implementations which are so general purpose that they don't belong in Zope application-specific packages.
RPMPackage zope.event-3.5.2-1.lbn13.noarch
The ``zope.event`` package provides a simple event system. It provides: - An event publishing system - A very simple event-dispatching system on which more sophisticated event dispatching systems can be built. For example, a type-based event dispatching system that builds on ``zope.event`` can be found in ``zope.component``
RPMPackage zope.error-3.7.4-2.lbn13.noarch
This package provides an error reporting utility which is able to store errors.
RPMPackage zope.dublincore-3.8.2-2.lbn13.noarch
zope.dublincore provides a Dublin Core support for Zope-based web applications. This includes: * an IZopeDublinCore interface definition that can be implemented by objects directly or via an adapter to support DublinCore metadata. * an IZopeDublinCore adapter for annotatable objects (objects providing IAnnotatable from zope.annotation). * a partial adapter for objects that already implement some of the IZopeDublinCore API, * a "Metadata" browser page (which by default appears in the ZMI), * subscribers to various object lifecycle events that automatically set the created and modified date and some other metadata.