doc/book/devweb/ajax.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 04 Jan 2017 10:02:05 +0100
branch3.24
changeset 11901 afd7657a6d65
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
Never record undo information for session or data import for session, it may causes unlimited database size expansion while it makes no sense to undo this kind of changes. For data import, they are created programatically hence we may not want to undo this either.

.. _ajax:

Ajax
----

CubicWeb provides a few helpers to facilitate *javascript <-> python* communications.

You can, for instance, register some python functions that will become
callable from javascript through ajax calls. All the ajax URLs are handled
by the :class:`cubicweb.web.views.ajaxcontroller.AjaxController` controller.

.. automodule:: cubicweb.web.views.ajaxcontroller