Mojito: Building for multiple devices using a single language and framework

Preview:

DESCRIPTION

Hi Guys, all our Mojito demos' code is available on Github: https://github.com/dferreiroval/trainingMojito/ Thanks and happy hacking, Diego & Fabian

Citation preview

$ mojito start Building for multiple devices

Diego Ferreiro ValFabian Frank

• MVC Framework for device-independent applications

• running on the client and server

• written 100% in JavaScript

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

https://github.com/yahoo/mojito

Mojit

MojitProxyController

Model

View

Assets

YUI Module

Binders

Where to run: Affinity

• Every piece defines where it runs

• It can run on the server, on the client or both

controller.server.js

controller.common.js

controller.client.js

https://github.com/dferreiroval/trainingMojitohttp://mojito-demo.herokuapp.com/

http://fabianfrank.myweatherapp.jit.su/

Context & Dimensions

view.iphone.js

binder.corp.js

controller.iphone.server.js

controller.server.js

Mojito Context

http://axis.yahoo.com/

Mojito Performance

http://v.youku.com/v_show/id_XMzQ5ODQ2Mjky.html

http://www.slideshare.net/FabianFrankDe/nodejs-performance-case-study

Workshop

Recommended