Wpp mojito-novid.pptx
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Wpp mojito-novid.pptx

  • 1,074 views
Uploaded on

An intro to Yahoo's open source javascript application framework for WPP May the Fourth Be With You

An intro to Yahoo's open source javascript application framework for WPP May the Fourth Be With You

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,074
On Slideshare
1,073
From Embeds
1
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 1

http://127.0.0.1 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. WHAT IS MOJITOhttp://developer.yahoo.com/cocktails/Isao Yagi
  • 2. THIS IS MOJITO
  • 3. THESE ARE MOJITS
  • 4. THIS IS MOJITONeed these:•  Personalization•  Internationalization•  Localization•  Instrumentation•  Monetization
  • 5. THIS IS MOJITOAnd we need to provide our experiencesacross various devices.It needs to be accessible and inclusive.It needs to be safe and fast.
  • 6. PRE-MOJITODevelopers using lots of languages, toolchains, and stacks. Nokia   iOS   Desktop   ConnectedTV   Feature  Phones   Android   Apps   Apps   Web  Modules   Widgets   Views   Apps   Nave   Nave   Maple,  YUI   Konfabulator   BluePrint   Nave   Java,  ObjC   Java,  ObjC   Apache/PHP/JS   JavaScript   Apache/PHP   Java  
  • 7. REBOOT Nokia Mojito iOSDesktop Connected Feature Android Apps TV Phones AppsWeb HTML5 Widgets Modules Views Apps APPLICATIONModules Native NativeMaple, YUI MVC BluePrint Konfabulat Native FRAMEWORK or Java, ObjC Java, ObjCApache/PHP/ Javascript JavaScript Apache/ Java RUNTIMEJS PHP
  • 8. MOJITO•  Open source github.com/yahoo/mojito•  100% Javascript•  Build on YUI•  Runs on Node.js in the Yahoo! cloud (Manhattan)•  Same core runtime on the browser•  Same core runtime in iOS & Android
  • 9. MOJITO “The web is THE platform” -- Bruno Fernandez-RuizStart with Javascript, with YUI providingbrowser abstraction, libraries and patterns.Provide a rich MVC framework with the“Mojit” as the organizing principle.
  • 10. “MOJIT” A kind of MODULE… or a kind of WIDGET… …“MOJIT”
  • 11. “MOJITS”•  Have models, views, controllers, and binders•  Can communicate with other mojits by messaging•  Don’t have to know about other mojits•  Can be composed together•  Can run on server or client or both
  • 12. MOJITODoes not:•  Provide user interface abstractions•  Does not provide any magic, like having your browser app work like a native mobile appDoes:•  Lets developers write javascript everywhere•  Lets developers use the same framework and idioms
  • 13. MOJITO: COMMAND LINE% npm install –g mojito!!% mojito help!Available commands: build, compile,create, docs, gv, help, info,jslint, start, test, version!
  • 14. MOJITO: AN APPLICATION Bundle  things   by  app  or  mojit   Affinity:  server,   client,  common   Views  can  be   selected  by   device  
  • 15. MOJITO: A VIEWMustache template engine (or choose your own)
  • 16. MOJITO: A CONTROLLER ACTION
  • 17. MOJITO: A MODEL
  • 18. MOJITO: RUNNING ON YOUR MAC
  • 19. THANK YOUhttp://developer.yahoo.com/cocktails/https://github.com/yahoo/mojitoisao@yahoo-inc.com