Yahoo Open Sources Mojito JavaScript Framework

Yahoo has given developers the chance to deliver personalised digital experiences to multiple consumer devices and platforms – with a single set of code – after it open-sourced Mojito.

Yahoo officials said currently developers do not have a method for delivering high quality digital media experiences to all popular consumer devices, without having to create applications specific to each device, which is slow and expensive.

Cocktail Hour

And existing technologies that try to solve this problem are proprietary – locking developers to vendors, said Ren Waldura, Yahoo’s senior product manager for Cocktails.

Cocktails” is a mix of HTML5, Node.JS, CSS3, JavaScript and a lot of ingenious, creative mind-bending tricks from Yahoo’s engineers. In November, Yahoo announced two Cocktails: Mojito, an environment-agnostic JavaScript Web application framework, and Yahoo Manhattan, a hosted platform for Mojito-based applications.

Open-sourcing Mojito marks a major milestone in Yahoo’s commitment to sharing innovative technologies and driving standards for the open, mobile Web, the company said.

Because Mojito is built in one language, JavaScript, for client and server environments, developers enjoy increased productivity‑only one code-base to test and fix. And as part of Yahoo’s broader Cocktails mobile development platform featuring HTML5 and Node.JS, Mojito is already powering Yahoo products like Livestand, Fantasy Finance, Premier League Fantasy Football and Search Direct.

Mojito officially launched at JSConf 2012 on 2 April in Scottsdale, Ariz., where Bruno Fernandez-Ruiz, Yahoo’s chief platform architect, will be presenting. Developers can now access Mojito via GitHub and begin testing, building and optimizing their own cross-platform applications.

“By releasing Mojito to the developer community, we are looking to enable digital media developers to build higher-end mobile experiences faster, leading to better consumer engagement and better advertising impact to unlock more market opportunities,” Waldura said.

Client/Server Blur

Added Waldura in his post:

JavaScript frameworks are nothing new. We know there are already a number of them out there. However, Mojito brings something new and unique to the table.

  • Mojito is all JavaScript, that’s good. JavaScript is the single most widely available programming language today, and that’s something worth taking advantage of.
  • Mojito is a true MVC framework, that’s better! MVC is a battle-tested design pattern, having proven its usefulness in desktop apps, in server-side apps, in, today, rich client-side applications. Those who ignore MVC … often reinvent it.
  • But the best part of Mojito is its ability to “blur” the client/server boundary, to let you write your code that runs on the client, or the server. Or both.

How well do you know your operating systems? Take our quiz.

Darryl K. Taft

Darryl K. Taft covers IBM, big data and a number of other topics for TechWeekEurope and eWeek

Recent Posts

X’s Community Notes Fails To Stem US Election Misinformation – Report

Hate speech non-profit that defeated Elon Musk's lawsuit, warns X's Community Notes is failing to…

1 day ago

Google Fined More Than World’s GDP By Russia

Good luck. Russia demands Google pay a fine worth more than the world's total GDP,…

1 day ago

Spotify, Paramount Sign Up To Use Google Cloud ARM Chips

Google Cloud signs up Spotify, Paramount Global as early customers of its first ARM-based cloud…

2 days ago

Meta Warns Of Accelerating AI Infrastructure Costs

Facebook parent Meta warns of 'significant acceleration' in expenditures on AI infrastructure as revenue, profits…

2 days ago

AI Helps Boost Microsoft Cloud Revenues By 33 Percent

Microsoft says Azure cloud revenues up 33 percent for September quarter as capital expenditures surge…

2 days ago