cancel
Showing results for 
Search instead for 
Did you mean: 

Explanation of some Web Dynpro elements

Former Member
0 Kudos

Hello!

Who can explain to me simply the meaning of these following

words: Please for everyone understandable.

For Which purposes are they exactly useful?

<b>Web Dynpro Component Interfaces:</b>

??????????????????????????????

<b>Web Dynpro Component:</b>

contains entire application

<b>

Component Controller:</b>

??????????????????????????????

<b>Component Interface:</b>

??????????????????????????????

<b>Custom Controller:</b>

??????????????????????????????

Regards

erdem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It goes like this.

Webdynpro is designed based on MVC architecture (Model-View-Controller).

<b>Model </b>- That mocks your data

<b>View </b>- Presentation logic for displaying your data

<b>Controller </b>- The middle point that populates the model with data and passes the data to the view for display.

Keeping this in mind, lets look at what are the specific terms used in Webdynpro that are synonymous to either of the three given above.

<b>Component Controller / Custom Controller</b> - Every webdynpro has a controller by default. There is a standard one that is created when creating a Webdynpro project and then there is the one (Custom Controller)that the developer can create if he doesnt want to put his code in the one provided when creating the webdynpro.

<b>Component Interface</b> - The interface that helps connecting two webdynpro components

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm">Try reading this as well.</a>

Hope this helps.

Pradeep.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Very good links

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0409d83-5ed5-2910-ef91-e41da6d5b8b4">Component Interface</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487f82c">Component Interface 2</a>

you can also see

Regards

Abhijith YS

Former Member
0 Kudos

hi,

thank you very much for these hints.

What is finally the difference between Component Controller and Custom Controller ?

Regards

erdem

raja_thangamani
Active Contributor
0 Kudos

<b>Component Controller</b>

The component controller is the master controller for a Web Dynpro Component. As soon as you declare the existence of a Web Dynpro Component, the component controller is automatically created. You cannot have a Web Dynpro Component without a component controller.

<b>Custom Controllers</b>

Custom controllers are similar to the component controller in that they too have no visual interface. However, the existence of custom controllers is controlled entirely by the Web Dynpro developer at design time. Declaring the existence of a Web Dynpro Component causes the component controller to be created automatically, but this is not the case with custom controllers. Custom controllers are only created by an explicit design time declaration.

Hope this will help you,

Raja T

Message was edited by:

Armin Reichert