Re:Turn your website into a Progressive Web App
by vvdcect on Wednesday July 12, 2017 @10:38AM
(#14752849)
I always had this idea that a PWA was a site/app that works without js.
[ Parent
| on HN ]
Re:Turn your website into a Progressive Web App
by codedokode on Wednesday July 12, 2017 @11:51AM
(#14753534)
I think "progressive" is just a new meaningless buzzword.
Re:Turn your website into a Progressive Web App
by Brakenshire on Wednesday July 12, 2017 @11:57AM
(#14753590)
As I understand, progressive here means that it will work as an ordinary website even if the extra features like Service Workers aren't supported by the browser.
Re:Turn your website into a Progressive Web App
by finchisko on Wednesday July 12, 2017 @02:33PM
(#14755204)
For me progressive should mean, that features (like adding to home screen, push notifications...) reveals progressively. Visitor should show some engagement, before PWA start to offering those features. Definitely not on first visit. It's very trendy nowadays, but extremely annoying to cancel all those feature request popups. "Do you want to receive push notifications?", "Please install our app for better experience", "Add app to homescreen" ... That's not web I like. And yes, I do realise it's far from original definition.
Re:Turn your website into a Progressive Web App
by codedokode on Thursday July 13, 2017 @04:22AM
(#14759618)
I think that it would be better to remove popups and only show an icon in the address bar so the user can click it and grant necessary permissions. My version of Chromium shows an icon when a site wants to install a service worker.
Re:Turn your website into a Progressive Web App
by pavlov on Wednesday July 12, 2017 @10:53AM
(#14752998)
"Progressive" has been redefined, like "responsive" before it.
Re:Turn your website into a Progressive Web App
by JustSomeNobody on Wednesday July 12, 2017 @10:52AM
(#14752987)
No, that was Progressive Enhancement where js was optional.
Re:Turn your website into a Progressive Web App
by prophesi on Wednesday July 12, 2017 @11:28AM
(#14753364)
I was under the impression that the Progressive part of PWA meant Progressive Enhancement.
I have a PWA that creates html/css in the build process. If JS is enabled, it acts as an SPA. If JS is disabled, it's a simple static site. If ServiceWorker can be used, caches the html/css I built which both the SPA and static site versions can use. If no SW, then fallback to AppCache/LocalStorage/etc.
The hardest part was finding a CSS framework that doesn't use JS and still can do menus/etc nicely.