10 Things Tablets Still Can't Do
(click image for larger view and for slideshow)
For developers, Mojito offers two distinct advantages: Web apps that work well on multiple software platforms and devices, and Web apps that can handle network disruptions. Mojito blurs the distinction between client and server because it allows the same code to operate on device and in the cloud.
Mojito provides a way for developers to build Web apps that run locally in a Web browser, that run primarily on the server side, or that run both locally and on the server. This flexibility makes it easier to write Web apps that remain functional when network connectivity is lost. Mojito Web apps are thus more competitive with native mobile apps, which have tended to perform better during network slowdowns or outages.
In an interview prior to the conference, Fernandez-Ruiz said that Yahoo about 18 months ago decided to adopt a mobile-first strategy. "We have to think beyond the desktop," he said.
Fernandez-Ruiz said there was some discussion of whether to focus on native apps or Web apps for mobile. "I became a very strong advocate for the company to go toward HTML5, knowing that there are a lot of rough edges, but essentially, we could invest in evolving the technology to make it a viable alternative [to native app development]. The reason is relatively simple: We are a Web company."
What the Web has is a large audience and that's something Yahoo can sell to advertisers. Native apps make life harder for ad-oriented companies such as Yahoo.
"With the appification of the space, where you end up is your audience is fragmented and the development landscape is fragmented," Fernandez-Ruiz said. "So the costs go higher because you have to create multiple versions of the app and [tracking users and personalization becomes more difficult]."
At the same time, Web apps struggle to perform as well as native apps, particularly on mobile devices. "The reality when you move to mobile is the networks and CPUs are not [as good as you get on the desktop]," said Fernandez-Ruiz. "And the Web is about being connected. So how do you deal with something that is slower and not reliable if you really want to build a Web app?"
Yahoo's answer is Mojito. Thanks to the performance work Yahoo has put into Cocktails and YUI--Yahoo's equivalent of the JQuery mobile framework--Mojito apps such as Yahoo Livestand, Fantasy Finance, and Fantasy Premier League Football feel as responsive as native Android or iOS apps.
Even so, Yahoo's Mojito could use further mixing. The company is encouraging developers to play with the framework and improve it if they can.
In this interactive virtual event from Dr. Dobb's, Developing With HTML5, top business technologists, experts, and solution providers will discuss the present and future of HTML5 as a Web- and mobile-development platform. When you register, you will gain access to live webcast presentations and virtual booths packed with free resources. It happens April 12. (Free registration required.)
InformationWeek Must Reads Oct. 21, 2014InformationWeek's new Must Reads is a compendium of our best recent coverage of digital strategy. Learn why you should learn to embrace DevOps, how to avoid roadblocks for digital projects, what the five steps to API management are, and more.