[PATCH 04 of 15 cubicweb] [doc/book/devweb/ajax] warning about deprecated use of ajax

Arthur Lutz arthur.lutz at logilab.fr
Fri Jan 31 17:26:33 CET 2020


# HG changeset patch
# User Arthur Lutz <arthur.lutz at logilab.fr>
# Date 1580484704 -3600
#      Fri Jan 31 16:31:44 2020 +0100
# Node ID c8261298a68fb1443ce02ea93757e5eb66ec0589
# Parent  859a3c8b2fa48ba721e9ba669ba6c5c6dc318d5e
# EXP-Topic doc-cleanup
[doc/book/devweb/ajax] warning about deprecated use of ajax

diff --git a/doc/book/devweb/ajax.rst b/doc/book/devweb/ajax.rst
--- a/doc/book/devweb/ajax.rst
+++ b/doc/book/devweb/ajax.rst
@@ -3,6 +3,17 @@
 Ajax
 ----
 
+.. warning::
+
+    This approach is deprecated in favor of using
+    `cwclientlibjs <https://www.npmjs.com/package/@logilab/cwclientlibjs>`_
+    or the react component
+    `cwelements <https://www.npmjs.com/package/@logilab/cwelements>`_.
+    The documentation is kept here as reference.
+
+    For historical reference of what Ajax is and used to be, one can read the
+    `wikipedia article about Ajax <https://en.wikipedia.org/wiki/Ajax_(programming)>`_.
+
 CubicWeb provides a few helpers to facilitate *javascript <-> python* communications.
 
 You can, for instance, register some python functions that will become



More information about the cubicweb-devel mailing list