doc/book/pyramid/index.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 19 Jan 2017 15:27:39 +0100
changeset 11899 bf6106b91633
parent 11631 faf279e33298
child 12093 fa341698ac9c
permissions -rw-r--r--
[schema] load schema from modules names instead of directories Introspect cubicweb, cubes and apphome using pkgutil to generate the full list of modules names for loading the schema. Keep historical behavior and check if source .py file exists if a module is found using python bytecode file (.pyc and .pyo) Loading schema from apphome require apphome to be present in sys.path and that "schema" module resolve to a file located in apphome. Update migraction tests to explicitely update sys.path when loading schema from different apps, use a contextmanager for this so it's more readable. Require updated logilab-common and yams

================
Pyramid Cubicweb
================

Pyramid Cubicweb is an attempt to rebase the CubicWeb framework on pyramid.

It can be used in two different ways:

-   Within CubicWeb, through the 'pyramid' cube and the
    :ref:`pyramid command <cubicweb-ctl_pyramid>`.
    In this mode, the Pyramid CubicWeb replaces some parts of
    CubicWeb and make the pyramid api available to the cubes.

-   Within a pyramid application, it provides easy access to a CubicWeb
    instance and registry.

Narrative Documentation
=======================

.. toctree::
    :maxdepth: 2
    
    quickstart
    ctl
    settings
    auth
    profiling

Api Documentation
=================

.. toctree::
    :maxdepth: 2
    :glob:

    ../../api/pyramid