Sure, there are going to be nitpickers who will point out that we had that in 2005 and it was called Java, but what do they know about innovation.
Sure, there are going to be nitpickers who will point out that we had that in 2005 and it was called Java, but what do they know about innovation.
Java-in-the-browser wasn't a terrible idea per se. Some aspects of it were poor but the tech landscape back then was very different both in capability and in politics.
But lets discuss further, we also should admit the reality, not just reject with satirical statements. Java didn't dominate the web front-end technologies. It's worth to consider why. The points I see:
- user needs to download and install JRE
- bad integration with HTML document,
applet is just a rectangular self contained box
on the page; and it's very inconvenient to
script DOM nodes, handle events from applets
- browser vendors (especially microsoft)
were against java becoming the dominating platform
- in 2005 java was the only language running on JVM (unlike today).
BTW, I wouldn't say java was very slow to startup.I do believe Java failed mostly due to politics -- and more precisely, due to this:
> browser vendors (especially microsoft) were against java becoming the dominating platform
Everyone agreed, in principle, that a portable, high-performance VM was what we needed. The problem was that every vendor insisted it had to be theirs, while ever so slightly sabotaging other vendors.
In the meantime, they all had to provide a working web browser.
http://www.pcworld.com/article/2030778/researchers-javas-sec...
Honestly, that is why I always avoided it.
The other issues (slow startup, lack of page integration, unattractive UI) were dominant before that.
It's not so much of a problem now that we all have broadband and fast CPUs, but in the '90s it was enough for me to bin Java as "a slow piece of shit" and avoid it like the plague. That probably contributed to it not taking off as a client-side web platform.
CSS also should be optional.
Otherwise, long live adblock, noscript, user stylesheets, ...
Unfortunately, every other web designer today seems to think I don't want to read a bloody article, but rather to be engaged by an interactive article-reading application that's basically impossible to distinguish from native applications, except for those eighty quirks that are definitely going to be solved by morehacks.js and those new CSS perversions.
Web browser developers seem to cater towards those needs, which is how we ended up with browsers where I can run fifty gazillion floating-point instructions per second in JavaScript but it takes me five seconds to find a bookmark, three of which are spent hovering over the titlebar until I remember there's no menubar anymore.
Even in the latest nightly – press [Alt], click "View", "Toolbar" and check "Menu Bar".
It can be frustrating to have to go through this process of navigating to a site, realizing I've broken it, and then reloading with all the crap turned back on, but yeah, like you said, it's better than having my CPU revved up just to have those "SIGN UP FOR OUR NEWSLETTERS!" modals flying around the screen.
[1]Totally made this up.
Security ought to be the strong point of Java, not its weak point.
When Netscape became Mozilla, it shipped with XUL runner, that is exactly that, but nobody used it.
Firefox OS is that, again, sold for smartphones.
If they come out with a good VM (measured by the languages it can run), and a good DOM-like organization, it will happen in no time. But if we get another XUL, it just won't happen.
But you are right in that there's no similarity in structure at all.
i would hazard to disagree with that statement - the company i was working for at the time shipped thousands of devices our with the XUL runner, and i wrote several XPCOM objects to support the custom hardware we were shipping at the time.
i still miss some of the niceties that came from that.