Reputation: 535
Hello I am programming a website and like how GWT works. My host only supports PHP and no Java and thefore also no GWT. I was wondering if i could user GWT to program a fully Ajax website with php requests to the database so that it can run on my webserver. Thanks
jan behang
Upvotes: 2
Views: 240
Reputation: 16079
The bridge between GWT and PHP
Google Web Toolkit (GWT) applications, apart from connecting to servlets in time-honored Java™ fashion, can also use PHP Web services to send and receive data in XML. You'll explore methods to generate XML documents and process them, both in the Java language and in PHP.
And also check out Basic tips for using GWT with PHP as well.
And also almost forget referencing GWT's own documentation, it will also teach you how to send JSON which is being widely used data format among AJAX developers. Here is the step-by-step explanation how to build the StockWatcher application using GWT with PHP: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStartedJSON
Upvotes: 4