A set of step-by-step learning tutorials suitable for SAP UI5 beginners
Tutorial Directory
- SAP UI5 local development environment
- of the SAP UI5 application development tutorials: Hello World
- SAP UI5 Application Development Tutorial II: The Bootstrap Process of SAP UI5 Bootstrap
- SAP UI5 Application Development Tutorial No. 3: Getting Started with the First SAP UI5 Control
- SAP UI5 Application Development Tutorial No. 4: A Preliminary Study of XML Views
- SAP UI5 Application Development Tutorial No. 5: A Preliminary Study of View Controller
- SAP UI5 Application Development Tutorial Six - Understand the Concept of Module (Module) of SAP
- SAP UI5 Application Development Tutorial Part 7 - A Preliminary Study of JSON Model
- SAP UI5 Application Development Tutorial No. 8 - Multilingual Support
- SAP UI5 Application Development Tutorial No. 9 - Creating the First Component
- SAP UI5 Application Development Tutorial No. 10 - What is the descriptor of SAP UI5 application
- SAP UI5 Application Development Tutorial Eleven: SAP UI5 Container Class Controls Page and Panel
- SAP UI5 Application Development Tutorial Twelve - Use CSS Classes to Further Beautify the UI
- SAP UI5 Application Development Tutorial Thirteen - How to Add Custom CSS Classes
- SAP UI5 Application Development Tutorial No. 14 - How to Use Embedded Views
- SAP UI5 Application Development Tutorial No. 15 - How to Use Dialog Boxes and Fragments
- SAP UI5 application development tutorial sixteen - the use of icon
- SAP UI5 Application Development Tutorial Seventeen - Use of Aggregate Binding in UI5 Composite Controls
- SAP UI5 Application Development Tutorial Eighteen - Special Symbols in SAP UI5 Data Binding Syntax, and Detailed Explanation of Absolute Binding and Relative Binding Concepts
- SAP UI5 Application Development Tutorial No. 19 - SAP UI5 Data Types and Complex Data Binding
- SAP UI5 Application Development Tutorial Twenty-Explanation of Expression Binding Usage in SAP
- SAP UI5 Application Development Tutorial Part 21 - Custom Formatter for
- SAP UI5 Application Development Tutorial No. 22 - Development and Use of
- SAP UI5 Application Development Tutorial No. 23 - Sorting and Grouping of List Controls
- SAP UI5 Application Development Tutorial Part 24 - How to Use OData Data Model
- SAP UI5 Application Development Tutorial No. 25 - Using a Proxy Server to Solve the Cross-domain Problem of SAP Application Accessing Remote OData Services1621b52af44cde
- SAP UI5 Application Development Tutorial No. 26 - Detailed explanation of the use steps of OData service with Mock server
- SAP UI5 Application Development Tutorial Part 27 - Introduction to , a Unit Testing Tool for SAP UI5 Applications1621b52af44d37
- SAP UI5 Application Development Tutorial No. 28 - Introduction to OPA, an Integration Testing Tool for SAP
- SAP UI5 Application Development Tutorial No. 29 - Introduction to the Routing and Navigation Functions of SAP
- SAP UI5 Application Development Tutorial No. 30 - Parameter passing in the routing process of SAP
- SAP UI5 Application Development Tutorial 31 - Routing back and history of
- SAP UI5 Application Development Tutorial No. 32 - How to Create a Custom SAP UI5 Control
- SAP UI5 Application Development Tutorial No. 33 - Responsiveness of SAP UI5 Application (Responsiveness)
- SAP UI5 Application Development Tutorial No. 34-SAP UI5 Application Based on Device Type Page Adaptation Function (Device Adaptation)
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.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。