SlideShare uma empresa Scribd logo
1 de 20
Yahoo! Mojito




                                                                                                                          GauravVaish
                                                                                                        Principal Engineer, Yahoo!


Copyright © 2012 Yahoo! All rights reserved. No reproduction or distribution allowed without express written permission
Background

The Problem:
 Developers do not have a method for delivering high quality digital media experiences
  to all popular consumer devices, without having to create applications specific to each
  device, which is slow and expensive.
 Current available technologies that try to solve for this problem are proprietary, locking
  developers to vendors.




                     The Solution: Yahoo! Cocktails
Yahoo! Cocktails
 “Cocktails” is a Javascript-based on-line/off-line, multi-device, cloud-ready, mobile
  development platform made up of “Mojito,” a JavaScript MVC framework and
  “Manhattan,” a cloud-based hosted environment, that Yahoo! announced in November
  2011.
 Cocktails, created by Yahoo!, leverages and evolves open web standard
  technologies, including HTML5, CSS3, JavaScript and Node.JS.
 Cocktails enables the development of hybrid applications, a new class of app that is
  cross-platform yet offers native-like performance across all popular devices including
  those based on iOS, Android and Windows Mobile.
 Cocktails creates a single web-based programming paradigm, which allows developers
  to build apps with a native-like performance, while delivering optimal experiences for
  any screen and any device.


             Yahoo! announced Cocktails in November 2011
Yahoo! Mojito

 With Mojito developers can create ONE app for several devices while lowering
  costs, increasing agility and maintaining a uniform aesthetic across screens
  (web, mobile, tablet).
 The Mojito code-base that has been open sourced accelerates the development of
  applications by giving developers the ability to maintain a single codebase for all the
  connected devices and optimize the application for each device.
 Because Mojito is built in one language, JavaScript, for client AND server
  environments, developers enjoy increased productivity - only one code-base to test and
  fix.


       As promised, Yahoo! open sourced Mojito on April 2nd, 2012
What’s Mojito?




      MVC Framework for Server +
              Client in
           One Language
What’s Mojito?



                  Mojito
   Express

 Connect
                   Mustache   YUI
     Node.js

               JavaScript
Getting Mojito

 Usingyinst + ynpm
 ›   yroot --create mojito 4.8-20090518
     • 5.x should also work
 ›   yinstiynodejs_dev
 ›   yinstiynpm –br current
 ›   sudoynpm install mojito –g
 ›   mojito test
“Hello, World!”
 mojito create app HelloWorldApp
 cdHelloWorldApp
 mojito create mojitHelloMojit


Now browse to
 http://localhost:8666/@HelloMojit/index
A minor customization

 routes.json

[
    {
        "settings": ["master"],
        "root": {
            "path": "/",
            "verbs": [ "GET" ],
            "call": "@HelloMojit.index"
        }
]
Analyzing Artifacts
 application.json
 mojits
 ›   models
 ›   views
 ›   controller
 ›   assets

 assets
 autoload
Let’s make the app interactive…
The Mojit

 The User Interface
 ›   Model + Controller + View

 The User Interaction
 ›   Binder

 Communication Back to Server
 ›   Form Submit
 ›   Direct Ajax calls
 ›   Proxied controller calls
Enhancing the Design

 The HTMLFrameMojit
 Composite Mojits
 External CSS
 External JavaScript


 Device specific UI
Componentizing Code

 Custom YUI Modules
 Autoload
 ›   Server, Client, Common

 Model
 ›   Server, Client, Common
 ›   Global, Mojit specific
Extending Mojito

 Addons
 Middleware
 Libraries
 View Engines
Yahoo! Products built on Mojito

 Livestand– A personalized living magazine.


 Yahoo! Fantasy Finance – is a stock trading game that pits players against each other
  and their friends for the chance to win $50,000.


 CITIZEN SPORTS - Fantasy Premier League Football – is the first major fantasy game
  to allow Premier League fans to draft, manage and discuss their fantasy teams entirely
  on their smartphone or tablet. Users can also play the game on their laptops; it is the
  same game on all screens for all fans.


 Search Direct – Search Direct is a search feature delivering the same rich content
  from Yahoo!’s products, aggregated as answers, not links, to give people the option to
  immediately engage and bypass a traditional search results page.


 ….and more
Contact

 Yahoo! Developers
 ›   http://developers.yahoo.com
 Yahoo! Cocktails
 ›   http://developers.yahoo.com/cocktails
 Yahoo! Mojito
 ›   http://developers.yahoo.com/cocktails/mojito
 Email:
 ›   gvaish@yahoo-inc.com
Join the Mojito community!
        Thanks!

Mais conteúdo relacionado

Semelhante a Yahoo! Mojito

Open Hack Taiwan 2012 - Mojito intro
Open Hack Taiwan 2012 - Mojito introOpen Hack Taiwan 2012 - Mojito intro
Open Hack Taiwan 2012 - Mojito introsriramiyer2007
 
Publicis Mojito
Publicis MojitoPublicis Mojito
Publicis Mojitoisaoyagi
 
YUIConf2012: Mojito for YUI Developers
YUIConf2012: Mojito for YUI DevelopersYUIConf2012: Mojito for YUI Developers
YUIConf2012: Mojito for YUI DevelopersCaridy Patino
 
Publicis Mojito
Publicis MojitoPublicis Mojito
Publicis Mojitoisaoyagi
 
Introduction to the Yahoo! Mojito Node.js MVC
Introduction to the Yahoo! Mojito Node.js MVCIntroduction to the Yahoo! Mojito Node.js MVC
Introduction to the Yahoo! Mojito Node.js MVCAvinash Chukka
 
Yahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVC
Yahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVCYahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVC
Yahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVCYahoo Developer Network
 
Wpp mojito-novid.pptx
Wpp mojito-novid.pptxWpp mojito-novid.pptx
Wpp mojito-novid.pptxisaoyagi
 
Build an i phone, android, or blackberry web app with jq touch and jquery
Build an i phone, android, or blackberry web app with jq touch and jqueryBuild an i phone, android, or blackberry web app with jq touch and jquery
Build an i phone, android, or blackberry web app with jq touch and jqueryAntonio Chagoury
 
Html5 mobile develop tools
Html5 mobile develop toolsHtml5 mobile develop tools
Html5 mobile develop toolsLey Liu
 
Inside Mobile Widgets Publish
Inside Mobile Widgets PublishInside Mobile Widgets Publish
Inside Mobile Widgets Publish360|Conferences
 
2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source Conference2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source ConferenceGen Kanai
 
jQueryMobile Jump Start
jQueryMobile Jump StartjQueryMobile Jump Start
jQueryMobile Jump StartHaim Michael
 
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & AzureArtificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & AzureMarvin Heng
 
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010Heiko Behrens
 
developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...
developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...
developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...Orange Dev
 
JoomlaDay Chicago 2017 Keynote Address
JoomlaDay Chicago 2017 Keynote AddressJoomlaDay Chicago 2017 Keynote Address
JoomlaDay Chicago 2017 Keynote Addressjdaychi
 
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - RecifeThe challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - RecifeCaridy Patino
 

Semelhante a Yahoo! Mojito (20)

Open Hack Taiwan 2012 - Mojito intro
Open Hack Taiwan 2012 - Mojito introOpen Hack Taiwan 2012 - Mojito intro
Open Hack Taiwan 2012 - Mojito intro
 
Publicis Mojito
Publicis MojitoPublicis Mojito
Publicis Mojito
 
YUIConf2012: Mojito for YUI Developers
YUIConf2012: Mojito for YUI DevelopersYUIConf2012: Mojito for YUI Developers
YUIConf2012: Mojito for YUI Developers
 
淺談 NodeJS 與框架
淺談 NodeJS 與框架淺談 NodeJS 與框架
淺談 NodeJS 與框架
 
Publicis Mojito
Publicis MojitoPublicis Mojito
Publicis Mojito
 
Introduction to the Yahoo! Mojito Node.js MVC
Introduction to the Yahoo! Mojito Node.js MVCIntroduction to the Yahoo! Mojito Node.js MVC
Introduction to the Yahoo! Mojito Node.js MVC
 
Yahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVC
Yahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVCYahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVC
Yahoo! Hack India: Hyderabad | Introduction to the Yahoo! Mojito Node.js MVC
 
Wpp mojito-novid.pptx
Wpp mojito-novid.pptxWpp mojito-novid.pptx
Wpp mojito-novid.pptx
 
Build an i phone, android, or blackberry web app with jq touch and jquery
Build an i phone, android, or blackberry web app with jq touch and jqueryBuild an i phone, android, or blackberry web app with jq touch and jquery
Build an i phone, android, or blackberry web app with jq touch and jquery
 
Html5 mobile develop tools
Html5 mobile develop toolsHtml5 mobile develop tools
Html5 mobile develop tools
 
Mobile Widgets Development
Mobile Widgets DevelopmentMobile Widgets Development
Mobile Widgets Development
 
Inside Mobile Widgets Publish
Inside Mobile Widgets PublishInside Mobile Widgets Publish
Inside Mobile Widgets Publish
 
2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source Conference2011 07 Malaysia Open Source Conference
2011 07 Malaysia Open Source Conference
 
jQueryMobile Jump Start
jQueryMobile Jump StartjQueryMobile Jump Start
jQueryMobile Jump Start
 
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & AzureArtificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
 
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
 
developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...
developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...
developing Android and HTML5 apps for the Motorola ATRIX - Taking advantage o...
 
JoomlaDay Chicago 2017 Keynote Address
JoomlaDay Chicago 2017 Keynote AddressJoomlaDay Chicago 2017 Keynote Address
JoomlaDay Chicago 2017 Keynote Address
 
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - RecifeThe challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
 
Firefox Mobile
Firefox MobileFirefox Mobile
Firefox Mobile
 

Último

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Último (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Yahoo! Mojito

  • 1. Yahoo! Mojito GauravVaish Principal Engineer, Yahoo! Copyright © 2012 Yahoo! All rights reserved. No reproduction or distribution allowed without express written permission
  • 2. Background The Problem:  Developers do not have a method for delivering high quality digital media experiences to all popular consumer devices, without having to create applications specific to each device, which is slow and expensive.  Current available technologies that try to solve for this problem are proprietary, locking developers to vendors. The Solution: Yahoo! Cocktails
  • 3. Yahoo! Cocktails  “Cocktails” is a Javascript-based on-line/off-line, multi-device, cloud-ready, mobile development platform made up of “Mojito,” a JavaScript MVC framework and “Manhattan,” a cloud-based hosted environment, that Yahoo! announced in November 2011.  Cocktails, created by Yahoo!, leverages and evolves open web standard technologies, including HTML5, CSS3, JavaScript and Node.JS.  Cocktails enables the development of hybrid applications, a new class of app that is cross-platform yet offers native-like performance across all popular devices including those based on iOS, Android and Windows Mobile.  Cocktails creates a single web-based programming paradigm, which allows developers to build apps with a native-like performance, while delivering optimal experiences for any screen and any device. Yahoo! announced Cocktails in November 2011
  • 4.
  • 5. Yahoo! Mojito  With Mojito developers can create ONE app for several devices while lowering costs, increasing agility and maintaining a uniform aesthetic across screens (web, mobile, tablet).  The Mojito code-base that has been open sourced accelerates the development of applications by giving developers the ability to maintain a single codebase for all the connected devices and optimize the application for each device.  Because Mojito is built in one language, JavaScript, for client AND server environments, developers enjoy increased productivity - only one code-base to test and fix. As promised, Yahoo! open sourced Mojito on April 2nd, 2012
  • 6.
  • 7. What’s Mojito? MVC Framework for Server + Client in One Language
  • 8. What’s Mojito? Mojito Express Connect Mustache YUI Node.js JavaScript
  • 9. Getting Mojito  Usingyinst + ynpm › yroot --create mojito 4.8-20090518 • 5.x should also work › yinstiynodejs_dev › yinstiynpm –br current › sudoynpm install mojito –g › mojito test
  • 10. “Hello, World!”  mojito create app HelloWorldApp  cdHelloWorldApp  mojito create mojitHelloMojit Now browse to  http://localhost:8666/@HelloMojit/index
  • 11. A minor customization  routes.json [ { "settings": ["master"], "root": { "path": "/", "verbs": [ "GET" ], "call": "@HelloMojit.index" } ]
  • 12. Analyzing Artifacts  application.json  mojits › models › views › controller › assets  assets  autoload
  • 13. Let’s make the app interactive…
  • 14. The Mojit  The User Interface › Model + Controller + View  The User Interaction › Binder  Communication Back to Server › Form Submit › Direct Ajax calls › Proxied controller calls
  • 15. Enhancing the Design  The HTMLFrameMojit  Composite Mojits  External CSS  External JavaScript  Device specific UI
  • 16. Componentizing Code  Custom YUI Modules  Autoload › Server, Client, Common  Model › Server, Client, Common › Global, Mojit specific
  • 17. Extending Mojito  Addons  Middleware  Libraries  View Engines
  • 18. Yahoo! Products built on Mojito  Livestand– A personalized living magazine.  Yahoo! Fantasy Finance – is a stock trading game that pits players against each other and their friends for the chance to win $50,000.  CITIZEN SPORTS - Fantasy Premier League Football – is the first major fantasy game to allow Premier League fans to draft, manage and discuss their fantasy teams entirely on their smartphone or tablet. Users can also play the game on their laptops; it is the same game on all screens for all fans.  Search Direct – Search Direct is a search feature delivering the same rich content from Yahoo!’s products, aggregated as answers, not links, to give people the option to immediately engage and bypass a traditional search results page.  ….and more
  • 19. Contact  Yahoo! Developers › http://developers.yahoo.com  Yahoo! Cocktails › http://developers.yahoo.com/cocktails  Yahoo! Mojito › http://developers.yahoo.com/cocktails/mojito  Email: › gvaish@yahoo-inc.com
  • 20. Join the Mojito community! Thanks!