Skip to Content
0
Former Member
Oct 17, 2005 at 07:20 AM

WebDynpro & MCV

23 Views

Hi,

as far as I understood the Model Controller View Pattern in web-based applications works that way:

The user calles an URL which executes a controller. The controller uses the model and the user input to gather some data. Then the controller determines which view it has to render...

How can I do it in Webdynpros this way? Can I have a controller which determines which view I want to use?

Then, how should one organize an application? Should I put the whole app in one component, or should I create one component for every 'site' that the user sees? (i.e. A search site with two views, one for entering the search request and one for showing the result)

And where should I put the 'relevant controller code'? In the component controller or in the view controllers? (remember, 'naturally' I would create only one controller for a set of related views)

Bye

Chris