doc/book/devweb/ajax.rst
author julien tayon <julien.tayon@logilab.fr>
Tue, 11 Jun 2019 09:07:24 +0200
changeset 12637 234ca3cbbb46
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
[py3] Use sorted(key=...) instead of sorted(cmp=...)

.. _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