Thank you so much Martin for the hint. :-) I am more confident now to use GWT with non-Java backend. Because I thought people only use GWT with Java on the backend.
Cheers. On Dec 1, 12:15 pm, "Martin Gorostegui" <[EMAIL PROTECTED]> wrote: > Yes, > > I´m working with GWT with a PHP backend and I know many people in this list > also do that. It is an excellent approach if you can't have a Java backend > but want to have all the benefits of GWT (except for the optimised GWT Java > RPC). > Basically what you should do is instead of using GWT Java RPC (extending > RemoteService, RemoteServiceServlet and creating an AsyncInterface) is use > the RequestBuilder class to make http calls. What you send and receive can > be anything you want but JSON is what is most used. For dealing with JSON > client-side you can use GWT own JSON classes and Javascript Overlay Types if > you are with GWT 1.5, and for dealing with JSON serverside you can use any > PHP, Ruby, etc library to encode\decode JSON. > > I recommend you search this list archives as there are tons of messages > about what I'm telling you (even people who is using JSONP instead, or > json.org JSONRequest or the ones who have created their own way of dealing > with JSON client-side). Also this section of the official documentation > should be useful for > you:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog... > > Hope this helps, > > Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
