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

Apple Pulls WhatsApp, Threads From China App Store

Beijing orders Apple to pull Meta's WhatsApp and Threads from its Chinese App Store over…

2 hours ago

Intel Foundry Assembles Next Gen Chip Machine From ASML

Key milestone sees Intel Foundry assemble ASML's new “High NA EUV” lithography tool, to begin…

6 hours ago

Creating Deepfake Porn Without Consent To Become A Crime

People who create sexually explicit ‘deepfakes’ of adults will face prosecution under a new law…

1 day ago

Google Fires 28 Staff Over Israel Protest, Undertakes More Layoffs

Protest at cloud contract with Israel results in staff firings, in addition to layoffs of…

1 day ago

Russia Already Meddling In US Election, Microsoft Warns

Microsoft warns of Russian influence campaigns have begun targetting upcoming US election, albeit at a…

1 day ago