I just invested 30min to find tools/libraries which allow me to use PHP scripts instead of Java on the server when the front end is GWT. There are various potential channels through which GWT and PHP can talk to each other. GWT RPC, ideally native or over JSON/XML would certainly be the most obvious choice.
My Internet search didn’t turn up a whole lot of useful stuff…
http://code.google.com/p/gwtphp/
http://code.google.com/p/gwtamp/
http://code.google.com/p/lacertae/
http://download.boulder.ibm.com/ibmdl/pub/software/dw/xml/x-gwtphp/x-gwtphp-pdf.pdf
http://angel.hurtado.googlepages.com/tutorialgwt2
Hi,
Do you have made more research/tests ?
If so, which is the one you recommend ?
Thx
Jerome
Nope, I didn’t dig deeper. At first sight none of the options looks mature enough to me.
There is an simple example from real life for GWT-PHP via JSON
http://coders-tutorials.blogspot.com/2011/07/gwt-communicating-with-php-via-json.html
I’m working on a framework for using PHP server side with GWT without messing with PHP coding, seriaization/JSON questions, etc. It’s still in very early state, but it’s already working so it might worth visiting: http://code.google.com/p/php4gwt/
Greetings