doc/book/en/devweb/ajax.rst
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 16 Apr 2013 13:44:01 +0200
branchstable
changeset 8890 57ffd0e0643d
parent 8480 086cff6a306a
permissions -rw-r--r--
[clean_session] revert itervalues usage from 0bb18407c053 self.close(session) changes the self._sessions content. We need to create a full list of value before starting closing them.

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