He mentions Java, twice. There is nothing wrong with making web-apps in Java, and there are some nice web frameworks to help doing that.
Unless if we are discussing prototype/quick throwaway/very small web app. In that segment, Rails is still the king.
I think the main question is if mobile web applications will be able to match native on both quality and performance.
Facebook attempted this and failed badly, but that doesn't mean it can't happen or that native will always have an edge. If native does continue to have an edge though then I think web has an uphill battle.
In many ways it still is - it requires too many permissions and the list is growing. Recently they're asking for access to my SMS messages and in Android 4.3 I had a bug with my Nexus 4 in regards to location services as the Wifi-network provider was draining my battery and so I had to disable it, so Facebook's app was still requiring it, activating the GPS on each opening of the app and there was no way to turn that off, unless I turned the GPS off globally. Granted this is also a failure of Android's permissions system, but ...
The mobile web interface was and is still there. It doesn't matter if the mobile platform is new or old, it doesn't matter if Facebook's app was developed (and approved) for that platform, the web interface is there and it works, the only requirement being for the user to have a decent JS-enabled browser.
People view Facebook's investment in their mobile web interface as a failure. I view it as competitive advantage.
The iOS app is an example of how much better a native app can be from the web app - and the new paper app even more so.
I remember the android one being terrible when I had android phones a couple years ago - but I thought that was because it was basically a wrapper around a web app.
What if history repeats itself? What if iOS will in the end fail in the marketplace, reducing its share to a single digit? What if Apple continues against all odds to develop and support it, like it did with the Mac OS? What if you'll still use it?
Wouldn't you be happy then that there's a web interface available?
And from a developer's perspective - you could say that you want to target iOS users first. That may work out well for you. However, for example, I never, ever tried Instagram because when Instagram was all the rage, it wasn't available for the platform(s) that I'm using. And later the momentum for me was gone. That's a lost opportunity.
In the end, it may work out well for the developer - however, considering that iOS's marketshare is minuscule compared to the people that have access to web browsers, I personally don't see how you can build the next Google or Twitter or Facebook by not targeting the web first.
For another example of companies that failed to do this - WhatsApp Messenger will probably die or get acquired, because Facebook is eating its launch, as Facebook works everywhere and when I send a message to my wife, she either reads it on her phone, or in the browser tab that she keeps open when on her laptop. FB's messaging works on my iPad too, whereas WhatsApp doesn't because WhatsApp is identifying users by their phone number.
I suppose mine was more targeting the difference between mobile native applications and mobile web wrappers.
Facebook's web interface for 'real' computers is great and companies that don't have one would probably benefit from one for the reasons you mentioned.
On the mobile side though I still think native applications are worth the investment and that'll be hard to change unless the web apps can actually offer similar design and performance.
I'd love to be wrong though.
Now consider what it would take to build the next Final Cut Pro. You could try to do it as a web app, and you might even get some casual users who don't need much capabilities. But you are not going to displace existing professional tools on any platform.
Being available everywhere just means you're not better anywhere. Java apps discovered this last decade.
Huh? My perception of the Facebook iOS (iPad) app is that it is badly, badly broken.
It opens links within the app and there is no way to override this behavior.
This means I can't browse Facebook-sourced sites alongside everything else I'm browsing or bookmark those sites in Pinboard. I can't even copy & paste the URL from the Facebook app into mobile Safari.
I uninstalled the Facebook app within minutes of downloading it. The web interface just works better.
Gmail - email client
Mog - Music player
Google Voice / MightyText - Messaging
TweetDeck - Twitter client
Confluence - Team wiki
Trello - Organizational tool
Toggl - Time tracking
Bitbucket/Github (I suppose you could debate that these are just websites)
Google Drive - Document editing and storage
Would these run better as native apps? Probably, if you're just talking about raw performance. However, I frequently jump between OSX, Windows, and Linux machines. When I open Chrome on any of these devices I can pick up right where I left off. Could I say the same with a native app? Probably not. For me, the performance of the web version of these apps is good enough, so cross platform compatibility becomes more important than raw power. That's what I meant when I said it depends on your definition of inferior.
I don't think mobile hardware or mobile browsers are quite there yet. But I don't see any reason why they won't eventually get to a point where they're "good enough" for people like myself, at which point other factors beyond raw performance will become more important.
Though I guess I usually have my laptop with me anyway.
[1] http://facebook.github.io/react/
It's also been a couple years. Mobile processor perf is better and JS engines are faster.
For anybody doubting this, please read Clay Shirky's "Permanet, Nearlynet, and Wireless Data". [1]
[1] http://shirky.com/writings/permanet.html
It's a fun read in a post-iphone world but the money quote is:
The permanet strategy is to start with a service that is good but expensive, and to make it cheaper. The nearlynet strategy is to start with a service that is lousy but cheap, and to make it better. The permanet strategy assumes that quality is the key driver of a new service, and permanet has the advantage of being good at every iteration. Nearlynet assumes that cheapness is the essential characteristic, and that users will forgo quality for a sufficient break in price.
What the permanet people have going for them is that good vs. lousy is not a hard choice to make, and if things stayed that way, permanet would win every time. What they have going against them, however, is incentive. The operator of a cheap but lousy service has more incentive to improve quality than the operator of a good but expensive service does to cut prices. And incremental improvements to quality can produce disproportionate returns on investment when a cheap but lousy service becomes cheap but adequate. The good enough is the enemy of the good, giving an edge over time to systems that produce partial results when partially implemented.
The people on the web platform have much greater motivation to improve perf and the developer experience than the people working on native platforms have to expand distribution.
> hide the difference between apps and web apps
Frankly, this is only possible by web apps not being web apps.
Do you have any experience working with eiterh native SDK?
Because I cannot imagine any one having experience (not just cursory hello-world glance) thinking that web apps are somehow superrior.
I also don't get how web apps are better (or will be better) discoveralbility-wise. Or why it matters.I'm not sure I agree with that, though it might never happen because the owners of the major platforms have absolutely no interest in being turned into a dumb foundation by the web (or a badly debugged set of device drivers, as Andreesen put it in 1995). The reasons for the ascendance of mobile are political and corporate though, not technical. There's little reason webkit performance cannot approach that of native, particularly if it used something like nacl rather than js, and no reason APIs cannot be exposed to web apps too (Apple exposes quite a few).
Web apps are currently superior in: deployment,future-proofing, IMO discoverability, platform independence, and most importantly cost
Native apps are currently superior in: performance, accessible APIs, 3D
Their relative strengths will change over time, but note that performance is not usually an insurmountable obstacle, while some of those areas where the web has strengths are inimical to the way Google, Apple, MS or Amazon want to do business - for corporations to tie in their customer as tightly as possible to their ecosystem and tightly control what is available to them (as Apple have for example banned kindle selling on their platform) is the best possible outcome. App stores are broken by design, just as the MS desktop monopoly was, and I don't think they will be able to surmount those problems, because they are fundamentally user-hostile. Why can't I buy kindle books on my ipad? Because Apple wants to make money from that transaction.
The web has other problems, among them a worse is better approach in many areas, but I think it's ultimately going to prevail over other solutions bound to a specific hardware/software stack.
While I agree with that sentiment, I disagree with the example provided ... if you talk about NaCL, you're not talking about web apps or "the web" anymore. It's not a standard, it has portability issues and it will probably never be implemented by anybody else other than Google. We can bitch and moan about how broken the W3C standardization process is, but the existence of this process is also why the web is open and why it's awesome.
The alternative asm.js, while not being an answer to all issues addressed by NaCL, is a much better approach, because it's still standard JS and even if the browser does not optimize for the asm.js instructions set, the app still works - and if it takes off for games (and I believe it will), then all browser vendors will be forced to optimize for it - because it's one thing to not support some plugin (e.g. NaCL) and quite another to have clear instances in which the browser is much slower than the competition and thus directly comparable.
For unbelievers that haven't seen asm.js in action, checkout this famous demo that works well in both Firefox and Chrome: http://www.unrealengine.com/html5/ - that's pure JS right there and I don't think the limits have been reached.
And data security. Web apps don't to my knowledge have a great deal to offer in that area.
So I'd say the web is at least equal to that in security, and perhaps better as you can quickly push out fixes and are in control of the entire infrastructure, whereas app developers are at the mercy of their platform creator to roll out fixes or allow them to roll out fixes, which can take days or weeks for approval.
In banking, insurance, governmental, education and medical spheres, there are hard privacy and secrecy requirements. Same goes for military - look what happens when they slip up. If you want to think about it - what percentage of the economy do these interests represent? I would say a large portion. So to my mind a large portion of the economy has a data security requirement that don't seem to be met by web apps.
In the consumer sphere, sure you can replace some programs with javascript, but can you see apple employee's using google docs at work? Why is that?
Also in corporate networks, they may be connected but through a proxy - which would reduce the attack surface.
There are air gaps and network gaps for data security. So your conclusion is based on a false premise.
Apologies for side-tracking you with this irrelevant argument about connection to the internet - I was thinking of mobile devices specifically, which are almost all exposed directly, but you're right, there is a whole class of apps/devices which are deliberately kept off the public internet.
I can see how these intranet apps can be secure, but not when on the internet. When I hear web app, I think internet.
You're right that there's no real reason why an intranet app can't be secure.
And it wasn't a hard problem to solve.
Web applications had this problem circa 1998 - i.e. a perception of slowness - look at SalesForce now!
I agree, but not for the technical reasons most people are mentioning so far.
I think there is a much simpler driving force: mobile app stores have set both the quality bar and pricing expectations so low that it's almost impossible to develop good, non-trivial software for them and make money.
On top of that, the app store platforms tend to want a big cut and/or restrict the use of other payment models and/or want developers to jump through hoops just so users can install their application and/or require developers to build in a specific programming language that produces executables for their specific platform and/or a bunch of other obstacles that web development simply doesn't have.
Meanwhile, the only major benefit native apps have to offer in return these days is access to a few native features. Given how much success many web applications have already enjoyed, it's clear that those features aren't compelling in many of the application domains where this kind of decision is being made. It's also clear that if performance was ever really an issue for most web apps, it's an ever diminishing one and mostly irrelevant by now.
The two major business models that have made serious money from mobile apps other than in outlier cases are in-app payments and advertising, which are probably the two most widely abused and consumer-hostile payment models in widespread use today. I suspect mobile apps in their current form were already dead as a serious software platform as soon as people were selling $1 gimmick applications and $5 puzzle games in app stores. The industry just hasn't quite realised yet because there's still too much hype from the (mostly now over) gold rush, but fortunately we have high quality and great value apps like Dungeon Keeper at the top of the promotions screens to show us just how good mobile apps can be if you want to make real money from them.
Meanwhile, as numerous HN regulars can attest, plenty of B2B web apps are making money like it grows on trees, and plenty more people are making a decent amount of money with other B2C business models that simply aren't compatible with today's mobile app world but work fine on the web.
"Whoever can make the Google of app discovery might make a temporary splash, but i bet that, not long after, people will return to plain old Google Search."
You remember me to Kodak's "people will return to make analog photos, people want to hold something in their hand".
You are deluding yourself, and you can't see what you have in front of your eyes.
No, there is not a single platform that works in everything. In my company we do both low level programming(c, c++[small controlled subset so we control it]. embedded, microcontrollers, hardware) , and high level programming (python, java, web programing in general) for scripts, testing , rapid prototyping or deployment...
Both of them work very well for what they are designed for.
If we paint something in the screen in c we could do it in 0.001 seconds(without hardware accel!!), in python it is 0.5 seconds, 500 slower!!. In the browser is like 500 if we were to do things on javascript. Most people fake and call webgl with hard pre calculations done in a server(native) "web programming". It is not.
And we use python a lot. Because we don't care if something takes 5 seconds to draw if this saves hours or days of debugging.
In the future communications will be better, and program interaction will be stronger, but that does not mean that all software will be web. Multiplattform native works also very well, and much better for some things.
"Given that the world's #1 mobile OS is made by the worlds #1 web company, this change is not difficult to predict."
Android is not web for a reason. It sucks for lots of things. It is not that Google has not tried, as it is in their best interest to do so.
The interest of a web company are something, and the interest of consumers are something else.
Consumers probably don't like having to be connected all day, all what they do in their computers being monitored in real time and stored forever by the NSA.
You probably are American but there is people living in other countries, with different interests. As Snowden said the NSA uses their tools for industrial espionage(as should be expected).
If you have a company outside the USA you will have no brain if you used web for your secret sauce. They will take it from you, they will give it to an American company and even patent it. With native it is orders of magnitude harder to do this.
That's more like 1.5x:
http://www.unrealengine.com/html5/
https://hacks.mozilla.org/2013/12/gap-between-asm-js-and-nat...
> "Android is not web for a reason. It sucks for lots of things. It is not that Google has not tried, as it is in their best interest to do so."
Google hasn't tried deep integration of web apps with Android. Their competing Chrome OS does and Chromebooks are a bestseller in 2013. Mobile Chrome doesn't have "apps" or plugins, like Firefox does, which is kind of disappointing. "Add to Homescreen" of favorite links was added in version 31 and current stable version is 32, so that's one version ago.
The reasons for this state of affairs can only be guessed, but given that you probably don't work for Google and you don't claim to have insider knowledge, I guess that quoted phrase is just pure speculation - and a much more sensible guess would be that delivering a native SDK that works well was faster than trying to push for new web standards (since Android was competing with iOS and second to market) ... something which they are doing with Chrome OS and Mozilla is doing with Firefox OS and it's a very different reason than your claim.
And if I am to make a prediction, I bet that in the future either we'll see Android and Chrome OS merging, or we'll see Chrome OS mobile devices, in addition to Android.
> "Consumers probably don't like having to be connected all day, all what they do in their computers being monitored in real time and stored forever by the NSA."
Web interfaces and offline access are not mutually exclusive. Chrome's offline GMail is pretty good these days. For PGP encryption in GMail's interface, I've been using: http://www.mailvelope.com/
Surely Chrome's permissions for extensions could be improved for better security, because as we've seen, perfectly legitimate extensions can turn over night to mallware/spyware/adware. And we would need new web standards for extensions and probably for doing client-side encryption, however these are not insurmountable problems. Either way, if you're using GMail, your unencrypted emails will get stored on their servers, whether you're using GMail's web interface or not.
> If you have a company outside the USA you will have no brain if you used web for your secret sauce. They will take it from you, they will give it to an American company and even patent it. With native it is orders of magnitude harder to do this.
I don't like the insult inherent in this message. I'm using web GMail and I'm not an US citizen. The problem is that Google is an US company, not that GMail is a web interface.
And in regards to clients and native apps - my trust for binary blobs is equal to my trust for web interfaces, which is zero. Basically I don't trust anything that's not open-source and developed in the open - as in, are you sure your operating system doesn't have backdoors planted? ... just saying, seeing that you're playing the trust card.
Perhaps I am not visiting coffee shops enough? Anyone else seen one?
Not in this list: http://www.lptps.com/best-selling-laptops/
Not in this List: http://www.biggone.com/2013/03/01/top-10-best-laptops-to-buy...
Not in this list: http://notebook2013.com/top-10-laptops-2013/
Not in this list: http://topbestprice.com/top-20-best-selling-laptop-notebook-...
But it is #1 this list however: https://sites.google.com/site/top10bestsellinglaptops/
Go figure huh?
Do you mean to say that this is the future of the web: software written using traditionally native languages, delivered in a compiled blob that the user can't inspect, but that has good performance?
This sounds more like native software encroaching on the web than the other way around.
Even Google seem to know this in their hearts. The Chrome team recently have started to acknowledge how far behind as a platform the web really is, and things like Google Now don't exist as websites at all.
The web simply has too many cases which don't work. For example, my current headache is the lack of wake lock style functionality, but the layout system is a trainwreck, the language tooling is abominable, and support for stuff like audio is a mess. All it has is ubiquity.
Completely wrong, imho. There's no benefit to obscuring information about what the user is doing. This also implies a universal cloud storage where authors of software have more access to user's personal information than the user.
You're basically yearning for what Google's Chrome crap is trying to do, so you're not going to do it better.
> Given that the world's #1 mobile OS is made by the worlds #1 web company, this change is not difficult to predict.
I think I see where you're coming from here. If you just want to suckle at the tit at what ever company is #1, then sure, learning their stack and developing whatever for it is a sure way to make steady income. Shit, how about a steady job while you're at it. Then it really doesn't matter what widgets you're pumping out. Wait, is this an entrepreneurship forum? Anyway, trying to play Google's game or Apple's game is just a good way to be their bitch. I'm sure you're aware of why "discoverablity" has been removed from appstores. This is a culture war, at some fronts.
If you want to build a digital prison for your mom, go right ahead, but don't expect your kids to embrace this "cloud" stuff in any way that you're dreaming of. You're just building outdated virtual landfill techgarbage the moment you touch any of these paradigms you're talking about.
At some point, app stores had "discoverability" as an advantage over the web. This has been one of the strongholds of native app proponents. These days however, with the enormous amount of apps available on popular platforms, this discoverability feature has become a joke. It's akin to searching the 1999 web for interesting sites but you can only use a badly managed, bribe driven version of Yahoo.
Whoever can make the Google of app discovery might make a temporary splash, but i bet that, not long after, people will return to plain old Google Search. You only need 1 major mobile OS to change paradigm and hide the difference between apps and web apps, and your mom won't care anymore. Given that the world's #1 mobile OS is made by the worlds #1 web company, this change is not difficult to predict.