Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Dolmen CMS

Project Description

Dolmen is a simple application. The package dolmen.app.site provides an easy way to bootstrap your own applications. It exposes two elements, the Dolmen object and the IDolmen interface.

This creation of Dolmen Application is straightforward:

>>> import grokcore.component as grok
>>> from zope.event import notify
>>> from zope.lifecycleevent import ObjectCreatedEvent
>>> from dolmen.app.site import Dolmen, IDolmen

>>> rocks = Dolmen()
>>> notify(ObjectCreatedEvent(rocks))

>>> IDolmen.providedBy(rocks)
True

It’s a valid zope.component ISite:

>>> import zope.component
>>> from zope.component.interfaces import ISite, IPossibleSite
>>> from zope.site.site import LocalSiteManager
>>> IPossibleSite.providedBy(rocks)
True
>>> ISite.providedBy(rocks)
False
>>> site = LocalSiteManager(rocks)
>>> rocks.setSiteManager(site)
>>> rocks.getSiteManager()
<LocalSiteManager ++etc++site>

Dolmen is a dolmen.content Container (read dolmen.content documentation for more information):

>>> from dolmen.content import IContent, IContainer
>>> IContent.providedBy(rocks)
True
>>> IContainer.providedBy(rocks)
True

Changelog

0.2 (2011-03-06)

  • Added proper license file and tagging (ZPL).
  • Don’t use z3c.testsetup for tests anymore.
  • Dependencies on Grok has been dumped. We now depend on grokcore.site.
  • Cleaned code and dependencies.
  • Stripped down the ftesting.zcml of all the useless statements.

0.1 (2009-10-27)

  • Internal release
Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dolmen.app.site-0.2.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Mar 6, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting