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/technical/concept.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Architectural Comparison:
55
55
UI5 freestyle apps follow the Single Page Application (SPA) model. All UI artifacts are stored on the frontend, while the backend provides data via OData — typically based on CDS Views or custom ABAP implementations. Both rendering and logic execution take place entirely in the browser:
<em>Freestyle - ABAP Stack delivers only Data</em>
61
61
</p>
@@ -67,7 +67,7 @@ Since UI5 is a client-side rendering framework, the HTML output cannot be genera
67
67
Fortunately, UI5 has a defining characteristic that allows us to shift part of the view generation to the backend. Normally, each view is defined in XML — the so-called UI5 XML View. The UI5 framework uses this XML definition, combined with data from the backend, to render HTML in the browser.
<em>abap2UI5 – The browser renders HTML based on XML View and data fully delivered by the backend</em>
83
83
</p>
@@ -91,23 +91,23 @@ To support user interaction, a minimal static UI5 Freestyle app is delivered wit
91
91
When the user triggers an event (e.g., a button press), the event information is sent to the backend, where an ABAP class determines what happens next. All logic is executed entirely in the backend:
<em>UI5 Freestyle – multiple frontend artifacts per app</em>
105
105
</p>
106
106
107
107
With abap2UI5, the frontend becomes a static UI5 shell shared across all applications. Views and logic are fully defined and maintained in the backend. Each app is represented by a single ABAP class that generates the view and handles the events:
<em>abap2UI5 – One static frontend, all views and logic in ABAP</em>
113
113
</p>
@@ -123,15 +123,15 @@ If we continued relying on OData, updates would typically be routed into the ODa
123
123
Let’s take a closer look at a key UI5 feature: the concept of view models. In UI5 Freestyle, view models are used to bind attributes such as visible or enabled — allowing control properties in the view to be mapped precisely to model attributes:
<em>UI5 – View model bindings for visibility and state</em>
129
129
</p>
130
130
131
131
This leads to the second key architectural shift in abap2UI5: Instead of binding to OData, abap2UI5 assembles a custom view model entirely in the backend. This model is constructed dynamically after each request — tailored specifically to the current view — and is sent together with the view definition to the frontend:
0 commit comments