# HG changeset patch # User Florent Cayré # Date 1334658531 -7200 # Node ID a9efb25337da1dfe002943d2301fc9b3bac25e45 # Parent 0ae27909e45b404a6e75a952d0fe8073512d62d1 small doc updates diff -r 0ae27909e45b -r a9efb25337da doc/3.15.rst --- a/doc/3.15.rst Tue May 15 10:32:53 2012 +0200 +++ b/doc/3.15.rst Tue Apr 17 12:28:51 2012 +0200 @@ -71,14 +71,14 @@ * New 'zmqrql' source type, similar to 'pyrorql' but using ømq instead of Pyro. -* A new registry called 'services' has appeared, where you can register +* A new registry called `services` has appeared, where you can register server-side `cubicweb.server.Service` child classes. Their `call` method can be invoked from a web-side AppObject instance using new `self._cw.call_service` method or a server-side one using `self.session.call_service`. This is a new way to call server-side methods, much cleaner than monkey patching the Repository class, which becomes a deprecated way to perform similar tasks. -* a new `ajaxfunction` registry now hosts all remote functions (i.e. functions +* a new `ajax-func` registry now hosts all remote functions (i.e. functions callable through the `asyncRemoteExec` JS api). A convenience `ajaxfunc` decorator will let you expose your python function easily without all the appobject standard boilerplate. Backward compatibility is preserved. diff -r 0ae27909e45b -r a9efb25337da web/views/ajaxcontroller.py --- a/web/views/ajaxcontroller.py Tue May 15 10:32:53 2012 +0200 +++ b/web/views/ajaxcontroller.py Tue Apr 17 12:28:51 2012 +0200 @@ -19,7 +19,7 @@ # (disable pylint msg for client obj access to protected member as in obj._cw) # pylint: disable=W0212 """The ``ajaxcontroller`` module defines the :class:`AjaxController` -controller and the ``ajax-funcs`` cubicweb registry. +controller and the ``ajax-func`` cubicweb registry. .. autoclass:: cubicweb.web.views.ajaxcontroller.AjaxController :members: