Google is building a Chrome app-based development environment
thenextweb.com
thenextweb.com
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.
* 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.
Plus, it would be nice to have dedicated icons, etc...
When can HN get off the hate train for everything new? This place is seriously starting to depress me.
I prefer my software to adhere to the single responsibility principle as much as possible.
EDIT: Why are you downvoting me? If you disagree, that's what the reply button is for. I'd like to think that HN is better than Reddit.
Citation very much needed.
Fast? It's slower than native, and --for some tasks, like any kind involving multimedia editing-- useless.
Secure? When did OS+browser became more secure than just OS?
You can't get a virus from visiting a web page.
You don't give a web page access to all your files just by visiting it.
Running a native app requires significantly more trust than running a web app. Web apps are significantly more sandboxed.
You very much can.
In fact, that was one of the most common attack vector for viruses: web browser exploits, from applet bugs to native web browser code buffer overflows and other issues.
Are you really going to argue that native apps and web apps are equally secure because web browsers can occasionally be compromised to give you the permissions that native apps give you by default?
Are you really going to argue against the security of today's web browsers because security of browsers used to be comparatively atrocious?
If I give you the choice of either running my malicious native app or visiting my malicious website, are you really going to say that they are equally risky?
By default in which system? Because sandboxing for native apps has been a default on OS X for the last 2 OSes at least.
Plus, there's another differentiator at play.
People don't only stick to a few large websites (like Google and NYT). People visit THOUSANDS of sites every month, and each can be an attack entry point if there's a browser/applet/etc exploit.
OTOH, with apps the situation is different. People use far fewer third party apps (say, less than 20 for the average user), and have the option to get them from legit (and verified/encrypted) sources, like several App Stores, the services of official vendors like Adobe etc, official software sites and such.
I never had a virus from a legit app purchase/download. How many cases are there were the upstream sources is poisoned?
1) Web apps in this case are downloaded from an app store (and people complained about it too)
2) Average people also use fewer sites: I wouldn't be surprised if regular use comprehends just gmail/outlook, facebook, wikipedia, youtube/netflix
3) You need a browser running in the OS anyway
4) App -> sandbox -> OS vs. App -> Javascript sandbox/Nacl sandbox -> browser -> sandbox -> OS... The latter looks more secure to me
This isn't new, not since Marc Andreessen said "[Netscape will soon reduce Windows to] a poorly debugged set of device drivers" - in 1995. Which I take to mean he fully intended to make everything above device drivers the domain of the browser.
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.
- 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.
Chrome's API don't have this. Chrome == Chromium, and there's nothing else under the sun that either have it or want it.
HOWEVER - Chrome has the largest marketshare by far, thus enforcing whatever it wants. Knowing competitors will not pick up the functionality because "its really made just for Chrome, not for the open web", that's called "extinguishing" competitors. But I'm sure everyone is all too familiar with that concept.
I do not think that Chromium represents the best possible implementation of the Web stack. Having multiple implementations of HTML and the various related specs is what has pushed them forward so rapidly.
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".
It's basically Java, but Google made it. Your Chrome Apps can run wherever Chrome does.
They are the "native" apps for ChromeOS that, incidentally, can also run anywhere else* that Chrome OS runs.
* except iOS
http://gigaom.com/2013/10/03/newest-chrome-beta-integrates-w...
Eat your own dog food. Google developers test new HTML5 APIs.
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.
I was just observing that Google's strategy regarding Chrome OS makes no sense to me in the presence of Android.
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.
Surely the least proprietary mainstream OS would be Linux?
Irony now understood :-)