ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
$ mojito start
Building for multiple devices
         Diego Ferreiro Val
            Fabian Frank
Building for multiple devices using a single language and framework
http://developer.yahoo.com/cocktails/mojito/
      https://github.com/yahoo/mojito

? MVC Framework for device-independent
   applications
? running on the client and server
? written 100% in JavaScript
Building for multiple devices using a single language and framework
Assets                    Model

YUI Module     Mojit        View

 Binders                  Controller
             MojitProxy
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/
Building for multiple devices using a single language and framework
Building for multiple devices using a single language and framework
Context & Dimensions
             controller.server.js

          controller.iphone.server.js
 Mojito
Context
                view.iphone.js

                binder.corp.js
                   ¡­
http://axis.yahoo.com/
Building for multiple devices using a single language and framework
Building for multiple devices using a single language and framework
Building for multiple devices using a single language and framework
Building for multiple devices using a single language and framework
Building for multiple devices using a single language and framework
Mojito Performance




  http://www.slideshare.net/FabianFrankDe/nodejs-
              performance-case-study
http://v.youku.com/v_show/id_XMzQ5ODQ2Mjky.html
Building for multiple devices using a single language and framework
Workshop
Building for multiple devices using a single language and framework

More Related Content

Building for multiple devices using a single language and framework

Editor's Notes

  • #18: Node.js 50 concurrency: 2400 requests per second PHP 50 concurrency: 440 requests per second Mojito 50 concurrency: 880 requests per second