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

Reply via email to