Yahoo Open-Sources Mojito JavaScript Framework

Yahoo announced its open-sourcing of its Mojito JavaScript framework, which is part of its Cocktails set of offerings.

Yahoo has announced the availability of Mojito, an open-source technology that for the first time will enable developers to deliver rich and personalized digital media experiences to multiple consumer devices and platforms with one set of code.

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. 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 April 2 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.

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."