Skip to main content

Implementations and means for configuration of Zope 3-style views and resources.

Project description

Overview

zope.publisher is a general purpose object publishing framework which delegates to a publication object for determining the to-be-published object. With Zope 3’s default publication from zope.app.publication, this is usually a view or a resource.

This package, zope.app.publisher, provides base implementations for those. It also provides ZCML directives for configuring views and resources. More specifically, zope.app.publisher defines the following ZCML directives:

  • browser:page

  • browser:pages

  • browser:view

  • browser:menu

  • browser:menuItem

  • browser:menuItems

  • browser:addMenuitem

  • browser:resource

  • browser:resourceDirectory

  • browser:defeaultSkin

  • browser:icon

  • xmlrpc:view

Changes

3.5.2 (2008-12-06)

  • Added possibility to specify custom item class in menuItem, subMenuItem and addMenuItem directives using the item_class argument (LP #291865).

  • Menu items registered with <browser:page/> were not re-registered after the first functional test layer ran. In any subsequent functional test layer the items where not availabe (introduced in 3.5.0a3).

  • Added a hook to specify a different BaseURL for resources. This makes sense if you want to put resources on a Content Delivery Network. All you need to do is to register an named Adapter ‘resource’ that implements IAbsoluteURL.

3.5.1 (2008-10-13)

  • Removed usage of deprecated LayerField from zope.app.component.back35.

3.5.0 (2008-08-05)

  • Refactored code to provide more hooks when deriving code from this pacakge.

    • A resource’s URL creation is now in its own method.

    • The resource class of factories can be overwritten.

    • The cache timeout value can now be set as a class or instance attribute.

3.5.0a4 (2007-12-28)

  • Backed out the changes for the controversial XML-RPC skin support.

3.5.0a3 (2007-11-27)

  • make it possible to override menus: this was not possible because new interfaces where created any time a menu with the same name was created.

  • Resolve ZopeSecurityPolicy deprecation warning.

3.5.0a2 (2007-08-23)

  • <browser:defaultView> now accepts classes as well as interfaces.

3.5.0a1 (2007-08-21)

  • Added a layer attribute to xmlrpc:view. This works just like layers for browser:view etc. but uses the IXMLRPCSkinType.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.app.publisher-3.5.2.tar.gz (58.3 kB view details)

Uploaded Source

File details

Details for the file zope.app.publisher-3.5.2.tar.gz.

File metadata

File hashes

Hashes for zope.app.publisher-3.5.2.tar.gz
Algorithm Hash digest
SHA256 92f885c0fceced5004be57f50e1d18fc9c096c762532b91c6a616e2447e4dab5
MD5 71ed9bed0091889f02a5d1885f20974e
BLAKE2b-256 ee4c720bcfc2f2c5be0e4495a967f4910b561193f7bc4d280b7ab701227edc44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page