Using PHP as a server side scripting language with GWT.

36 views
Skip to first unread message

Vikas Thapliyal

unread,
Aug 3, 2011, 8:12:55 AM8/3/11
to Google Web Toolkit
Hi,

We have a PHP web site using Apache web server.
I want to use GWT in this site.

Can I use GWT as UI components and still use PHP as my server side
scripting language or I have to shift to Java (for server side
programming) to listen events from GWT conponents.?

Any other problem that can be forseen with my approach.

Thanks in advance.
Vikas Thapliyal

Jambi

unread,
Aug 4, 2011, 5:29:15 AM8/4/11
to Google Web Toolkit
Hey Vikas,

using PHP is no problem. But you won´t be able to use GWT-RPC. You
have to use a JSON interface instead.

check out this doc: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/tutorial/JSONphp.html

PiotrN

unread,
Aug 4, 2011, 11:10:10 AM8/4/11
to google-we...@googlegroups.com
I'm developing and maintaining critical and fairly large application that has PHP on the server and GWT based frontend.
It works very well, as mentioned by Jambi, you communicate with JSON.
My advice is to put as much work and though into the json communication part as you can.

Bad design of that area will take it's toll later, while good one will make you grind.
Reply all
Reply to author
Forward
0 new messages