19

Publicis Mojito

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Publicis Mojito
Page 2: Publicis Mojito

THIS IS MOJITO

Page 3: Publicis Mojito

THESE ARE MOJITS

Page 4: Publicis Mojito

THIS IS MOJITO

Need these:

• Personalization

• Internationalization

• Localization

• Instrumentation

• Monetization

Page 5: Publicis Mojito

THIS IS MOJITO

And we need to provide our experiences across various devices.

It needs to be accessible and inclusive.

It needs to be safe and fast.

Page 6: Publicis Mojito

PRE-MOJITO

Developers using lots of languages, tool chains, and stacks.

Nokia

Apps

Native

Java, ObjC

ConnectedTV

Widgets

Konfabulator

JavaScript

Feature Phones

Views

BluePrint

Apache/PHP

Desktop

Web Modules

Maple, YUI

Apache/PHP/JS

iOS

Apps

Native

Java, ObjC

Android

Apps

Native

Java

Page 7: Publicis Mojito

REBOOT

Page 8: Publicis Mojito

MOJITO

• Open source github.com/yahoo/mojito

• 100% Javascript

• Build on YUI

• Runs on Node.js in the Yahoo! cloud (Manhattan)

• Same core runtime on the browser

• Same core runtime in iOS & Android

Page 9: Publicis Mojito

MOJITO

“The web is THE platform”

-- Bruno Fernandez-Ruiz

Start with Javascript, with YUI providing browser abstraction, libraries and patterns.

Provide a rich MVC framework with the “Mojit” as the organizing principle.

Page 10: Publicis Mojito

“MOJIT”

A kind of MODULE… or a kind of WIDGET…

…“MOJIT”

Page 11: Publicis Mojito

MOJITS

• Have models, views, controllers, and binders

• Can communicate with other mojits by messaging

• Don’t have to know about other mojits

• Can be composed together

• Can run on server or client or both

Page 12: Publicis Mojito

MOJITO

Does not:

• Provide user interface abstractions

• Provide any magic, like having your browser app work like a native mobile app

Does:

• Let developers write javascript everywhere

• Let developers use the same framework and idioms

Page 13: Publicis Mojito

MOJITO: COMMAND LINE

% npm install –g mojito

% mojito help

Available commands: build, compile, create, docs, gv, help, info, jslint, start, test, version

Page 14: Publicis Mojito

MOJITO: AN APPLICATION

Affinity: server, client, common

Views can be selected by device

Bundle things by app or mojit

Page 15: Publicis Mojito

MOJITO: A VIEW

Mustache template engine (or choose your own)

Page 16: Publicis Mojito

MOJITO: A CONTROLLER ACTION

Page 17: Publicis Mojito

MOJITO: A MODEL

Page 18: Publicis Mojito

MOJITO: RUNNING ON YOUR MAC

Page 19: Publicis Mojito

THANK YOUhttps://github.com/yahoo/mojito/

http://developer.yahoo.com/cocktails/

[email protected]