128 points · by iamtechaddict · 13y ago · 97 comments
Currently there are two kinds of platforms: the web, initilly intended for documents and native platforms, designed primarily for apps. Both have different strengths. The web: no installation, hyperlinking, decentralization and openess, etc. Native plaftorms: window manager, speed, collaboration between apps, much richer API, centralization (enabling human interface guidelines for example), etc.
A third platform having the best of both worlds would be great but that's just my utopic dream :)
Personally, I think browsers can be a quite good application platform - they're basically a view hierarchy, with a layout and styling system, an event model, and scripting engine. With efforts like the *OS APIs, custom elements, asm.js/PNaCl/Dart, WebGL, canvas, Service Workers... there's a lot you can do, all in a stack that's easily accessible to millions of developers.
Nope, they're Google's way of extinguishing non-Chrome browsers. Only Chrome/Chromium will be supported. That's called vendor lock-in - regardless of being open source.
You can make this work inside XULRunner if you want. You only have to write some library which provides the same API as the chrome_gen package (reading/writing files etc) and then import it instead of chrome_gen or just overwrite the package. Everything else is regular web stuff.
Anyhow, using some apps which use Chrome as runtime doesn't meant that you have to use Chrome as default browser. You only need to have it installed. Just like any other runtime you're using.
In order for it to be "vendor lock-in", people should care about those apps in the first place. Which they don't, much. In fact, they are quite niche.
So, yes, they'll might lock a 0.1% of people with that.
Now, if they did the same for Search, Mail or YT I'd be worried.
(Hint: even after all those years, Google Docs, a flagship has an insignificant user base -- and that one is not even Chrome-locked).
If you want an example, see OpenOffice.org and LibreOffice.
When can HN get off the hate train for everything new? This place is seriously starting to depress me.
Plus, it would be nice to have dedicated icons, etc...
- They work offline, like native apps, but are cross-platform, like web apps.
- You can develop and distribute them without running your own server infrastructure (the Chrome store will distribute them and the run locally).
- They work on ChromeOS
And as far as offline goes, that’s an active area of development within the HTML5 spec. It doesn’t strike me as a particular draw given that it’s at least possible, if still somewhat painful, to build truly cross-platform apps with offline capabilities.
Why should I support ChromeOS? ChromeOS is not the web!
I'm not telling you what you should do. I'm telling you why this model is attractive to me.
>>It doesn’t strike me as a particular draw given that it’s at least possible, if still somewhat painful, to build truly cross-platform apps with offline capabilities.
If you can achieve a cross platform experience using something that's installed on most PC's, and if it offers features or simplicity that is not available in the truly cross-platform spec, then that seems like a strong draw.
Cross platform just means they run in different platforms. Nothing in the notion depends on if they do so with native code or with some supporting layer (like the JVM, WxWidgets or Chrome).
>Why should I support ChromeOS? ChromeOS is not the web!
Why should you support ANYTHING for that matter? Including the web. If you want to do so, do it. If not, don't. You don't "have to".
* Its an easy way to build simple(ish) cross-platform apps using HTML/CSS/Javascript. * A native app platform for Chromebooks * Promotion of your app the Chrome store. * For users their apps are available anywhere Chrome is.
They are the "native" apps for ChromeOS that, incidentally, can also run anywhere else* that Chrome OS runs.
* except iOS
Eat your own dog food. Google developers test new HTML5 APIs.
Otherwise, the benefits are
- being able to develop in just HTML/CSS/JS
- being able to deploy to Windows, Linux, OSX, anywhere Chrome runs
- No infrastructure costs to host / distribute (unless your app has server-side functionality)
etc., etc.
It's basically Java, but Google made it. Your Chrome Apps can run wherever Chrome does.
Go, Dart, Angular.js and now Dart and Polymer. Am I the only one seeing the next wave of confusions?
There is a certain degree of peer pressure coming from our co-workers and our webdev community - if you are programming in PHP you are doing it wrong or if you are still doing MVC and not single-page app or node.js you are behind the trend. I have little knowledge about what Dart does but from multiple sources people seem to think Dart is Google's alternative to Javascript, which makes me uncomfortable because I start to feel like I am at the second Web/browser war where large organizations like Google is pushing their own version of "Javascript" (back then we got what? javascript, active script? etc?).
If you think that, then you're misguided.
* HTML apps potentially will work everywhere (if you will take care they will at least work on Firefox, Opera and Chrome).
* There are HTML5 tools and knowledge already in place. Plus years of experience in HTML can be used.
Long:
IMHO developers should look into the future here not into today but even today you can do quite a lot. XUL most probably failed because there were no tools, learning material and libraries (I'm not sure about HTA). In addition XUL worked only on single browser. I have managed to write XUL app 7 years ago but I had to invest quite a lot of time and the whole development process was quite slow.
HTML apps meanwhile do not require quite a lot of investment and if you already have some HTML5/CSS/JS knowledge there are only several holes of knowledge to fill. The only problem is to select good tools, find out right information and you can start right now. E.g. if you have canvas based game or static web site with useful information you can create app now: just add application cache's manifest file, add some meta information (in case of Firefox OS create *.webapp file) and you are done.
My background: I don't know HTA. I am familiar with XUL. In addition I'm familiar with QtQuick (QML + JavaScript), Firefox OS Apps, I guess I could learn developing Chrome Apps pretty quickly. I'm familiar with native development for Windows, Linux Desktop, Android and iOS.
Q. Why? A. Node-WebKit Apps aren't crippled with the sandboxing of the Chrome App API and easily let me target Win/Lin/OSX without requiring the Chrome runtime.
FWIW, I like ChromeOS and would buy a couple of ChromeBoxes for family members, if they had reasonably sized hard drives (200+GB)(SATA) for pictures & videos, and weren't so dependent on Google Drive. Non-tech savvy _NEED_ ChromeOS, they don't need GDrive.
How many of us need yet another IDE for HTML5, CSS & JS? Not me, thanks though. Please Google, get back to autonomous cars and get serious about ChromeOS already.
I haven't been excited about web-based IDE's previously as all the ones I've tried have been clunky and slow, but it looks like this is being built with Dart so should offer better start-up and runtime performance given it will be running natively on the DartVM inside Chrome App.
Looking forward to the day that I'm able to login, hassle-free to any ChromeOS PC and have instant access to my working environment. Which will be useful if you ever want to upgrade your workstation, e.g. when it breaks down or a shiny new model comes out.
Web developers hated IE6 not for new features it had. It was hated for lack of bug fixes and no new releases.
IE7 was released 5 years after IE6. Chrome is updated every 6 weeks.
Seems like it's yet another technology that Android will soon be steamrolling.
http://developer.chrome.com/apps/api_index.html
So... yea, it's very similar. Both are some sort of web-related runtime which can be used for all kinds of applications thanks to additional APIs which make the environment less restrictive.