On Thu, Nov 4, 2010 at 07:45, Leandro Santiago wrote:
> Ok, so to get informations from server I need to use a "common" json
> output, as I use in ajax calls. But are there any easy and eficient way to
> send data to the server in a json-encoded way? In the server side is easy to
> decode the data
Ok, so to get informations from server I need to use a "common" json output,
as I use in ajax calls. But are there any easy and eficient way to send data
to the server in a json-encoded way? In the server side is easy to decode
the data in a object, but I don't know how do it in the qooxdoo side (Y
Hi,
as Derrell said, you don't really need to use rpc if you use a REST backend
such as cakephp. Use qx.io.remote.Request and simply json_encode your result
and return it without using a view:
echo json_encode($yourResult);
exit;
On the client, parse the result of your request with qx.lang.Json
On Wed, Nov 3, 2010 at 18:12, Leandro Santiago wrote:
> Hello to all. I've took a look on the rpcphp example to learn about the rpc
> mechanism in qooxdoo.
>
> My problem now is I need to use phprpc with the cakephp framework.
>
> With cakephp, which follow the MVC, each controller is mapped in a