doc/book/devweb/ajax.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Mon, 30 May 2016 17:41:12 +0200
changeset 11344 847ab4bdd985
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
[schema] Cache RQL expressions on schema loading Add a mapping rql string to rql statement Deserializing schema is ~36% faster with a lot (> 4000) expressions like those generated by cubicweb-container.

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