Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ui5-quickstart

This project is a step-by-step tutorial following the SAPUI5 Walkthrough to learn the fundamentals of building SAPUI5 applications. The walkthrough helps beginners understand how to set up a UI5 project and build a simple application by exploring key concepts such as data binding, components, models, and routing.

Table of Contents

Introduction

This project provides a basic starting point for building a UI5 application. It covers the essential steps from the SAPUI5 Walkthrough Tutorial to help developers understand how to structure and develop a UI5 application from scratch.

The Walkthrough demonstrates various features of UI5, such as data models, components, views, and controllers, as well as the MVC (Model-View-Controller) architecture.

Installation

To get started with this project, clone the repository to your local machine and follow the instructions below:

  1. Clone the repository:

    git clone https://github.com/yourusername/ui5-quickstart.git
    cd ui5-quickstart
  2. Install UI5 dependencies using npm:

    npm install
  3. Run the application locally:

    npm start

The application should now be accessible at http://localhost:8080 in your browser.

Getting Started

This project is structured around the SAPUI5 Walkthrough tutorial, guiding you through several steps:

  1. Setting up the project: Learn how to configure and structure a UI5 project.
  2. Building Views and Controllers: Create views using XML and JavaScript controllers.
  3. Data Binding: Understand the concepts of data binding with JSON models.
  4. Components and Routing: Explore component-based architecture and add routing to navigate between views.

Refer to the Walkthrough for detailed instructions.

Project Structure

Here is an overview of the important directories and files in the project:

ui5-quickstart/
│
├── webapp/                   # Main folder containing UI5 application files
│   ├── controller/            # Contains JavaScript controllers
│   ├── view/                  # Contains XML views
│   ├── model/                 # Contains JSON models for data binding
│   ├── Component.js           # Root component definition
│   ├── index.html             # Main HTML entry point
│   ├── manifest.json          # Application descriptor (metadata)
│   └── i18n/                  # Localization folder for translation
│
├── package.json               # Project dependencies and scripts
├── ui5.yaml                   # UI5 Tooling configuration
└── README.md                  # Project documentation

Key Concepts

  • MVC Architecture: SAPUI5 follows the Model-View-Controller architecture to separate concerns in the application.
  • Data Binding: SAPUI5 supports one-way, two-way, and property binding to bind UI elements to data sources.
  • Routing: Enables navigation between views in a UI5 application using hash-based routing.
  • UI5 Components: Components encapsulate views and controllers to promote modularity and reusability.

Resources

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages