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/dx.md
+14-16Lines changed: 14 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ Developer Experience describes how efficient, and intuitive it is for developers
4
4
5
5
Good Developer Experience means writing code feels natural, testing changes is fast, and the tools stay out of your way. It includes minimal boilerplate, easy debugging, straightforward deployment, and code that’s simple to understand, reuse, and share.
6
6
7
-
This page takes a look at familiar ABAP technologies and coding patterns that offer a smooth developer experience — and shows how these ideas have influenced the design of abap2UI5.
7
+
This page explores familiar ABAP technologies and coding patterns that offer a smooth developer experience — and shows how these ideas have influenced the design of abap2UI5.
8
8
9
-
### if_oo_adt_classrun
9
+
### Write - if_oo_adt_classrun
10
10
11
-
What is the easiest way to output data in an abap stack, it has to be both abao cloud ready and abap standard? its `if_oo_adt_classrun` the best way.
11
+
What is the easiest way to output data in an ABAP stack that is both ABAP Cloud ready and works in standard systems? The answer is IF_OO_ADT_CLASSRUN:
12
12
13
13
```abap
14
14
CLASS zcl_app_adt DEFINITION PUBLIC CREATE PUBLIC.
@@ -22,13 +22,13 @@ CLASS zcl_app_adt IMPLEMENTATION.
22
22
ENDMETHOD.
23
23
ENDCLASS.
24
24
```
25
-
it has the following advantages:
26
-
* single file for a whole app
27
-
* class based
28
-
* abap cloud ready
29
-
* 100% abapGit compatible which macke ist
25
+
Advantages:
26
+
- Single file for an entire app
27
+
- Class-based structure
28
+
-`ABAP Cloud` and `Standard ABAP`ready
29
+
- Fully abapGit compatible
30
30
31
-
this was excatly what the abap2ui app keep to mimic, an abap2ui5 app with the outout above looks as folows:
31
+
This concept directly inspired abap2UI5. An abap2UI5 app mimicking the example above looks like this:
32
32
33
33
```abap
34
34
CLASS zcl_app_ui5 DEFINITION PUBLIC CREATE PUBLIC .
@@ -42,15 +42,13 @@ CLASS zcl_app_ui5 IMPLEMENTATION.
42
42
ENDMETHOD.
43
43
ENDCLASS.
44
44
```
45
-
additionaly it solves the following problems:
46
-
* np need to install adt, the output comes in a browser
47
-
* end user can use it, becaue it published
48
-
* at the fotnend it cretaes a ui5 app following offical sap fiori user experience
45
+
Additional advantages over IF_OO_ADT_CLASSRUN:
46
+
- No need to install ADT — output is shown in the browser and end users can access the app directly
47
+
- Frontend is rendered as a UI5 app following SAP Fiori UX guidelines
49
48
50
-
so this is the basic, from here we try to add more functionality.
49
+
This is the baseline — and abap2UI5 builds on this foundation to add more functionality.
51
50
52
-
53
-
### Selection Screen
51
+
### Input Data - Selection Screen
54
52
as a last prerequste we need some input. also the easiest way are selection screen, lets remember how that went:
0 commit comments