头图

A set of step-by-step learning tutorials suitable for SAP UI5 beginners

Tutorial Directory

illustrate

Jerry has been in contact with SAP UI5 since joining the CRM Fiori development team of SAP Chengdu Research Institute in 2014. He has published many articles on the working principle and source code analysis of SAP UI5 in the SAP community and the WeChat public account "Wang Zixi".

In Jerry's article for newbies who know nothing about SAP UI5, which materials are better to start with? once mentioned that Jerry has also come all the way from SAP UI5 rookie, and knows that it is not easy for developers with only ABAP development background to transform to SAP UI5 development field, so I designed this study for SAP UI5 beginners in my spare time. The tutorial divides the process of developing a complete SAP UI5 application into several steps, and strives to cover all the knowledge points involved in each step. These knowledge points may not be as in-depth as my UI5 source code analysis series articles, but strive to be easy to understand and easy for SAP UI5 beginners to understand.

The source code of each step of this tutorial is stored on my Github , identified by folders 01, 02, 03 and so on.

Each step builds on the previous step with several new features added. It is recommended that beginners with zero foundation or little knowledge of SAP UI5 learn step by step from the first step in order, download these codes to the local, cooperate with the text explanation of the tutorial, and do it yourself to deepen the understanding.

If you have any questions about each step of the tutorial, you are welcome to comment and leave a message in the article corresponding to the steps of the tutorial.

In the previous step of this tutorial SAP UI5 Application Development Tutorial No. 33 - Responsiveness of SAP UI5 Application , we learned how to use the minScreenWidth attribute to make the table column items in different sap.m.Table controls. The effect of dynamically determining whether it is displayed or not under the screen size.

This step continues to learn how to use the SAP UI5 device detection API, sap.ui.Device , to make the SAP UI5 application achieve the best display effect on different device types.

The source code of this step can be downloaded from this Github repository: https://github.com/wangzixi-diablo/ui5-tutorial/tree/main/34

Look at the finished effect first. Go to folder 34, execute the command line npm install and ui5 serve in turn, and then access the url:

http://localhost:8080/webapp/test/mockServer.html

When we visit the above url on the device with the device type Phone , we can see the following page, the Panel area is folded, click the > symbol on the left to expand. We will describe how to access the above url using the PC side later, and by setting the Device Type to Phone in the Chrome developer tools.

After clicking > , the effect of expanding the Panel is as follows:

below are the specific implementation steps.


注销
1k 声望1.6k 粉丝

invalid