TODO.rst
author Christophe de Vienne <christophe@unlish.com>
Wed, 09 Jul 2014 17:14:32 +0200
changeset 11484 39768d122f97
parent 11480 79ac26923432
child 11491 6ba31f0c7d5a
permissions -rw-r--r--
Isolate the default handler and extend its role The handler now does the job of CubicWebPublisher.main_handle_request() and calls CubicWebPublisher.core_handle(). Instead of using config.add_notfound_view, a catchall route is defined and the handler plugged to it. 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.