doc/book/devweb/ajax.rst
branch3.27
changeset 12856 a82e56d4814a
parent 10491 c67bcee93248
equal deleted inserted replaced
12855:aed90f31f16e 12856:a82e56d4814a
     1 .. _ajax:
     1 .. _ajax:
     2 
     2 
     3 Ajax
     3 Ajax
     4 ----
     4 ----
       
     5 
       
     6 .. warning::
       
     7 
       
     8     This approach is deprecated in favor of using
       
     9     `cwclientlibjs <https://www.npmjs.com/package/@logilab/cwclientlibjs>`_.
       
    10     If your use react for your UI, try the react components from the
       
    11     `cwelements <https://www.npmjs.com/package/@logilab/cwelements>`_ library.
       
    12     The documentation is kept here as reference.
       
    13 
       
    14     For historical reference of what Ajax is and used to be, one can read the
       
    15     `wikipedia article about Ajax <https://en.wikipedia.org/wiki/Ajax_(programming)>`_.
     5 
    16 
     6 CubicWeb provides a few helpers to facilitate *javascript <-> python* communications.
    17 CubicWeb provides a few helpers to facilitate *javascript <-> python* communications.
     7 
    18 
     8 You can, for instance, register some python functions that will become
    19 You can, for instance, register some python functions that will become
     9 callable from javascript through ajax calls. All the ajax URLs are handled
    20 callable from javascript through ajax calls. All the ajax URLs are handled