You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/technical/concept.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,22 @@ The key concept of **abap2UI5** is to apply the **HTML Over-the-Wire** approach
6
6
7
7
**HTML Over-the-Wire** refers to a web architecture where the server renders user interfaces and sends ready-to-use HTML fragments to the browser. This avoids complex client-side frameworks and keeps the frontend lightweight and maintainable. Both the UI and business logic remain on the server.
- Users interact with the UI — the backend handles logic and updates
21
21
22
22
While popular frameworks like Hotwire, Livewire, and Phoenix LiveView follow this approach, **abap2UI5 adapts it to SAP’s technological environment**, using SAP UI5 for frontend rendering and ABAP for backend-driven UI definitions.
23
23
24
-
#### From SSR to HTML Over-the-Wire
24
+
#### History
25
25
26
26
In early web development, **Server-Side Rendering (SSR)** was the default. Every user action triggered a full-page reload with a complete HTML response.
27
27
@@ -60,7 +60,15 @@ Several frameworks successfully implement the HTML Over-the-Wire approach:
60
60
61
61
#### UI5 Over-the-Wire
62
62
63
-
So what does a UI5 Over-the-Wire approach look like? In this architecture, the UI is defined on the ABAP server and transmitted to the browser. The browser renders the interface using a static UI5 application — without requiring additional JavaScript logic, OData services, or frontend frameworks.
63
+
So what does a UI5 Over-the-Wire approach look like?
64
+
65
+
In this approach, the UI5 View and UI5 View-Model is defined on the ABAP server and transmitted to the browser. The browser renders the interface using a static UI5 application — without requiring additional JavaScript logic, OData services, or frontend frameworks.
66
+
67
+
**abap2UI5** brings the Over-the-Wire idea into the SAP world by combining:
- Targeted view-model updates, so only specific UI5 controls are re-rendered
83
-
84
86
Key Benefits:
85
87
-**Static UI5 Frontend App:** Delivered with the first HTTP request and remains generic and stable across all applications.
86
88
-**Backend-Driven UI Control:** All UI definitions and business logic are implemented in ABAP classes.
@@ -96,8 +98,7 @@ Limitations:
96
98
97
99
#### Partial HTML Updates
98
100
99
-
A key feature is that the browser does not re-render the entire HTML page, but only specific parts. Can we achieve this with UI5?
100
-
While modifying the XML view would typically trigger a complete re-render, focusing solely on updating the view model and binding UI attributes to it allows the UI5 framework to automatically update only the affected parts. Try out this snippet:
101
+
A key feature of HTML over-the-wire is that the browser does not re-render the entire HTML page, but only specific parts. Can we achieve this with UI5? While modifying the XML view would typically trigger a complete re-render, focusing solely on updating the view model and binding UI attributes to it allows the UI5 framework to automatically update only the affected parts. Try out this snippet:
101
102
102
103
```abap
103
104
CLASS z2ui5_cl_app_partly_rerender DEFINITION PUBLIC CREATE PUBLIC.
0 commit comments