Hello, I'm a GWT newbie. I've read the GWT docs and played with the samples, but still i have some basic questions about how to design and use GWT in a web app:
1) GWT communicates asynchronously with a server. When a GWT application loads, i would like to be able to display some initial data without going back to the server (after all, we've just been there:). How/where can i pass some initial data and what method do i use to feed it to GWT? (instead of making a (redundant) asynchronous call for the data immediately when the app first loads) 2) I would like to use GWT with a JSON capable server (php, django etc). My question is, what is the best way to use GWT? Should i use GWT to code the entire website? Should i use a single GWT app to deal with the entire site or do i break small pieces of functionality to small GWTapps? Or the other extreme: just use GWT to implement tiny JS "widgets" combined with a traditional template rendering oriented website (eg php). What is the common usage model? 3) WRT #2: How would you recommend implementing user login and registration functionality using GWT+JSON? a) Using GWT as an AJAX widget to spice up a php/django form b) Implement a GWT app specific to registering / login users, leaving other website functionality to other GWT apps c) Implement user functionality using GWT into a single app containing the entire website functionality. Thanks, A --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---