All Projects → SAP-samples → ui5-service-worker-sample

SAP-samples / ui5-service-worker-sample

Licence: Apache-2.0 license
ui5-service-worker-sample demonstrates how the Service Worker API, available in modern web browsers, could be used in a UI5 app to realize different caching strategies.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to ui5-service-worker-sample

ui5-cap-event-app
Showcase of SAP Cloud Application Programming Model and OData V4 with draft mode in a freestyle SAPUI5 app and an SAP Fiori elements app.
Stars: ✭ 70 (+337.5%)
Mutual labels:  sample, openui5, sapui5, ui5, sample-code
ui5-webcomponents-sample-vue
UI5 Web Components Sample TODO application built with Vue.
Stars: ✭ 52 (+225%)
Mutual labels:  sample, ui5, sample-code
ui5-schemas
🚀 UI5 Schemas allows you to develop SAPUI5/OpenUI5 XML at a maximum convenience. It downloads, upgrades and sets up SAPUI5/OpenUI5 XML schemas for a better development experience in your favorite IDE (if it is WebStorm ;).
Stars: ✭ 50 (+212.5%)
Mutual labels:  openui5, sapui5, ui5
ui5-webcomponents-sample-angular
UI5 Web Components Sample TODO application built with Angular.
Stars: ✭ 34 (+112.5%)
Mutual labels:  sample, ui5, sample-code
openui5-tour
OpenUI5 Tour enables an user-friendly way to showcase products and features in your website.
Stars: ✭ 21 (+31.25%)
Mutual labels:  openui5, sapui5, ui5
openui5-validator
A library to validate OpenUI5 fields
Stars: ✭ 17 (+6.25%)
Mutual labels:  openui5, sapui5, ui5
wdi5
cross-platform test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
Stars: ✭ 45 (+181.25%)
Mutual labels:  openui5, sapui5, ui5
UI5-Best-Practice
living document on UI5 best practices
Stars: ✭ 52 (+225%)
Mutual labels:  openui5, sapui5, ui5
ui5ts
This repo is no longer maintained. For a newer version supporting a more recent version of UI5, see neoprincie's fork:
Stars: ✭ 36 (+125%)
Mutual labels:  openui5, sapui5, ui5
ui5-webcomponents-sample-react
UI5 Web Components Sample TODO application built with React.
Stars: ✭ 47 (+193.75%)
Mutual labels:  sample, ui5, sample-code
devtoberfest-2021
The home of Devtoberfest 2021 - an open celebration of what makes us developers - coding and collaboration!
Stars: ✭ 212 (+1225%)
Mutual labels:  sample, sample-code
cloud-workflow-samples
Workflow sample projects as reference content. Users can download and import the content of this project to their tenant to understand and learn how to consume workflow.
Stars: ✭ 52 (+225%)
Mutual labels:  sample, sample-code
sapui5-cli
Simple CLI to scaffold SAPUI5 / OpenUI5 projects.
Stars: ✭ 17 (+6.25%)
Mutual labels:  openui5, sapui5
abap-platform-jak
The JSON ABAP Konverter
Stars: ✭ 16 (+0%)
Mutual labels:  sample, sample-code
btp-workflow-management-opensap
This repository contain the exercises for the openSAP course "Improve Business Processes with SAP Workflow Management."
Stars: ✭ 30 (+87.5%)
Mutual labels:  sample, sample-code
cloud-mdk-tutorial-samples
Sample from the SAP mobile development kit tutorials demonstrating various components and features of the MDK in the context of an enterprise mobile solution.
Stars: ✭ 16 (+0%)
Mutual labels:  sample, sample-code
iot-edge-samples
Showcase of various extension scenarios for SAP IoT Edge, intelligent edge computing software that provides "microservices at the edge" for Internet of Things (IoT).
Stars: ✭ 16 (+0%)
Mutual labels:  sample, sample-code
hana-developer-cli-tool-example
Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Stars: ✭ 73 (+356.25%)
Mutual labels:  sample, sample-code
cloud-cap-multitenancy
SAP Cloud Application Programming Model (CAP) sample code project with multitenancy using service manager-created SAP HANA containers for tenant data isolation.
Stars: ✭ 33 (+106.25%)
Mutual labels:  sample, sample-code
cloud-espm-cloud-native
Enterprise Sales and Procurement Model (ESPM) Cloud Native is a project that showcases how an application can be made resilient by implementing resilience design patterns. This application is developed using Spring Boot framework and can be deployed locally as well as on SAP BTP, Cloud Foundry environment.
Stars: ✭ 29 (+81.25%)
Mutual labels:  sample, sample-code

UI5 logo

ui5-service-worker-sample

REUSE status

Description

This sample demonstrates how the Service Worker API, available in modern web browsers, could be used in a UI5 app to realize different caching strategies.

It includes the openui5-sample-app and combines it with the ui5-service-worker code itself.

DISCLAIMER: This sample demonstrates possible usages of service workers for caching strategies of an UI5 app. You have to figure out what parts to adopt for your own productive applications.

Requirements

Download and Installation

  1. Clone this repository and navigate into it

    git clone https://github.com/SAP-samples/ui5-service-worker-sample.git
    cd ui5-service-worker-sample
  2. Install all dependencies

    npm install
  3. Start a local server and run the application

    npm start
  4. Navigate to http://localhost:8080/index-cdn.html

Video

Video

Content Structure

This ui5-service-worker-sample project consists of:

  1. openui5-sample-app
  2. ui5-service-worker

Integrate into Own App

Follow the detailed Integration section on how you could extract and integrate the ui5-service-worker into your own application.

Configuration

Find additional configuration options of the ui5-service-worker in the Configuration section.

UI5con Presentation

This sample project was derived to showcase features originally presented at UI5con:

Alternative Scenarios

  • Build the sample application to serve this preload variant from a local server using h2
    npm run start-h2

Known Issues

No major bugs known.

Contributing

In general the contributing guidelines of OpenUI5 also apply to this project. They can be found here: https://github.com/SAP/openui5/blob/master/CONTRIBUTING.md

Some parts might not be relevant for this project (e.g. the browser-specific requirements like jQuery, CSS and accessibility in the "Contribution Content Guidelines") and the contribution process is easier (pull requests will be merged directly on GitHub).

License

Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].