Cromlech & Dolmen

An opensource low-level WSGI framework

Browse the sources


Cromlech Overview

Cromlech is the namecode of a toolkit based on the legacy of Grok and Zope3.

The project and motivation was born from an extensive experience with these frameworks, in the domain of custom WEB application development.

The focus was : a very small and clean dependencies list, a traceable and understandable publication process, the use of well defined and precise structure that don't overdo their part. Long story short : the full control of the stack. The base philosophy is : spend your time coding, not trying to understand and parameter. If it's not there, do it yourself.

What is Cromlech ?

Cromlech is divided in small packages that are dedicated to defining components. To the Cromlech Team, Zope has shown the limit of the Component Architecture provoked by the deep intertwinement of the definition and the implementation. In order to deliver a truly pluggable and clean system, the Cromlech Team took the decision to strictly separate the implementations and the definitions.

Defining the entities

cromlech.browser is the backbone of a web application. It defines the primitive and utmost basic entities of an application : the request, the response and the actors linked to it, namedly the publication and the application itself.

It also defines an extensive set of publisheable actors, from the forms and views to the sub-components, known in Zope/Grok as viewlets, viewletmanagers.

Proposing implementations

Cromlech offers some implementations, but always separated from their definitions. Some Cromlech packages provide framework-level components and others, merely utilities or 'fundamental' middlewares.

Pre-requisites

Cromlech runs on :