Contents:: Introduction To The Web Dynpro Architecture
Contents:: Introduction To The Web Dynpro Architecture
Contents:
Introduction to the Web Dynpro architecture
After completing this unit, you will understand: The basic concepts behind Web Dynpro The basic architecture of a Web Dynpro Component
Achieve Independence
run on multiple platforms
Compiler
Meta-model Declarations
Guarantees common app. design Good for graphical tool support
Screen Layout and Nesting Navigation and Error Handling Data Flow Componentization ...
Custom Coding
Guarantees universality Good for data-driven, dynamic apps
Implementation of business rules Dynamic screen modifications Access to services (files etc.) Portal eventing ...
Business Data
Business Data
HTTP
Window View
View Controller Context
Component Controller
Context
Window View
View Controller Context
Root Node Node 1
Node 2
View
Node 3
Label
Context Mapping
View Controller Context Root FLIGHTS BOOKINGS BOOKID CUSTID CLASS PASSN CARRID CONNID FLDATE PRICE Controller Usage Declaration Component Controller Context Root FLIGHTS BOOKINGS BOOKID CUSTID CLASS PASSN CARRID CONNID FLDATE PRICE
Mapping Relationship
View layout
Context mapping
Window
Customer Search Customer List
Out
In
Inbound plug Outbound plug Navigation link To define the navigation between two views, you need to create exit and entry points for each view using outbound and inbound plugs. Only then you can specify the navigation flow using navigation links
View Assembly
Window
View IdentifyCustomer
ViewContainerUIElement ViewContainerUIElement
Customer Search
Empty
ViewContainerUIElement
Empty
The subset of views visible at any one time is known as a View Assembly. Navigation causes views within a ViewContainerUIElement to be replaced
View Assembly
Window
View IdentifyCustomer
ViewContainerUIElement ViewContainerUIElement
Customer Search
Empty
ViewContainerUIElement
Customer List
Empty
The subset of views visible at any one time is known as a View Assembly. Navigation causes views within a ViewContainerUIElement to be replaced
Window Controller
M
Plugs
M
Methods
View Layout
View Controller
M
Context W e b D y n p r o C o m p o n e n t
Plugs
M
Usage declarations
Usage declarations
Window Controller
Component Controller
Model 1
Methods
View Layout
View Controller
M
Context W e b D y n p r o C o m p o n e n t
Business Logic
(Models)
Plugs
M
Usage declarations
Usage declarations
Window Controller
Component Controller
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)
Interface Controller
Usage declarations
Window Controller
M
Component Controller
Components
Plugs
M
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)
Automatically created with an inbound plug of type startup called default. An application is a URL associated with this special inbound plug in the interface view.
Interface Controller
Window
Window Controller
M
Component Controller
Components
You should now be able to understand: The basic concept behind Web Dynpro The basic architecture of a Web Dynpro Component