Pyramid¶
cubicweb.pyramid provides a way to bind a CubicWeb data repository to a
Pyramid WSGI web application.
It can be used in two different ways:
- Through the pyramid command or through
cubicweb.pyramid.wsgi_application()WSGI application factory, one can run anall-in-oneCubicWeb instance with the web part served by a Pyramid application. This is referred to as the backwards compatible mode. - Through the
pyramidconfiguration type, one can setup a CubicWeb instance which repository can be used from within a Pyramid application. Such an instance may be launched throughpserveor any WSGI server as would any plain Pyramid application.