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

本专栏计划的文章数300篇左右,到2022年9月16日 ,目前131篇,专栏43.6%

About the Author

Jerry Wang, joined the SAP Chengdu Research Institute after graduating from the University of Electronic Science and Technology of China with a master's degree in computer science in 2007. Jerry is a SAP Community Mentor and a SAP China Technology Ambassador. In his 15-year career in SAP standard product development, Jerry has participated in the research and development of standard products such as SAP Business ByDesign, SAP CRM, SAP Cloud for Customer, SAP S/4HANA, and SAP Commerce Cloud (e-commerce cloud).

Jerry uses ABAP, Java, JavaScript and TypeScript for development, and has in-depth research on various SAP self-developed frameworks including SAP UI5.

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 , a novice who knows nothing about SAP UI5, which materials are better to start with? It was mentioned that Jerry has come all the way from SAP UI5 rookie. He knows that it is not easy for developers with only ABAP development background to transform to SAP UI5 development field, so I designed this suit in my spare time SAP UI5 不同水平 The learner's learning tutorial, which 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 I strive to explain the profound things in simple language. The important knowledge points are accompanied by detailed screenshots to assist the introduction of the text, which is convenient for the understanding of the tutorial learners.

The source code of each step of this tutorial is stored on my Github , identified by folders 01, 02, 03, etc. For example, the source code of step 1 is here .

Each step builds on the previous step with several new features added. It is recommended to have zero foundation or little knowledge of SAP 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 your understanding .

For SAP UI5 developers who have already 有一定基础 , you can skip the basic chapters in the previous part through the table of contents of this article, and directly select chapters related to your own work projects, or include some knowledge points that you have not yet mastered. Targeted learning.

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. Although I am usually very busy with development work, I promise to check the comments you leave me on a regular basis. For the technical questions involved, I will definitely 抽时间做出解答 .

In the first 4 steps of this tutorial, we have introduced one of the members of the SAP UI5 Smart Controls family, SmartField:

The SmartField controls we defined in the example, as shown in the following figure, are all wrapped in SmartForm controls. Before learning the SmartForm control, we need to be familiar with the use of the Simple Form control, which is the purpose of this step.

Let's take a look at the effect of this step: we see a Form form with 4 fields:

After clicking the Edit button, the four fields of the form become available for input:

The following are the specific implementation steps.

In the next steps of this tutorial, we will detail how the following properties used in this step work, that is, how they control the display width of the form control at runtime:

  • labelSpanXL
  • labelSpanL
  • labelSpanM
  • labelSpanS
  • emptySpanXL
  • emptySpanL
  • emptySpanM
  • emptySpanS
  • columnsXL
  • columnsL
  • columnsM columns

Summarize

This step introduces the most basic usage of the SimpleForm control under the command space sap.ui.layout.form, and leads to the question of how its labelSpan, emptySpan and columns properties affect the display width of the elements in the SimpleForm form at runtime. The next steps in this tutorial detail how these properties work.


注销
1k 声望1.6k 粉丝

invalid