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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,13 +53,13 @@ Architectural Comparison:
53
53
54
54
#### How can we adapt this to UI5?
55
55
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.
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:
@@ -81,6 +81,8 @@ The app renders the provided view and data, then returns any triggered events to
81
81
82
82
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.
83
83
84
+
Here is the second shift, abap2UI5 sends a View Model from the bachend.
85
+
84
86
A typical response in this pattern includes both view and model data:
0 commit comments