doc/book/devweb/ajax.rst
author David Douard <david.douard@logilab.fr>
Wed, 02 Nov 2016 15:59:39 +0100
changeset 11793 b455460630a0
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
[config] fix the load_site_cubicweb() method for to 'new-style' cubes (closes #16059402) We first try to load the site_cubicweb module from the cubicweb_<cube> package, and if it fails, revert back to old cube path.

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