Professional Documents
Culture Documents
Contents:
Model View Controller The roots of Web Dynpro The architecture of the different Web Dynpro Controllers
After completing this unit, you will: Have further understanding of the Model View Controller (MVC) design paradigm Understand the different kinds of Web Dynpro controllers and what they are used for
Model
Request Response
Controller
Binding Layer
View
SAP AG 2005, Title of Presentation / Speaker Name / #
Interface Controller
Model 1
View Layout
View Controller
M
Custom Controller
Model 2
Business Logic
W e b
D y n p r o
C o m p o n e n t
(Models)
Other WD Controllers
Custom Controller
Instance Methods
Call_BAPI
Component Usage
Other WD Components
View controller
Each view has exactly one view controller, which processes the actions performed by the user in the view
Window controller
Each window has exactly one window controller. It behaves like a view controller (plugs) and is usable from other controllers (like a custom / component controller)
SAP AG 2005, Title of Presentation / Speaker Name / #
Interface Controller
Window Controller
M
Components
Plugs
M
Contains
Usage declarations
Model 1
Methods
View Layout
View Controller
M
Custom Controller
Model 2
Context W e b D y n p r o C o m p o n e n t
Business Logic
(Models)
Other WD Controllers
Custom Controller
Component Usage
Other WD Components
Interface Controller
Window Controller
M
Components
Plugs
M
Contains
Usage declarations
Model 1
Methods
View Layout
View Controller
M
Custom Controller
Model 2
Context W e b D y n p r o C o m p o n e n t
Business Logic
(Models)
View Controller
Implementation Context
Root Node
Other WD Controllers
Custom Controller
Component Usage
Other WD Components
View Controller
Implementation Context
Root Node
Other WD Controllers
Custom Controller
Component Usage
Other WD Components
Interface Controller
Window Controller
M
Components
Plugs
M
Contains
Usage declarations
Model 1
Methods
View Layout
View Controller
M
Custom Controller
Model 2
Context W e b D y n p r o C o m p o n e n t
Business Logic
(Models)
Other WD Controllers
Custom Controller
view
You should now be able to: Understand the basic concept of the Model View Controller (MVC) paradigm Understand the different kinds of Web Dynpro controller and what they are used for