building for multiple devices using a single language and framework

Post on 05-Dec-2014

819 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Talk about Mojito together with my colleague Diego tailored to the audience at the Open Hack Day 2012 in Bangalore.

TRANSCRIPT

$ 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/trainingMojito

http://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 Contex

t

http://axis.yahoo.com/

Workshop

top related