3 ms·
I feel like there's a deep-rooted tension and aggression in the web space that is caused by the evolution of the web to an application platform. I think we are
by borplk 9y ago
I feel like there's a deep-rooted tension and aggression in the web space that is caused by the evolution of the web to an application platform.
I think we are increasingly needing a stronger separation between functionality oriented applications that operate in the browser vs media-based content (documents/videos/images/articles).
The web has become an unnecessary-hostile platform for web applications because you are standing on a thin layer of glass the whole time because you have to juggle so many combinations of environments and browsers and capabilities and devices and screen sizes and internet speeds and everything in between.
For example there's an insane amount of baggage involved today in deploying a decent production web application in terms of bundling the assets caching vendor prefixing feature detection and so on..
So much of that could go away if we had a more application-focused platform on the web.
So someone could say you want a web-based customer service desk application? Here install this 30MB bundle once and let us focus on everything else. It's not a big ask.
Instead we have a mindfuck of "minifying" "vendor prefixing" "css autopefix" "css sprite" "code splitting" "tree shaking" "___ javascript library that is only 4 kilo bytes!" "hash based cache busting strategy" "feature detection" and so on.
It just adds unnecessary complexity and baggage.
As a long-time web dev I'd like to see the web platform for applications evolve into a more friendly and predictable environment for the developers more similar to the mobile app platform.
- nostrademons 9y ago"Here install this 30MB bundle once and let us focus on everything else. It's not a big ask." That was basically Java applets, and then later JNLP and Flash. It turns out it is a big ask. Users really don't want to install software, and their attention span is literally about two seconds. Javascript + DOM "won" over Java applets for two main reasons: you could access the whole browser window, and you could display something on the screen immediately without needing to load your whole application's functionality. We didn't like JS back in 2002 either - the Java ecosystem was much more mature and easier to program with. But we put up with it because users expressed a very clear preference for DHTML apps over Java applets, and money follows users, and devs follow the money. All the tree-shaking, code-splitting, minifying, etc. is there to preserve this "loads quickly" property as JS apps have gotten more complex. A lot of sites do it poorly, but think of those sites as prey for an enterprising startup willing to put the extra effort into snappiness.
- borplk 9y agoI get it. My general point is that there's an imbalance between the method of application delivery and the importance of the application (or the frequency of use). The method that we have makes sense for frequent hopping between different documents on different sites and spending some minutes on each. As was the case with the original "web of linked documents". But now there's undue baggage and pressure and complexity imposed on application developers because on one hand they are developing sophisticated applications that people use daily for many hours. On the other hand they have to worry about the most trivial things like if some library of bundle file is 200KB or 1MB. Or worry if javascript is even enabled or not, if whatever CSS feature like flexbox or grids or whatever is supported or not. A trivial thing turns into something complicated because you need fallbacks and polyfills and fallback for your fallback and you know the rest. It hurts the developers but also the users because time and effort that could be spent on the product is spent on this kind of stuff. That's why I think the separation of content and application is becoming more important. If you want snappy media that is not bloated and responsive and readable and open and all that fine. But if you want a full-blown CRM or spreadsheet or customer support desk software and the like that you spend your day on let's give the developers a break and give them a predictable environment with a robust method of application delivery, without bean counting the bytes, and empower them to focus on the real problem that they are trying to solve for you.
- greggman 9y agoExcept it's not a big ask is it? Users routinely download 10-100meg apps on their phones and tablets and update them constantly. Should desktop/laptops be the same? Is it only because desktops/laptops started long before the internet was fast enough to support that apps that they don't run like phones/tablets? I don't want a locked down desktop/laptop. I'm only pointing that that more people than own desktop/laptops are constantly downloading and installing 30M bundles
- nostrademons 9y agoA big problem in the mobile app ecosystem is that users don't routinely download 10-100meg apps. Most users have 6-12 apps they've already downloaded and use routinely and then say "Eh, no thanks" to more. This is why it's so hard to break into the App Store as an indie developer. I can think of at least two instances in the last week where I've had a desire for the functionality offered by a big-name product (Groupon and Zillow), went to their mobile website, was confronted with a nearly-nonfunctional mess and a prompt to download their app, and then said, "Eh, I don't care enough to bother and wait for it to download."
- flukus 9y ago> So much of that could go away if we had a more application-focused platform on the web. We already have that platform, the desktop. Sure the distribution side of things could be improved, but there is nothing wrong with the platform.
- thesmok 9y agoThere is one issue with desktop applications: user has to _trust_ the developer of application he's going to install. Because an application get access to everything in the user directory. I'm under impression this is the major reason for web apps becoming popular on desktop: most of the time, running software in browser is totally safe for user, unlike running native applications.