4 ms·
Progressive web apps are seriously pretty darn awesome. It can work offline after running it once. Supports push notifications. You can ask the user to install
by prophesi 10y ago
Progressive web apps are seriously pretty darn awesome. It can work offline after running it once. Supports push notifications. You can ask the user to install the web shortcut to the homescreen. I remember being blown away by all of this with pokedex.org a year ago.
I had a low-end smartphone for the longest time where I had to fight for every byte on there. After installing Messenger & Instagram, I had less than 1gb left thanks to uninstallable bloatware (there was no safe way to root it). And the Play Store doesn't let you install apps/updates when you're near 300mb or so. My friends with iPhones/Nexus devices that don't sport an SD slot have also shared these sentiments, though most just need to learn how to offload their photos/videos to the cloud. Regardless, not having to install anything is a pretty shweet bonus.
- brightball 10y agoWhat would you say is the best place to learn your way around / experiment / hello world those types of examples?
- prophesi 10y agoGoogle has a good intro on progressive web apps. https://codelabs.developers.google.com/codelabs/your-first-pwapp/ https://codelabs.developers.google.com/codelabs/your-first-p... Then you can grade how progressive your app is by running https://github.com/GoogleChrome/lighthouse https://github.com/GoogleChrome/lighthouse Push notifications still aren't widely supported, sadly. https://developer.mozilla.org/en-US/docs/Web/API/Push_API https://developer.mozilla.org/en-US/docs/Web/API/Push_API There's quite a sizable fence you have to jump to get into progressive web app development. They have to serve over https, localStorage & service workers can be a pain, and there's a lot of fallbacks to implement for unsupported browsers (I'm looking at you, Safari!). There's also a great write-up on all that went into making pokedex.org http://www.pocketjavascript.com/blog/2015/11/23/introducing-pokedex-org http://www.pocketjavascript.com/blog/2015/11/23/introducing-...
- rimantas 10y agoNative apps are awesome. They have 10x more than you mentione with 10x less effort to develop.
- prophesi 10y agoiOS only recently became a pleasure to develop in with Swift, though the language is still in rapid development (read: constant updates with breaking changes). Android has and still is an absolute pain; I still don't think I've been able to successfully write an app that looks OK across device screens. Plus the whole fragment vs activity debacle. The whole process feels like a hack. Windows has always been a pleasure to develop in, but that's not where the users are at. If you already do web dev, then learning service workers + local storage won't add much difficulty. Plus, they're excellent tools to add to your toolbelt that your future projects could benefit from. And you'd be encouraging Apple to step up the game with their IE- I mean Safari.
- rimantas 10y agoI've been doing iOS development for 7 years now it has always been a pleasure compared to web dev (which I have been doing for close to 20 years now). What's more important native development gets more and more pleasurable while I cannot say the same about web stack. It is close to jumping the shark if it hadn't yet.