Re:Facebook Plans to Speed Up its iPhone App
by evilduck on Wednesday June 27, 2012 @02:24PM
(#4168340)
How much alike or different are the tweaks required for optimizing for webviews between platforms?
Re:Facebook Plans to Speed Up its iPhone App
by marknutter on Wednesday June 27, 2012 @02:25PM
(#4168350)
No harder than getting it right in native code on 3 different platforms.
Re:Facebook Plans to Speed Up its iPhone App
by MattRogish on Wednesday June 27, 2012 @02:57PM
(#4168569)
Depends on what you mean by "hard". Although it's time consuming to learn different platforms, there are not a whole lot of gotchas you have to discover on your own. It's all been done before and well documented.
PhoneGap development is hard inasmuch as there are tons of gotchas you don't know about and haven't been clearly and extensively documented.
Hard as in writing code in three different languages. Apart from that I think tech community giving too much credit for Apple and especially Google. They could have fixed this native vs html5-js-css thing two versions ago.
Re:Facebook Plans to Speed Up its iPhone App
by flatline3 on Wednesday June 27, 2012 @05:48PM
(#4169401)
Three different languages that provide vastly superior runtime libraries and tooling that facilitate implementing first-class applications on the target platform.
I agree that supporting multiple platforms is suboptimal, but instead choosing a suboptimal common platform isn't any better.
We already tried that once with Java desktop applications, and Java at least tried to provide a viable common widget/platform toolkit.
Re:Facebook Plans to Speed Up its iPhone App
by marknutter on Wednesday June 27, 2012 @06:58PM
(#4169621)
No, we tried it once with web applications, and it worked brilliantly.
Re:Facebook Plans to Speed Up its iPhone App
by flatline3 on Wednesday June 27, 2012 @08:03PM
(#4169833)
When did that happen? Are we reading the same article?
Re:Facebook Plans to Speed Up its iPhone App
by marknutter on Wednesday June 27, 2012 @08:19PM
(#4169874)
Sorry. What I meant was, web applications have been a successful cross platform way of delivering software for the past 10 years. I don't see any reason why it can't continue on mobile, especially now that the hardware is catching up.
The webview is a whole different ball of wax (my last gig was PhoneGap development on iOS and Android) and if you are not, from day one, incredibly focused on performance (CPU and Memory) you're gonna have a bad time.
Knowing what I know about making PhoneGap apps, there's nothing inherent in what FB is doing that the WebView is incapable of doing. It's just really hard to get it right, much harder than a native app.