News for hackers. Stuff that matters.
Re:Interview with Ryan Dahl, Creator of Node.js by gaius on Thursday August 31, 2017 @03:29PM (#15143144)
If you need "offline mode" why not just write a native app? It will be far better in every way - looks, performance, battery drain, you name it.
Re:Interview with Ryan Dahl, Creator of Node.js by lenkite on Friday September 01, 2017 @01:21AM (#15146311)
Nobody likes to download and install stuff. Just imagine the state of the web if you had to install a app for every website you visit ? Oh...you need to add iOS and Android to the list of platforms. That makes it 5 platforms. 5x the work.
Re:Interview with Ryan Dahl, Creator of Node.js by mbrock on Friday September 01, 2017 @12:33AM (#15146140)
I don't want to ask everyone to install a native app, I don't want to use several different native app UI libraries, etc. I'm one of those people who thinks that the web browser as an app platform is a pretty good idea.
Re:Interview with Ryan Dahl, Creator of Node.js by sova on Thursday August 31, 2017 @03:32PM (#15143159)
Make a native app for every independent platform?
Re:Interview with Ryan Dahl, Creator of Node.js by gaius on Thursday August 31, 2017 @03:59PM (#15143384)
Windows, Linux, OSX - there just aren't that many platforms these days, it's perfectly do-able. If your core logic is in ANSI C (or equivalent) and you just need a GUI for each platform, even easier.
Re:Interview with Ryan Dahl, Creator of Node.js by mahyarm on Thursday August 31, 2017 @04:59PM (#15143869)
It's still 3 more platforms, which means 3 more developers, which leads to more $$$. Not everyone is VC backed with multi-millions.
Re:Interview with Ryan Dahl, Creator of Node.js by gaius on Thursday August 31, 2017 @05:05PM (#15143917)
But one of these "offline" apps has to work in Firefox, IE and Safari, so really, it's no different
Re:Interview with Ryan Dahl, Creator of Node.js by squeaky-clean on Thursday August 31, 2017 @06:49PM (#15144643)
As long as you stick to the APIs implemented in each browser, your code can be exactly identical. Realistically, you'll probably need to add some polyfills and edge case handling for IE, but it's much less than developing for different full-on platforms.
Re:Interview with Ryan Dahl, Creator of Node.js by moosingin3space on Thursday August 31, 2017 @07:05PM (#15144743)
With the major exception that all evergreen browsers (most browsers in wide use today) quickly officially support new web standards, but Windows, OS X, and Linux are unlikely to ever officially support each others' native toolkits.
Re:Interview with Ryan Dahl, Creator of Node.js by squeaky-clean on Thursday August 31, 2017 @06:47PM (#15144635)
Don't forget iOS, Android and Windows Phone.
Re:Interview with Ryan Dahl, Creator of Node.js by vilmosi on Thursday August 31, 2017 @05:14PM (#15143992)
Because not every news website and blog needs an app. I think everybody is tired of seeing the "Install our app" banners for every website you visit.
Re:Interview with Ryan Dahl, Creator of Node.js by flukus on Thursday August 31, 2017 @09:40PM (#15145495)
News websites and blogs don't need to work offline. Even if they did, "save page as" or an RSS reader was the way to go.