zlacker

[parent] [thread] 31 comments
1. criley+(OP)[view] [source] 2017-07-27 13:54:10
I completely disagree, to be frank.

Why do I need a native binary, tens of thousands of lines of code, an app with a massive permissions access to my device...

To read a news article?

To book a flight?

To comment on an internet post?

Adding a few more "app features" to light web pages sounds a whole lot more attractive than banishing all useful functionality into the den of apps, where only larger teams and more experienced developers can roll out even basic functionality.

replies(5): >>quickb+61 >>matthe+W1 >>simonh+n2 >>interp+i3 >>Spivak+T5
2. quickb+61[view] [source] 2017-07-27 14:00:22
>>criley+(OP)
There is that, and then there are performance intensive apps, and everything in between.

Apple is ensuring that most of its ecosystem is fast and pleasant.

replies(1): >>pmontr+z2
3. matthe+W1[view] [source] 2017-07-27 14:05:05
>>criley+(OP)
Why do I need a native binary, tens of thousands of lines of code, an app with a massive permissions access to my device...

You don't – but why do you need loading screens, push notifications, or any of that other stuff either?

The web is great in concept for document-oriented information and some application uses. Mobile applications are greater for richer user interfaces and more device integration. They both have their strengths, and I think it's okay to accept that.

replies(3): >>Ajedi3+p5 >>euyyn+S6 >>hn_thr+nf
4. simonh+n2[view] [source] 2017-07-27 14:07:57
>>criley+(OP)
Why on earth do you need loading screens, push notifications, home screen icons, etc for any of that?

I booked the holiday I'm currently on to China almost entirely on an iPad, I could easily have done all of it that way, with none of these features.

◧◩
5. pmontr+z2[view] [source] [discussion] 2017-07-27 14:08:55
>>quickb+61
Fast and pleasant are useful tools to Apple's goal of making a lot of money, which is not bad per se.

The author got it right:

> Apple treats web apps like second class citizens because they don’t generate money like native apps in the app store.

There won't be good support for web apps unless they find a way to make money out of them. If the day comes that native apps don't make money anymore, maybe because everybody gives them for free as front end to services paid outside the Apple Store (think Slack), then Apple could improve Safari and live only with revenues from the hardware.

It's going to be a hard fight because the goals of Apple and the goals of developers (and maybe also the goal of their customers) are not aligned and they own the platform.

6. interp+i3[view] [source] 2017-07-27 14:14:20
>>criley+(OP)
I think we agree in some sense.

> To read a news article?

I refuse to use a native app for this (e.g., Apple News, Flipboard). I love reading my news on the web. In a browser. Where the page is the content and the browser is the convenience. Even better is having Safari's "Reader Mode" enabled constantly so every article is consistently and nicely formatted and I get just the text and links.

> To book a flight?

Same thing for booking a flight, last time I did that was on a web site. With some forms and a few "Next" links to go to the next page until I was done.

It was nice to get the boarding pass in Apple Wallet though and then use that to board.

> To comment on an internet post?

I'm commenting on this post right here in Safari. I wouldn't ever want to use an app for it.

I don't need more "app features" on light web pages. Especially not the ones mentioned in the article.

replies(1): >>Ajedi3+E4
◧◩
7. Ajedi3+E4[view] [source] [discussion] 2017-07-27 14:23:09
>>interp+i3
Now imagine if you could do all of that faster and offline, while still avoiding the need to install a native app. That's something PWAs would enable.
replies(2): >>interp+N6 >>albedo+T6
◧◩
8. Ajedi3+p5[view] [source] [discussion] 2017-07-27 14:26:55
>>matthe+W1
> loading screens, push notifications

You seem to be laser-focused on this one tiny part of PWAs. There's way more too it than that, like offline support, background sync, etc. Imagine if you could press a button on the page to save that article you're reading for later, and have it available offline next time you need it.

Or what if you could write a comment while offline, and have it be automatically posted next time you have a connection. (Or optionally, have a notification pop-up next time you're online asking if you still want to post it.)

PWAs are just flat out _better_ than existing web apps. It's remarkable to me that so many people seem to be against these incredibly useful features just because the app they're using is web-based rather than native.

replies(3): >>ino+X8 >>matthe+ng >>s73ver+m01
9. Spivak+T5[view] [source] 2017-07-27 14:28:43
>>criley+(OP)
But when everything is pushed to the web the same argument applies to your browser.

> Why do I need a web app, tens of millions of lines of code, a website with massive permissions to my browser.

> To read a news article?

> ...

replies(1): >>euyyn+i7
◧◩◪
10. interp+N6[view] [source] [discussion] 2017-07-27 14:34:24
>>Ajedi3+E4
On reading news articles: I can do that offline and fast right now. I add things to my reading list as I browse the web and Safari downloads them in the background. Then I can read articles when I'm offline (like on a flight). I'm a pretty voracious user of the Reading List and Reader Mode features of Safari.

On booking a flight: I'm not sure how doing this offline helps? Last time I did it, I did have to wait for pages to load after clicking links but it was on the order of seconds or less. And not anything frustrating.

On commenting on an Internet post: Doing it offline is not really interesting to me, and I'm not sure how that would work (which is why I'm happy to do it in a browser). Hacker News is more than fast enough. It's really minimal.

replies(1): >>Ajedi3+A8
◧◩
11. euyyn+S6[view] [source] [discussion] 2017-07-27 14:34:53
>>matthe+W1
I get plenty of push notifications from native apps that I find useful: e-mail, twitter, calendar events, chat. I can block those I don't want. That developers can't write a web app if they want as much as the option is ridiculous.

Well, actually they can, as Twitter has shown. It looks like Apple is trying to pull an Internet Explorer on us though.

replies(1): >>matthe+ch
◧◩◪
12. albedo+T6[view] [source] [discussion] 2017-07-27 14:34:59
>>Ajedi3+E4
PWAs would enable me to book a flight and comment on an internet post offline?
replies(1): >>Ajedi3+S8
◧◩
13. euyyn+i7[view] [source] [discussion] 2017-07-27 14:37:26
>>Spivak+T5
Because the web app is portable across OS'es to start with.
replies(1): >>scaryc+4u
◧◩◪◨
14. Ajedi3+A8[view] [source] [discussion] 2017-07-27 14:45:02
>>interp+N6
> I add things to my reading list as I browse the web and Safari downloads them in the background.

Sure, but PWAs allow for so much more than that. For example, you could not only read the article offline, but also _comment_ on it offline and have your comment automatically posted next time you have a connection. Or you could click a button to have all future articles from a particular news site automatically synced in the background while you're on WiFi so they're available for reading next time you're out; no manual downloading of each individual article required.

> On booking a flight: I'm not sure how doing this offline helps? Last time I did it, I did have to wait for pages to load after clicking links but it was on the order of seconds or less.

A PWA would allow much faster interaction than that. Seconds or less? That's terrible compared to the performance you _could_ be getting out of a PWA (i.e. near instant, like what you'd expect from a native app).

> Doing it offline is not really interesting to me, and I'm not sure how that would work (which is why I'm happy to do it in a browser). Hacker News is more than fast enough. It's really minimal.

Sounds to me like you're already content with the experience you're getting from the web. That's fine, but it's no reason to oppose features that would make the experience even better for those of us who do want them.

replies(1): >>interp+cc
◧◩◪◨
15. Ajedi3+S8[view] [source] [discussion] 2017-07-27 14:46:47
>>albedo+T6
Yep, provided the app's developer wanted to implement such a feature: https://developers.google.com/web/updates/2015/12/background...
◧◩◪
16. ino+X8[view] [source] [discussion] 2017-07-27 14:47:15
>>Ajedi3+p5
> Imagine if you could press a button on the page to save that article you're reading for later, and have it available offline next time you need it.

This is available on Safari, the same browser the author is bashing and comparing to IE.

And it's synced across macOS and iOS. It's called "reading list". It works with airplane mode and everything.

replies(2): >>Christ+2a >>Ajedi3+za
◧◩◪◨
17. Christ+2a[view] [source] [discussion] 2017-07-27 14:53:41
>>ino+X8
> And it's synced across macOS and iOS. It's called "reading list". It works with airplane mode and everything.

If only we had a standard way to do this...

replies(1): >>interp+0i
◧◩◪◨
18. Ajedi3+za[view] [source] [discussion] 2017-07-27 14:56:55
>>ino+X8
Yeah, that sounds like a great feature. The thing is though, that feature isn't going to go away just because PWAs are a thing. The only difference with PWAs would be that sites would _also_ have the option of building offline support into the application itself rather than having to rely on one specific browser to handle that feature for them.

Not to mention PWAs would allow for more complex offline features Safari doesn't support, like syncing the front page of a news site and all associated articles, or automatically downloading new articles as soon as they're posted.

◧◩◪◨⬒
19. interp+cc[view] [source] [discussion] 2017-07-27 15:08:54
>>Ajedi3+A8
I don't think a native flight booking app would be "near instant" at all.

You'd hit "Next", the screen would push over instantly. But there'd be a loading indicator right in the middle of it until the server returned the necessary data. Asynchronous apps or web sites or web apps will always need to load data from somewhere. PWA doesn't magically make loading go away.

I'm okay with adding offline support, faster loading, and all of that for web apps and sites I use in my browser. None of those features sound bad to me. In the browser.

◧◩
20. hn_thr+nf[view] [source] [discussion] 2017-07-27 15:30:00
>>matthe+W1
Wouldn't you at least consider this a useful use case: Purchase a flight online on a website, but then get a push notification if there is a flight change? Why should we force a user to download an app to support that use case.
replies(1): >>jachee+nh
◧◩◪
21. matthe+ng[view] [source] [discussion] 2017-07-27 15:36:26
>>Ajedi3+p5
PWAs are just flat out _better_ than existing web apps. It's remarkable to me that so many people seem to be against these incredibly useful features just because the app they're using is web-based rather than native.

I think that's where we'll have to disagree in some sense.

Adding features to the web platform will of course mean that web applications have access to more features. Some of those are great – I'm really glad we have geolocation, for example.

The trade-off is that every feature added to the platform incurs cost and complexity. Trading these off is important; what is the point in web apps that do everything native apps do, but in a somewhat less good way?

There are obviously pros and cons here, and I'm not convinced that the use cases for more complexity are beneficial enough to justify it.

◧◩◪
22. matthe+ch[view] [source] [discussion] 2017-07-27 15:40:28
>>euyyn+S6
I don't agree with this.

Web applications are fine, and have their place. I'd argue that place is not as frequently-used, heavily interactive applications; native apps exist for that, and are better in most ways.

This is the thing – some publishers insist on using their stupid application when all I want to do is browse some content. Other publishers insist I use their shitty JS-HTML-Hybrid nonsense because they are too stingy to develop proper applications. I wish we could learn to more effective use technologies in the right places.

replies(1): >>euyyn+TH
◧◩◪
23. jachee+nh[view] [source] [discussion] 2017-07-27 15:41:48
>>hn_thr+nf
Why not just use SMS instead? It's timely, and it works even if the target device is in an overcrowded airport and can't get mobile data.
replies(1): >>hn_thr+Uz3
◧◩◪◨⬒
24. interp+0i[view] [source] [discussion] 2017-07-27 15:44:39
>>Christ+2a
> If only we had a standard way to do this...

Well it seems like either each and every website could build offline support and background sync into their site, or you could use a browser that does it for you.

In the former case, if you rely on sites integrating it, you could be frustrated when some sites do not implement background sync and offline support (or do it badly).

Having the browser do it seems simpler. Especially given the real world use cases for this feature.

(I'm not against having these technologies on the web. Just seems more sensible for a browser to do your reading list — just like it manages your tabs.)

◧◩◪
25. scaryc+4u[view] [source] [discussion] 2017-07-27 16:54:20
>>euyyn+i7
A lot of the time web apps aren't even portable across different browsers...so...YMMV in regards to the whole portability thing.
replies(1): >>euyyn+8G
◧◩◪◨
26. euyyn+8G[view] [source] [discussion] 2017-07-27 18:04:56
>>scaryc+4u
> A lot of the time

That was the case in the 90s, and hasn't been the case since. "Some times, that are so rare that people point to it and comment on it on forums", yes.

replies(1): >>scaryc+5X
◧◩◪◨
27. euyyn+TH[view] [source] [discussion] 2017-07-27 18:16:39
>>matthe+ch
Why try to dictate what developer tools are available to frequently-used, heavily interactive apps, vs the other types?

> This is the thing – some publishers insist on using their stupid application when all I want to do is browse some content.

That's exactly the problem PWAs solve. Those publishers want some features that on iOS are only available to native apps, and so have to make the experience suck for Apple users by using an installed native app instead of a web app. Both publishers and users have an aligned interest there for PWAs, which goes against Apple's own interest.

◧◩◪◨⬒
28. scaryc+5X[view] [source] [discussion] 2017-07-27 20:01:47
>>euyyn+8G
It's a day to day occurrence, within Web development teams who have different preferences in browser. I've witnessed it in multi companies over the last decade. If you've not noticed it, then it's highly likely you're not testing outside of a single browser. The fact that you think this is a 90s issue shows that you're either extremely junior and arrogant, or totally out of touch with modern Web development. Either that or in denial. Sorry if that sounds harsh, but if nobody says it too you then you're going to continue on in a sorry little bubble of ignorance.
replies(1): >>euyyn+jm1
◧◩◪
29. s73ver+m01[view] [source] [discussion] 2017-07-27 20:22:30
>>Ajedi3+p5
"You seem to be laser-focused on this one tiny part of PWAs."

We're laser focused on the annoying parts that we know will be abused to death.

"Imagine if you could press a button on the page to save that article you're reading for later, and have it available offline next time you need it."

Most browsers already do this.

"PWAs are just flat out _better_ than existing web apps. It's remarkable to me that so many people seem to be against these incredibly useful features just because the app they're using is web-based rather than native."

Because we already have native apps to do these things. I don't want websites to do these things. I want a website to be a website.

◧◩◪◨⬒⬓
30. euyyn+jm1[view] [source] [discussion] 2017-07-27 22:58:35
>>scaryc+5X
If you're talking of the need to use polyfills, and test in multiple versions of multiple browsers before pushing to production, I think it's incomparable to having to write multiple native apps.

If you're talking about fonts rendering differently, or some line being some pixels further to the right, same thing; incomparable.

If you're talking about corporate web apps written for IE, those aren't accessible from a phone anyway, so the distinction between native and web app is meaningless for them.

If, instead, you're talking of websites that really don't work on a modern browser, and you stumble on them day to day, you just have an experience that's different from most other people. The easiest way to tell that what I'm telling you isn't just my individual experience is to compare what you see and read today from what used to be the case in the days of IE domination.

Acting like a dick that thinks people that disagree with you are in a sorry little bubble of ignorance is just a character flaw; nothing to do with this.

replies(1): >>Spivak+zA1
◧◩◪◨⬒⬓⬔
31. Spivak+zA1[view] [source] [discussion] 2017-07-28 02:03:22
>>euyyn+jm1
> I think it's incomparable to having to write multiple native apps.

It's not comparable to writing multiple native apps, but it's the exact same model as having to use cross-platform toolkits like QT. The web has just replaced OS with browser.

> taking about fonts rendering differently

This mimics what happens when using something like QT or Java since they at least try look kind of like the platform they're running on.

> talking about corporate web apps written for IE

IE & Chrome specific features are exactly kinds of things that make cross-browser development just like cross-platform development. Your site either has to use the lowest common denominator or be littered with platform ... err browser specific code -- exactly like native apps.

◧◩◪◨
32. hn_thr+Uz3[view] [source] [discussion] 2017-07-29 01:27:52
>>jachee+nh
For privacy reasons, some users would prefer not to give phone numbers. From a provider perspective, sms would become a significant cost if you're sending millions of texts, while push is essentially free.
[go to top]