Skip to content

Commit 72067f0

Browse files
authored
Update concept.md
1 parent dd66464 commit 72067f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/advanced/technical/concept.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ Architectural Comparison:
5353

5454
#### How can we adapt this to UI5?
5555

56-
UI5 applications typically follow the SPA model. The backend supplies data through OData, while all rendering and logic execution occur in the browser:
56+
UI5 applications typically follow the SPA model. The backend supplies data through OData, while all rendering and logic execution occur in the browser. A defining feature of UI5 is its use of XML views to generate HTML. These views reside on the frontend and are populated with server JSON data. XML-Views and JSON Darta is used by the UI5 framework to generate the HTML at the frontend.
5757

5858
<img width="400" alt="image" src="https://github.com/user-attachments/assets/3b2a884e-e899-4b60-8a95-79b418f33657" />
5959

6060
UI5 Freestyle - ABAP delivers only Data
6161

62-
A defining feature of UI5 is its use of XML views to generate HTML. These views reside on the frontend and are populated with server JSON data. abap2UI5 introduces a fundamental shift: the server also delivers the view. The frontend becomes a passive display layer for views and data received from the server:
62+
abap2UI5 introduces here the first a fundamental shift: the server now also delivers the xml view. The frontend becomes a passive display layer for views and data received from the server:
6363

6464
<img width="400" alt="image" src="https://github.com/user-attachments/assets/9717f500-c0de-4428-a996-11fc131c073c" />
6565

@@ -81,6 +81,8 @@ The app renders the provided view and data, then returns any triggered events to
8181

8282
Communication relies on AJAX roundtrips akin to HTML Over the Wire, but pure HTML cannot be sent since UI5 still requires XML views and JSON models. abap2UI5 leverages UI5's capability to render HTML from these constructs. This results in a model referred to as UI5-View Over the Wire.
8383

84+
Here is the second shift, abap2UI5 sends a View Model from the bachend.
85+
8486
A typical response in this pattern includes both view and model data:
8587

8688
<img width="400" alt="image" src="https://github.com/user-attachments/assets/d52112e6-b9b7-4e7f-ac7f-825c20620240" />

0 commit comments

Comments
 (0)