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 (Yes,
stopped the twitter tutorial in the "posting data") :-)
2010/11/4 panyasan <[email protected]>
>
> 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.parse()
> (there is a recent thread on this), and you should be set.
>
> Of course, jsonrpc gives you a much more powerful and flexible data
> transfer
> model compared to the cakephp/REST way. Your choice ;-)
>
> C.
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Using-rpcphp-with-cakephp-tp5703425p5704365.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel