[Question] Progressive Web Apps with CLOG #87
-
I was curious about whether one can make a PWA (Progressive Web App) with CLOG. In particular, to make a web app with CLOG which can be opened in a browser as usual, but which can also
Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To create your PWA with clog you just create your boot file as a PWA with your resources in it and include the boot.js file and jQuery and will have access to everything in the PWA once it connects to your CLOG app, so you should account for in the PWA the possibility of not being able to reach the server and deal with that according to your apps needs, waiting icon etc As for working offline, as just mentioned if boot.js can't reach the CLOG app then you will only have whatever you have programmed in to your PWA available. The sharing protocols, or any other that are missing, are easily added to CLOG itself if needed. |
Beta Was this translation helpful? Give feedback.
To create your PWA with clog you just create your boot file as a PWA with your resources in it and include the boot.js file and jQuery and will have access to everything in the PWA once it connects to your CLOG app, so you should account for in the PWA the possibility of not being able to reach the server and deal with that according to your apps needs, waiting icon etc
As for working offline, as just mentioned if boot.js can't reach the CLOG app then you will only have whatever you have programmed in to your PWA available.
The sharing protocols, or any other that are missing, are easily added to CLOG itself if needed.