Skip to content

Commit 004f693

Browse files
authored
update
1 parent 63a85d1 commit 004f693

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

docs/advanced/technical/concept.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Key Concept: UI5 Over-the-Wire?
22

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
48

59
**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.
610

@@ -35,15 +39,15 @@ As a reaction, the **Over-the-Wire** paradigm re-emerged:
3539
- Browsers update only specific parts of the page
3640
- Frontends stay simple and declarative
3741

38-
#### Architectural Comparison
42+
###### Architectural Comparison
3943

4044
| Approach | Data Flow | Rendering Location | Period |
4145
|----------|-----------|-------------------|--------|
4246
| **SSR** | Full-page HTML responses | Entirely on the server | 1990s – 2010s |
4347
| **SPA** | Raw data (JSON), client builds UI | Client-side (JavaScript) | 2010s – today |
4448
| **Over-the-Wire** | HTML fragments for partial updates | Server renders, browser inserts | 2020s (re-emerging) |
4549

46-
#### Related Frameworks
50+
###### Related Frameworks
4751

4852
Several frameworks successfully implement the HTML over-the-wire approach:
4953

@@ -56,7 +60,7 @@ Several frameworks successfully implement the HTML over-the-wire approach:
5660
| [Unpoly](https://unpoly.com) | Simplified partial page updates | Any web stack |
5761

5862

59-
#### UI5 Over-the-Wire
63+
### UI5 Over-the-Wire
6064

6165
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.
6266

@@ -80,7 +84,7 @@ Flow:
8084
- Backend-controlled UI & Business logic
8185
- Targeted ViewModel updates ensure that only specific UI5 controls are re-rendered
8286

83-
#### Key Benefits
87+
###### Key Benefits
8488

8589
- Static UI5 Frontend App: Delivered with the first HTTP request and remains generic and stable across all applications.
8690
- Backend-Driven UI Control: All UI definitions and business logic are implemented in ABAP classes.
@@ -89,13 +93,13 @@ Flow:
8993
- Seamless SAP Integration: Fully aligned with SAP’s UI5 and ABAP technology stack, compatible with all ERP and S/4HANA releases.
9094
- Efficient for Business Applications: Particularly well-suited for CRUD-heavy apps, forms, tables, dashboards, and typical enterprise use cases.
9195

92-
#### Limitations to Consider
96+
###### Limitations
9397

9498
- Not suitable for highly interactive, real-time collaboration apps.
9599
- Offline functionality or complex client-side interactions are not covered.
96100
- Less effective if frontend and backend teams work independently.
97101

98-
#### Partly HTML Updates
102+
###### Partly HTML Updates
99103
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?
100104
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:
101105

@@ -130,15 +134,15 @@ ENDCLASS.
130134
```
131135
Isn't that beatuiful?
132136

133-
#### Summary
137+
### Summary
134138

135139
The **key concept of abap2UI5** is to bring the simplicity and efficiency of the HTML Over-the-Wire pattern into the SAP ecosystem.
136140

137141
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.
138142

139143
For typical enterprise apps — forms, dashboards, transactions — abap2UI5 offers a clean, backend-driven alternative with faster time-to-market and lower complexity.
140144

141-
#### Further Reading
145+
Further Reading:
142146
- [htmx in a nutshell](https://htmx.org/docs/#introduction)
143147
- [HTML Over the Wire](https://signalvnoise.com/svn3/html-over-the-wire/)
144148
- [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

Comments
 (0)