20
$ mojito start Building for multiple devices Diego Ferreiro Val Fabian Frank

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

Embed Size (px)

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

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

$ mojito start Building for multiple devices

Diego Ferreiro ValFabian Frank

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

• 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

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

Mojit

MojitProxyController

Model

View

Assets

YUI Module

Binders

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

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

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

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

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

Page 8: Mojito: Building for multiple devices using a single language and framework
Page 9: Mojito: Building for multiple devices using a single language and framework
Page 10: Mojito: Building for multiple devices using a single language and framework

Context & Dimensions

view.iphone.js

binder.corp.js

controller.iphone.server.js

controller.server.js

Mojito Context

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

http://axis.yahoo.com/

Page 12: Mojito: Building for multiple devices using a single language and framework
Page 13: Mojito: Building for multiple devices using a single language and framework
Page 14: Mojito: Building for multiple devices using a single language and framework
Page 15: Mojito: Building for multiple devices using a single language and framework
Page 16: Mojito: Building for multiple devices using a single language and framework
Page 17: Mojito: Building for multiple devices using a single language and framework

Mojito Performance

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

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

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

Workshop

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