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
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
# Key Concept: UI5 Over-the-Wire?
2
2
3
-
The key concept of **abap2UI5** is to apply the **HTML Over-the-Wire** concept to SAP UI5 application development.
3
+
The key concept of **abap2UI5** is to apply the **HTML Over-the-Wire** approach to SAP UI5 application development.
4
+
5
+
### HTML over-the-wire
6
+
7
+
#### Concept
4
8
5
9
**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. The UI and Business Logic stays on the server.
6
10
@@ -35,15 +39,15 @@ As a reaction, the **Over-the-Wire** paradigm re-emerged:
35
39
- Browsers update only specific parts of the page
36
40
- Frontends stay simple and declarative
37
41
38
-
#### Architectural Comparison
42
+
######Architectural Comparison
39
43
40
44
| Approach | Data Flow | Rendering Location | Period |
|**SSR**| Full-page HTML responses | Entirely on the server | 1990s – 2010s |
43
47
|**SPA**| Raw data (JSON), client builds UI | Client-side (JavaScript) | 2010s – today |
44
48
|**Over-the-Wire**| HTML fragments for partial updates | Server renders, browser inserts | 2020s (re-emerging) |
45
49
46
-
#### Related Frameworks
50
+
######Related Frameworks
47
51
48
52
Several frameworks successfully implement the HTML over-the-wire approach:
49
53
@@ -56,7 +60,7 @@ Several frameworks successfully implement the HTML over-the-wire approach:
56
60
|[Unpoly](https://unpoly.com)| Simplified partial page updates | Any web stack |
57
61
58
62
59
-
####UI5 Over-the-Wire
63
+
### UI5 Over-the-Wire
60
64
61
65
So how can 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.
62
66
@@ -80,7 +84,7 @@ Flow:
80
84
- Backend-controlled UI & Business logic
81
85
- Targeted ViewModel updates ensure that only specific UI5 controls are re-rendered
82
86
83
-
#### Key Benefits
87
+
######Key Benefits
84
88
85
89
- Static UI5 Frontend App: Delivered with the first HTTP request and remains generic and stable across all applications.
86
90
- Backend-Driven UI Control: All UI definitions and business logic are implemented in ABAP classes.
@@ -89,13 +93,13 @@ Flow:
89
93
- Seamless SAP Integration: Fully aligned with SAP’s UI5 and ABAP technology stack, compatible with all ERP and S/4HANA releases.
90
94
- Efficient for Business Applications: Particularly well-suited for CRUD-heavy apps, forms, tables, dashboards, and typical enterprise use cases.
91
95
92
-
#### Limitations to Consider
96
+
######Limitations
93
97
94
98
- Not suitable for highly interactive, real-time collaboration apps.
95
99
- Offline functionality or complex client-side interactions are not covered.
96
100
- Less effective if frontend and backend teams work independently.
97
101
98
-
#### Partly HTML Updates
102
+
######Partly HTML Updates
99
103
One 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
104
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
105
@@ -130,15 +134,15 @@ ENDCLASS.
130
134
```
131
135
Isn't that beatuiful?
132
136
133
-
####Summary
137
+
### Summary
134
138
135
139
The **key concept of abap2UI5** is to bring the simplicity and efficiency of the HTML Over-the-Wire pattern into the SAP ecosystem.
136
140
137
141
By shifting UI control back to the ABAP backend and leveraging SAP UI5 for rendering, abap2UI5 enables maintainable, pragmatic business applications — without the overhead of SPA architectures.
138
142
139
143
For typical enterprise apps — forms, dashboards, transactions — abap2UI5 offers a clean, backend-driven alternative with faster time-to-market and lower complexity.
140
144
141
-
#### Further Reading
145
+
Further Reading:
142
146
-[htmx in a nutshell](https://htmx.org/docs/#introduction)
143
147
-[HTML Over the Wire](https://signalvnoise.com/svn3/html-over-the-wire/)
144
148
-[Fiori-like web app development in pure ABAP with htmx and Fundamental](https://community.sap.com/t5/technology-blog-posts-by-members/fiori-like-web-app-development-in-pure-abap-with-htmx-and-fundamental/ba-p/13500763)
0 commit comments