doc/book/devweb/ajax.rst
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Mon, 10 Jun 2019 11:25:24 +0200
changeset 12649 47ecd8b5299b
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
[pkg] Use “dependency package” instead of “virtual package” to describe python3-cubicweb-postgresql-support The term “virtual” was too imprecise and is not accepted for empty packages by Lintian anymore.

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