In this talk from YUIConf 2011, Yahoo! frontend engineer Gonzalo Cordero (@goonieiam) reveals how Yahoo! Local used YUI 3 to develop their iOS app using a native Objective-C wrapper with HTML5 and YUI running in a UIWebView. He argues that there’s no such thing as a desktop web and a mobile web — there’s just “the web”, and YUI is the perfect framework for people who want to write web apps that run everywhere.
February 8, 2012 at 5:46 pm
Great presentation, Gonzalo. This was very enlightening. In the back of my mind I couldn’t help but wonder if this approach is really going to be better in the long run. You seemed to have used native code more than anticipated. This makes me wonder if integrating HTML5/native platform is actually making app dev more complex rather than simplifying it all in the name of continuing to use HTML5/CSS3.
Considering that you only covered iOS, and you will have all new integration issues for Android and other platforms, I’m curious, after building this, do you feel this approach still is the way to go?
February 14, 2012 at 3:21 pm
Rob:
The pros of this approach will always outweigh(in my opinion) the rest. I’ve heard multiple times from different native developers that it took them forever to create something that could have been easily made using web technologies.
Also at the time some of the tools weren’t all there, so i had to rely on native more than I wanted to, this isn’t the case anymore, now you can create hybrid apps where the web view is given control end to end.
In fact, I’m building right now another App that will be released for Android too, and the wrapper for that took 1 day to build.
For anything that is content based, web is the way to go. YUI provides excellent tools for that.