a. For a regular, non-financial application, I would use https to send the authentication data. If you are using PHP on the server-side, I would use JSON to perform the transfer. See the GWT JSON documentation.
b. Whenever possible avoid page loads. That's one of the main features of AJAX. Just change out the div when your authentication call returns success. I recommend before starting an app that you take a look at the History service for managing backward and forward navigation by the user using the browser back/forward buttons. GWT can handle this well, but you need to code for it. I didn't do this and retrofitting such functionality after the fact is painful. If you build it in from the start it is nearly painless. You might not think you need it, but you do, trust me. -Brett On Jul 28, 3:03 pm, jaimon <[email protected]> wrote: > hi, > i am pretty new to GWT and in general to web programming, so any help > would be appreciated.. > > i would like to create a simple welcom page with a user name and > password, and i have few questions: > a. authentication: how do safly send the user/password to the server? > and how my php code on the server will understand it? > b. web site: after the the user has been identified what is the best > practice to direct him to the new content? meaning to work with the > same html page and just change the div, or or something like > Window.Location.assign(url); > > please advise > me :-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
