Could you give me an easy example how you use the JSON-RPC implementation?
Until now I used remote-communication like this:
if(login.getValue().length < 1)
alert("Bitte geben Sie ein Login an");
else{
var r = new
qx.io.remote.Request("prog/check.php?type=login&login="+login.getValue()+"&password="+passwd.getValue(),
"GET", "text/json");
r.addEventListener("completed", function(e) {
data = e.getData().getContent();
if(data["success"] == true){
document.location.reload();
}
else{
alert("Anmeldung
fehlgeschlagen\n"+data["success"]+"\n"+e.getData().getContent()["error"]);
}
});
r.send()
}
And on the server-site is a php-Script that encodes its output to json like
this:
echo $json->encode($returnValue);
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von frederic
Gesendet: Montag, 8. Januar 2007 16:01
An: [email protected]
Betreff: Re: [qooxdoo-devel] what technology do you use with qooxdoo?
Hi all,
I use Qooxdoo as frontend and PHP/MySQL as backend with the default JSON-RPC
implementation provided in SVN. The connectivity between Qx UI and PHP is
very easy and quick; I spend long time to build UI itself and manage forms :
there is no RAD UI builder for the moment and no structure to handle easily
form datas.
best regards.
frederic
Rusi Filipov wrote:
>
> Hello Tobias,
>
> for my single-page app I use Qooxdoo for the UI presentation and Java
> for the server-side logic.
> For client/server remoting I took JSON-RPC-Java. Qooxdoo has also its
> own JSON-RPC backend, but since it wasn't bundled into a jar I found it
> easier to stay with JSON-RPC-Java.
>
> Rusi
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/what-technology-do-you-use-with-qooxdoo--tf2938778.html#a8219423
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel