Link Search Menu Expand Document

Overview of Sample Apps

For a few topics, sample apps have been developed so that the best practices can be demonstrated hands on. These were developed in such a way that they can be executed ad hoc with CodeSandbox.io.
So it is immediately visible how the app works with the best practices.

Here you can see which sample apps already exist.
All apps are divided into different branches in the repository UI5-Best-Practice-samples.

Error Handling

Topic

In this example, the best practice was implemented that the error handler should be outsourced to an external library. As an example, an attempt is made to retrieve a non-existent product from the Northwind service.

https://github.com/1DSAG/UI5-Best-Practice-samples/tree/error-handling

App in CodeSandbox.io

https://githubbox.com/1DSAG/UI5-Best-Practice-samples/tree/error-handling

i18n

Topic

In this example, various best practices regarding i18n are shown, as well as its various application possibilities.

https://github.com/1DSAG/UI5-Best-Practice-samples/tree/i18n

App in CodeSandbox.io

https://githubbox.com/1DSAG/UI5-Best-Practice-samples/tree/i18n

Routing

Topic

This example shows various best practices regarding routing between different views.
For this purpose, the Northwind service is used to retrieve products and their associations.

https://github.com/1DSAG/UI5-Best-Practice-samples/tree/routing

App in CodeSandbox.io

https://githubbox.com/1DSAG/UI5-Best-Practice-samples/tree/routing

Testing

Topic

In this example, various best practices regarding testing are shown.

https://github.com/1DSAG/UI5-Best-Practice-samples/tree/testing

App in CodeSandbox.io

https://githubbox.com/1DSAG/UI5-Best-Practice-samples/tree/testing

Typescript

Topic

This example shows a basic app written with Typescript.

https://github.com/1DSAG/UI5-Best-Practice-samples/tree/typescript

App in CodeSandbox.io

https://githubbox.com/1DSAG/UI5-Best-Practice-samples/tree/typescript