First time here? Check out the FAQ!
Is it possible to create a progressive web app (PWA) with zk ?
Kindly share tutorials if available.
PWA represents a new philosophy for building web apps. It's not created by a single technology. You can make your web apps more like PWA by matching a set of criteria. Please refer to https://developer.mozilla.org/en-US/docs/Web/Progressivewebapps/Introduction #What makes an app a PWA?
The simplest thing is to provide a manifest.json. There is a tool to verify your web application for PWA: https://developers.google.com/web/tools/lighthouse/
To build a PWA, some criteria are not related to ZK e.g. serve with HTTPS. Some are related e.g. be responsive. So you can start from the simplest thing and then gradually turn your web apps more like a PWA.
But I think the hardest part is to make a zk-based application available offline. Because ZK components will communicate to a server by default when end-users interact with components. Below is an example, but you need to handle the offline process by yourself. And it only works for <fragment>. https://blog.zkoss.org/2017/07/06/zk-8-5-preview-the-offline-recovery-feature-of-fragment-component/
For other criteria, I think ZK doesn't prevent you from implementing them.
Asked: 2020-10-20 22:59:02 +0800
Seen: 8 times
Last updated: Oct 22 '20
Column Layout Background Color
Migrate to ZK 9 From ZK 8 gives error
Component definition not found: drawer in [LanguageDefinition: xul/html] [closed]
ZK 9 Drawer Component - Help to set parent
Display data from database on a rendered Grid
ZK 9 Listhead property children not found exception