How to use qooxdoo with MySQL and PHP

2.2k Views Asked by At

I have a work assignment, and I don't have any alternative; I have to use the qooxdoo framework.

How can I do a query with MySQL and PHP using this framework? In the examples present in the site, all tables use random values or JSON values, but in this case, I need PHP.

I know that I can't use PHP code inside a JavaScript file, so is Ajax the unique solution?

How I can solve that?

2

There are 2 best solutions below

0
On

You write a PHP RPC service which provides the data to your qooxdoo application. You can find more input on this in PHP RPC (qooxdoo documentation).

0
On

Another way is to create your own transport, for example, use AJAX to fetch JSONP. See more info at http://manual.qooxdoo.org/1.3/pages/communication/remote_io.html