Tuesday, October 12, 2010

Re: GWTphp to communicate with PHP server

Basically for server-client communication with a non Java Backend you
either have to use XML or JSON.
I would recommend JSON (tutorial: http://code.google.com/webtoolkit/doc/latest/tutorial/JSONphp.html)

For application design there are two approaches:
- web-application (one host page -> AJAX calls to php backend -> GWT
updates the user interface)
- web-site (several host pages -> GWT UI elements/widget are only
embedded into the webpage -> can fetch data from php backend via AJAX
calls or data can be set in the host page by the php script).

It depends what you want to achieve. If your application should look
like a client application (windows,java, etc) then you should go with
the first approach. If you prefer to have a more web-page based
application then use approach2


On Oct 11, 7:02 am, saji <gssajit...@gmail.com> wrote:
> Hi  i am using GWT for developing an user interface. I run a mongoose
> webserver where my PHP server script resides. I cant find any way to
> make call from my user interface developed to php script. Any help may
> be appreciated. Thanks in advance..

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment