equal
deleted
inserted
replaced
24 |
24 |
25 * the JSon controller (same module) provides services for Ajax calls, |
25 * the JSon controller (same module) provides services for Ajax calls, |
26 typically using JSON as a serialization format for input, and |
26 typically using JSON as a serialization format for input, and |
27 sometimes using either JSON or XML for output; |
27 sometimes using either JSON or XML for output; |
28 |
28 |
|
29 * the JSonpController is a wrapper around the ``ViewController`` that |
|
30 provides jsonp_ services. Padding can be specified with the |
|
31 ``callback`` request parameter. Only *jsonexport* / *ejsonexport* |
|
32 views can be used. If another ``vid`` is specified, it will be |
|
33 ignored and replaced by *jsonexport*. Request is anonymized |
|
34 to avoid returning sensitive data and reduce the risks of CSRF attacks; |
|
35 |
29 * the Login/Logout controllers make effective user login or logout |
36 * the Login/Logout controllers make effective user login or logout |
30 requests |
37 requests |
|
38 |
|
39 .. warning:: |
|
40 |
|
41 JsonController will probably be renamed into AjaxController soon since |
|
42 it has nothing to do with json per se. |
|
43 |
|
44 .. _jsonp: http://en.wikipedia.org/wiki/JSONP |
31 |
45 |
32 `Edition`: |
46 `Edition`: |
33 |
47 |
34 * the Edit controller (see :ref:`edit_controller`) handles CRUD |
48 * the Edit controller (see :ref:`edit_controller`) handles CRUD |
35 operations in response to a form being submitted; it works in close |
49 operations in response to a form being submitted; it works in close |