4 ms·
Aside - It also lets you install progressive web apps onto the desktop. Has anyone built PWAs, and if so, why? Do they work cross-platform/mobile well?
by jatsign 8y ago
Aside -
It also lets you install progressive web apps onto the desktop. Has anyone built PWAs, and if so, why? Do they work cross-platform/mobile well?
- Scirra_Tom 8y agoInstalling as app works great for our PWA: https://editor.construct.net/ https://editor.construct.net/ > Has anyone built PWAs, and if so, why? Do they work cross-platform/mobile well? Works cross platform great. Construct 3 is a sophisticated productivity app, although it works on mobile devices it's not the ideal environment to get lots of stuff done with it. Coming from a Windows native app, main advantage in developing a PWA is that it allows easy cross platform support (Chromebooks especially good for educational markets) and much more agility in developing compared to say a native app.
- jatsign 8y agoVery cool. Do you happen to have any links to read about getting started? Any specific technologies (frameworks/libraries/etc) that helped out? Any lessons learned?
- Scirra_Tom 8y agoMy brother (and co-founder) actually develops the product with 2 other full time engineers, I'm not involved in the product development directly. It was all built from the ground up though. I think we were well ahead of the curve when it was started to be developed 3-4 years ago. Mentioned in another comment yesterday that we decided against using third party UI because we were worried about bloat, third party dependencies and general responsiveness. Whole app is usable in ~1mb of network load (less than lots of big-corp homepages) and we get comments from users saying after using it for a while they forget they are in the browser which is great and a strong indicator we've hit the mark. If we were to start again today, we'd still roll our own UI. My brothers blog is very good and often technical and goes into a lot of interesting web tech stuff relating to Construct 3 and PWA's: https://www.construct.net/en/blogs/ashleys-blog-2?orderID=1 https://www.construct.net/en/blogs/ashleys-blog-2?orderID=1 There are a whole raft of benefits of PWA's, probably too many to list especially coming from our native predecessor Construct 2. Auto updating users to latest versions, no download/installation which helps significantly with converting users into just trying the product, faster load times than our native Windows predecessor, easier distribution etc etc. Cross platform support is an incredible competitive advantage in some markets such as education where Chromebooks are common and competition is sparse/non-existent. It even runs on Raspberry Pi's and we're confident we're future proofed for new devices. Making your PWA fully functional online is tricky but doable and I believe particular care needs to be taken here from the beginning. Retroactively implementing offline support would be difficult. It's also important to not get too fancy and building it for offline use helps you avoid these traps. We've seen some PWA's record every user interaction within the PWA which appears to be the basis of some features such as undo - this brings in a huge raft of complexities. A few shortcomings, but the gaps are being bridged slowly but surely. For example copying images to clipboard: https://bugs.chromium.org/p/chromium/issues/detail?id=150835 https://bugs.chromium.org/p/chromium/issues/detail?id=150835
- baybal2 8y agoPWA are obsolete, weixin miniapps are the future.
- haywirez 8y agoIs there an English primer on how to build WeChat apps? What's involved?
- baybal2 8y agohttps://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/docs/mini-programs/development/brief-tutorial https://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_o... Aside from that, simply integrating individual apis into your pages can also be a solution if you don't want a full blown miniapp
- timdavila 8y agoI noticed that too. I'm not sure of the benefit of PWA on desktop, but I built a progressive web app, mainly because I need very few native features (currently only using push notifications) and I'm only one person so I don't have time/interest in writing native code when I can write for the web and be done. I use it daily on my Android and it works well for my needs. I get caching and push notifications, my app is right on my home screen so just one click away. All this is very cheap (writing a service worker) compared to trying to figure out Cordova or Electron.
- Spivak 8y agoI currently use the 'app' feature of Epiphany (GNOME's web browser) and it has 90% replaced my need to install Electron apps. So I welcome the future where most of my apps are really just nicer looking isolated tabs rather than separate web browsers.
- pjmlp 8y agoI just toyed around with them, but I am slowly changing my opinion about native vs mobile Web. PWAs appear to be a very good solution for typical CRUD style performance apps, specially with Web Components now being available across Chrome and Safari on mobile devices. On Windows 10, PWAs have replaced UWP JavaScript apps, meaning if a PWA is properly signed and packaged into the store, you get to access the UWP APIs directly. I haven't used ChromeOS, but I imagine similar functionality is available. So you get to combine Web and native APIs with the runtime doing the necessary FFI for you. This seems a good compromise when the native features aren't fully required, e.g. WebGL 2.0 vs ES 3.x / Vulkan...
- ilaksh 8y agoTo me the progressive part is a side issue. For someone like me, who has been trying off and on to use the web as a common application distribution platform for many years, being able to just pop up an install prompt and then have it installed like a regular desktop application seems very huge. I wonder why people aren't making a bigger deal about it. It's a big deal because the simple fact of having to visit a website in order to access a web application was one of the main differences that affected the user experience versus native applications. Some applications will see more users because of this change. Since it is somehow still controversial, I will go ahead and review my own perspective on the benefits of the web as an application platform. This is really down to programmer worldview so I realize some other people are always going to see things differently. 1. The web platform allows you to create one code base rather than having to maintain source for Windows, Mac and Linux. 2. The web platform has a set of APIs that are comprehensive and well designed. 3. The web platform handles distribution. Trying your application is as simple as one click. I can actually see this as gradually taking share away from Steam for distribution of games (that can be created for the web).