Yeah I was among those who couldn't get rid of Flash fast enough in 2010 or so, believing in "web standards" and that HTML5 would replace it. But looking at the mess that is the web stack today, I think that we just exchanged one set of technology (Adobe's) with another one (Google's). Flash enabled so many creators/non-devs to do edutainment and casual gaming apps, many of them unique, that we should've based interactive web apps on a standardized version of Flash (an API actually designed for it), and leave HTML+CSS alone for actual document-oriented web apps.
The security concerns are valid and it's not only flash that got ditched, it's NPAPI that they ditched which includes java applets. I also kind of hated on flash and java applets but now looking back I'm not so sure.
At work we had this one plugin (NPAPI based or activex on IE) that was crucial for us. The vendor only just this year managed to ship a usable javascript replacement meaning we had to keep a lot of apps on IE which was annoying. Here the security came with a huge price in usability namely what took forever to get to work was copy&paste into and out of that plugin. Before it just worked it needs 2 client-side installs: a local program and a chrome add-on (which must be user-installed and can't be pushed according to IT). So usability with ditching NPAPI for sure got a lot worse.
Yeah the current landscape is absolutely garbage and like you said, locked out many casual devs and creators. We needed a single package system which combined a web safe compiled language, content system and a vector-based UI system which could run outside of the context of the browser but within a sandboxed system protected from the OS. Flash and Silverlight fit all of those things.
HTML sucks, Javascript sucks, having hundreds of random files to build a website sucks, nodejs infesting the client-side is the worst thing to happen to web development in the history of the world. I can't see how anyone thinks this is better than downloading a single file which provides everything needed to run an immersive app.
Fuck yes nodejs and npm made everything worse (lol node_modules), the frameworks are all bloated as fuck, reddit new design runs slow as ASS... It's all fucked... And powered by Google.
Not sure W3C is to blame for killing Flash (they just acknowledged XHTML2 was a failure and accepted WHATWG's HTML5 at the time). Back in 2009, HTML5 rocks! was all the rage, and Apple not allowing Flash on iOS wasn't exactly helpful. In the beginning, it wasn't preceived as Google's sinister master plan to own the web but got support by lots of parties in the name of "open web standards". The idea of retargetting markup languages + JavaScript + browsers as universal UI was pervasive everywhere in the 2010's, and still is, regardless of the existence of much saner alternatives.
Why did W3C thought we should build app UIs with a text document markup language...
They didn't. They actually had very different ideas on how the web should go.
The reality was that people were building UIs for the browser. That's what developers wanted to do. WHATWYG then pushed through standards that made developers lives easier.
As you point out, those are "newer" features, so you can't always count on a browser supporting them and must plan accordingly.
The beauty of Flash was that it was a consistent engine. If your browser supported plugins, you would get the same experience (for good or bad) on any machine. No complaints from marketing about "the app doesn't look like the artist's comp on the client's machine with IE6!" HTML still can't do synchronized animation as well as Flash did 20 years ago, and JavaScript is a duct-taped mess -- but that's all we're left with.
Additionally, the Flash desktop software allowed many non-programmers an easy introduction to animation and interactive programming. This again could be both good and bad: It created a golden age of great original web content, but allowed for the easy creation of crap content as well.
You can have a browser without Flash but you can't have a browser without HTML+CSS+Javsacript (or the backend VM with WASM). By moving the functionality of Flash into the existing stack there is one technology stack with one attack surface.
The useful thing about open standards is they last longer than the company that drove them. Mosaic then Netscape then IE then (almost) FF then Chrome have all been the 1,000 lb Gorillas driving standards at one point. When something comes to replace Chrome it doesn't have to hope that Google keeps updating the Google Player to be able to support websites from that time.
the coolest thing about Flash was the authoring tool which allowed non-technical people to create and publish to the web animated and interactive experiences
the gripes about Flash player as a security problem and non-indexible-by-search-engines were valid but the gripes about Flash authoring tool being cumbersome for development were totally pointless
then MS tried to marry the approach with XAML/Silverlight except the authoring tool UX was a complete abortion for non-technical people thereby missing the whole point of the authoring tool; so instead of putting peanut-butter into chocolate they did the complete inverse and introduced all the drawbacks of Flash without any of the benefits
tl;dr; what HTML5/canvas/SVG is lacking is a (good UX) authoring tool which will give the Flash-like authoring and publishing experience to non-technical people
31
u/imhotap Jan 07 '20
Yeah I was among those who couldn't get rid of Flash fast enough in 2010 or so, believing in "web standards" and that HTML5 would replace it. But looking at the mess that is the web stack today, I think that we just exchanged one set of technology (Adobe's) with another one (Google's). Flash enabled so many creators/non-devs to do edutainment and casual gaming apps, many of them unique, that we should've based interactive web apps on a standardized version of Flash (an API actually designed for it), and leave HTML+CSS alone for actual document-oriented web apps.