GWT can communicate over HTTP requests with any server side technology
supporting HTTP. So your PHP app should provide a (maybe RESTful) interface,
which can be called by Ajax request and uses either JSON or XML as data
format.

I don't know how you can tell PHP to that, but on the GWT site, you should
use the RequestBuilder to create a HTTP request an than parse the result as
JSON.

Make sure your architecture is clean. GWT is for RIAs, so it should be
designed, as it would be able to run without a server. HTTP requests are
just for getting some raw data from the server, so you should care to have a
very slim communication layer between client and server.

Regards
Jan Ehrhardt

On Tue, Jan 12, 2010 at 6:11 PM, ANDRES BRUN <[email protected]> wrote:

> Hi everybody!
>
> I have a question about mysql, gwt and php, how can I connect all this in a
> web Application with the new version of GWT? I'm really novice in this but I
> want to learn and to practice, I need a guide for "dummies". I have a php
> script, and I have a Mysql Database and I have connected this but I don't
> know how connect all this with the new version of GWT. I know the way is
> JSON-RPC but I don't know how this works and How I have to develop them.
>
> Thank you for your colaboration.
>
> Regards.
>
> Andres
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to