TODO.rst
author Christophe de Vienne <christophe@unlish.com>
Thu, 28 Aug 2014 11:20:57 +0200
changeset 11480 79ac26923432
child 11491 6ba31f0c7d5a
permissions -rw-r--r--
Initial implementation Set up a default route that passes requests to a cubicweb instance. The requests are wrapped in an adequate adapter so that cubicweb works with no change. Related to #4291173

Next steps
----------

Provide a ctl command
~~~~~~~~~~~~~~~~~~~~~

Add a 'pyramid' command for cubicweb-ctl that starts a cubicweb instance within
a pyramid container.

Transactions
~~~~~~~~~~~~

A common transaction handling mechanism should be used so that the connexion
can be safely used in both pyramid and cubicweb.

Authentication
~~~~~~~~~~~~~~

- Use cw as an authentication provider for the pyramid application.
- allow the cw application to use pyramid for getting user identity.

Cubicweb views
~~~~~~~~~~~~~~

Provide a simple api to call cubicweb views within pyramid views.

Error handling
~~~~~~~~~~~~~~

Have pyramid handle errors (with cubicweb views if wanted) so that we can use
the debuging tools.

Reimplement the base controllers of cw
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-   rest
-   static
-   data

Bypass cw.handle_request in most case
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Use it only when no other mean works, which should provide backward compat of
old cubes for a while.