doc/book/en/devweb/ajax.rst
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 16 Dec 2011 12:30:12 +0100
changeset 8128 0a927fe4541b
child 8480 086cff6a306a
permissions -rw-r--r--
[controllers] deprecate JSonController and implement AjaxController / ajax-func registry (closes #2110265)

.. _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 ``AjaxController`` controller.

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