MVC is a good design pattern to use with GWT.
If you are new to GWT, get Ryan Dewsbury's book "Google Web Toolkit  
Applications" it does a very good job of outlining exactly what is  
model, view and controller in each example project.

-jason

On Jan 28, 2009, at 9:10 AM, asdf_asdf wrote:

>
> His,
>
> I am new to GWT and evaluate it currently. Just happily went through
> the official tutorial and full of questions taunting my mind.
> Just a quick background (should my question seem a bit messy): I am
> coming from php field and have in past have been using a mvc framework
> (CodeIgniter) where links/forms on a single webpage are mapped to
> methods of a controller responsible for calling buisiness logic and
> putting together view components. So...
>
> * Is MVC the recommended design pattern to develop GWT applications? I
> see then the class implementing EntryPoint interface as being a
> "controller", but what would be a view in that case? I am struggling
> to understand the relationship between html-page and the controller
> that gets called: does each controller get called by the html-page
> that loads the appropriate javascript file and how could a controller
> have methods mapped to specific a user actions. For instance, after a
> specific link is clicked a new widget is shown (in the tutorial this
> is achieved through listeners, but can there be a url to method
> mapping as well)?
>
> * In respect to tutorial, what does the attribute path="/stockPrices"
> in <servlet> xml tag mean and the identical annotation
> @RemoteServiceRelativePath("stockPrices") in service interface? I
> assume that the server-side method gets called when under that url,
> but how is the client aware of the mapping?
>
> * So far I have only seen tutorials on implementing relatively easy
> projects. Does anyone know if there a more powerful sample application
> with open source available: something where there is a need for more
> than one html-page and controller exist?
>
> Many thanks,
> Denis
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to