SlideShare a Scribd company logo
Phonegap 2.x
1.x is a big deal!




                     thank you
PhoneGap
2.x
@brianleroux
PhoneGap 2.x
2.x: http://goo.gl/q4EvS
• change PhoneGap.exec(...) to accept an object { success: function() {} ... etc } •   Enable internationalization (i18n)
  rather than specific args - Michael                                              •   Command line build
• crypto                                                                           •   Device.exitApp() as device independent way of closing application?
• config.xml documented                                                            •   Packaging of plugins (discussion on Planning: Plugin Packaging)
• config.xml of <feature />                                                        •   Plugin only architecture / ship phonegap with no prebuilt APIs
• Websockets                                                                       •   List the inbox and get contents of SMS message
• Web notifications API (http://dev.w3.org/2006/webapi/WebNotifications/           •   Native Controls
  publish/Notifications.html)
                                                                                   •   Native contact picker
• HTML media capture (http://www.w3.org/TR/2011/WD-html-media-                     •   Resource profiling hooks
  capture-20110414/)
                                                                                   •   Capacity tests (maybe identify flagship devices!)
• Calendar API (http://dev.w3.org/2009/dap/calendar/)                              •   App invocation w/ data/args (like intents or protocol handlers)
• Messaging API (http://www.w3.org/TR/messaging-api/)                              •   Network loss/regain events
• Menu api to build menus for all platforms (discussion on Planning: Menu API) •       Roaming in isReachable api
                                                                                   •   childbrowser first class
• hotloading of code instead of recompile in 'dev mode'                            •   fix touch events on webos, android
• x-platform intents ala https://github.com/PaulKinlan/WebIntents ...protocol
    handlers in iOS, intents in Android, etc.
•   phonegap.js autoloaded into webview
•   deprecate accelerometer
•   deprecate media (use html5 audio)
•   Indexed DB (http://www.w3.org/TR/IndexedDB/)
2.x: http://goo.gl/q4EvS
• change PhoneGap.exec(...) to accept an object { success: function() {} ... etc } •   Enable internationalization (i18n)
  rather than specific args - Michael                                              •   Command line build
• crypto                                                                           •   Device.exitApp() as device independent way of closing application?
• config.xml documented                                                            •   Packaging of plugins (discussion on Planning: Plugin Packaging)
• config.xml of <feature />                                                        •   Plugin only architecture / ship phonegap with no prebuilt APIs
• Websockets                                                                       •   List the inbox and get contents of SMS message
• Web notifications API (http://dev.w3.org/2006/webapi/WebNotifications/           •   Native Controls
  publish/Notifications.html)
                                                                                   •   Native contact picker
• HTML media capture (http://www.w3.org/TR/2011/WD-html-media-                     •   Resource profiling hooks
  capture-20110414/)
                                                                                   •   Capacity tests (maybe identify flagship devices!)
• Calendar API (http://dev.w3.org/2009/dap/calendar/)                              •   App invocation w/ data/args (like intents or protocol handlers)
• Messaging API (http://www.w3.org/TR/messaging-api/)                              •   Network loss/regain events
• Menu api to build menus for all platforms (discussion on Planning: Menu API) •       Roaming in isReachable api
                                                                                   •   childbrowser first class
• hotloading of code instead of recompile in 'dev mode'                            •   fix touch events on webos, android
• x-platform intents ala https://github.com/PaulKinlan/WebIntents ...protocol
    handlers in iOS, intents in Android, etc.
•
•
    phonegap.js autoloaded into webview
    deprecate accelerometer
                                                                      You can contribute!
•   deprecate media (use html5 audio)
•   Indexed DB (http://www.w3.org/TR/IndexedDB/)
2.x: http://goo.gl/q4EvS
• change PhoneGap.exec(...) to accept an object { success: function() {} ... etc } •   Enable internationalization (i18n)
  rather than specific args - Michael                                              •   Command line build
• crypto                                                                           •   Device.exitApp() as device independent way of closing application?
• config.xml documented                                                            •   Packaging of plugins (discussion on Planning: Plugin Packaging)
• config.xml of <feature />                                                        •   Plugin only architecture / ship phonegap with no prebuilt APIs
• Websockets                                                                       •   List the inbox and get contents of SMS message
• Web notifications API (http://dev.w3.org/2006/webapi/WebNotifications/           •   Native Controls
  publish/Notifications.html)
                                                                                   •   Native contact picker
• HTML media capture (http://www.w3.org/TR/2011/WD-html-media-                     •   Resource profiling hooks
  capture-20110414/)
                                                                                   •   Capacity tests (maybe identify flagship devices!)
• Calendar API (http://dev.w3.org/2009/dap/calendar/)                              •   App invocation w/ data/args (like intents or protocol handlers)
• Messaging API (http://www.w3.org/TR/messaging-api/)                              •   Network loss/regain events
• Menu api to build menus for all platforms (discussion on Planning: Menu API) •       Roaming in isReachable api
                                                                                   •   childbrowser first class
• hotloading of code instead of recompile in 'dev mode'                            •   fix touch events on webos, android
• x-platform intents ala https://github.com/PaulKinlan/WebIntents ...protocol
    handlers in iOS, intents in Android, etc.
•
•
    phonegap.js autoloaded into webview
    deprecate accelerometer
                                                      What our users think --->
•   deprecate media (use html5 audio)
•   Indexed DB (http://www.w3.org/TR/IndexedDB/)
2.x




      NATIVE SCROLLING
2.x




      NATIVE SCROLLING
First, some perspective
• goals and principles
• tasks and practices
goals and principles
• embrace web technology
• enhance web tech to a first class dev env
• cease to exist
practices
• use the onboard sdk webview
• augment the webview with a bridge to native
• prototype implementation creating a realistic
  roadmap for browsers
software lifecycle: phases of doubt




          Phase 1. can it work?
software lifecycle: phases of doubt




          Phase 1. can it work?
          Phase 2. can it be fast?
software lifecycle: phases of doubt




          Phase 1. can it work?
          Phase 2. can it be fast?
          Phase 3. can it generate value?
software lifecycle: phases of doubt




          Phase 1. can it work?
          Phase 2. can it be fast?
          Phase 3. can it generate value?
software lifecycle: phases of doubt




          Phase 1. can it work?
          Phase 2. can it be fast?
          Phase 3. can it generate value?
software lifecycle: phases of doubt




          Phase 1. can it work?
          Phase 2. can it be fast?
          Phase 3. can it generate value?
http://gapingvoid.com
1.x




          Device APIs
        Major platforms
      Pluggable bridge / ffi
       Better web tooling
2.x



      Thinning out the client
          More platforms
       Platform UX concerns
      Tooling saga continues
         Perf and Security
             Polyfilling
2.x Thinning out the client



Everything becomes a plugin and config.xml becomes the
                       gateway.

                Standard packaging.
                  Plugin discovery.
                     Installation.
               Runtime security model.
2.x More platforms




              Samsung Bada
               MeeGo Linux
             Windows Phone 7
2.x Platform UX Concerns




             Notifications centres
         Physical button event binding
            HTML5 Menu element
2.x Tooling improvements




                Weinre improvements
     Code hotloading / refresh (Hydrating Apps)
  CLI Tooling (manage config.xml, Cordova rebirth)
2.x Performance and Security




       WebGL prototypes are under way
    Background services with pure JavaScript
        Crypto and remote logic loading
     Binary transport w/ JSON serialization
2.x HTML5 Polyfilling




                  workers
                  sockets

              html5 elements ...
Cadence
Next steps
Next steps: FOR REALS


• community forum to plan 2.x release
  schedule
• a major update every year


•   please use our traffic: blog on
    phonegap.com, tweet with the tag
    #phonegap
Now we party!

More Related Content

KEY
TxJS 2011
KEY
Falsy Values - Warsaw 2011
PDF
PhoneGap at JSConf
KEY
Future of Mobile
KEY
Mobeers waterloo-2011
KEY
DjangoSki
KEY
Nitobi/PhoneGap at Bootup 2011
PDF
PhoneGap in a Day
TxJS 2011
Falsy Values - Warsaw 2011
PhoneGap at JSConf
Future of Mobile
Mobeers waterloo-2011
DjangoSki
Nitobi/PhoneGap at Bootup 2011
PhoneGap in a Day

What's hot (20)

PDF
Strategies for securing your banks & enterprises (from someone who robs bank...
PDF
Prototyping for mobile
PDF
Bot. You said bot? Let build bot then! - Laurent Ellerbach
KEY
iPhone App from concept to product
ZIP
Titanium @ Minnebar
PDF
Bone.io for HTML5 Apps
PDF
12 tricks to avoid hackers breaks your CI / CD
PPTX
Write Better JavaScript
PPTX
Rooted con 2020 - from the heaven to hell in the CI - CD
PPTX
Lessons Learned From Applications That Kicked Titanium's Ass
PDF
Your choices for building a mobile app in 2016
PDF
Building an Open Source iOS app: lessons learned
PDF
Samsung Indonesia: Tizen Wearables
PDF
Hybrid Apps with Ionic Framework
PDF
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 09)
KEY
Make Cross Platform Apps that Suck Less
KEY
Mistakes I Made Building Netflix for the iPhone
KEY
Mobile html5 v2
PPTX
Marcio Leibovitch - Rapid Prototyping for the Web & Mobile Devices
PDF
Automated Exploratory Testing
Strategies for securing your banks & enterprises (from someone who robs bank...
Prototyping for mobile
Bot. You said bot? Let build bot then! - Laurent Ellerbach
iPhone App from concept to product
Titanium @ Minnebar
Bone.io for HTML5 Apps
12 tricks to avoid hackers breaks your CI / CD
Write Better JavaScript
Rooted con 2020 - from the heaven to hell in the CI - CD
Lessons Learned From Applications That Kicked Titanium's Ass
Your choices for building a mobile app in 2016
Building an Open Source iOS app: lessons learned
Samsung Indonesia: Tizen Wearables
Hybrid Apps with Ionic Framework
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 09)
Make Cross Platform Apps that Suck Less
Mistakes I Made Building Netflix for the iPhone
Mobile html5 v2
Marcio Leibovitch - Rapid Prototyping for the Web & Mobile Devices
Automated Exploratory Testing
Ad

Similar to Phonegap 2.x (20)

KEY
PhoneGap at Facebook Mobile Hack
PPTX
Hybrid Mobile Applications
KEY
PDF
Apache Cordova
PDF
Firefox OS Weekend
PPTX
Quick look in Reactive Extensions
PDF
Apache cordova
PDF
How to debug IoT Agents
PDF
Cordova: APIs and instruments
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
PDF
Apache Cordova 4.x
PPTX
Deep Dive into WinRT
PPT
Apache Cordova phonegap plugins for mobile app development
PPSX
Android Introduction
PPTX
GOSIM 2024 - Porting Servo to OpenHarmony
PPTX
What's New in Docker - February 2017
PDF
[2015/2016] Apache Cordova
PDF
Web dev tools review
PPTX
Device APIs at TakeOff Conference
PPTX
FIWARE Wednesday Webinars - How to Debug IoT Agents
PhoneGap at Facebook Mobile Hack
Hybrid Mobile Applications
Apache Cordova
Firefox OS Weekend
Quick look in Reactive Extensions
Apache cordova
How to debug IoT Agents
Cordova: APIs and instruments
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Apache Cordova 4.x
Deep Dive into WinRT
Apache Cordova phonegap plugins for mobile app development
Android Introduction
GOSIM 2024 - Porting Servo to OpenHarmony
What's New in Docker - February 2017
[2015/2016] Apache Cordova
Web dev tools review
Device APIs at TakeOff Conference
FIWARE Wednesday Webinars - How to Debug IoT Agents
Ad

More from Brian LeRoux (9)

KEY
After HTML5 Mobilism 2011
KEY
Mobile Knife Fighting at JSConf US
KEY
Phonegap for Engineers
PDF
Fullfrontal 2010
KEY
Palm Developer Day PhoneGap
KEY
Scurvyconf
PDF
Mobile Web App Development
PDF
Mobile JavaScript
KEY
Phonegap 1.0
After HTML5 Mobilism 2011
Mobile Knife Fighting at JSConf US
Phonegap for Engineers
Fullfrontal 2010
Palm Developer Day PhoneGap
Scurvyconf
Mobile Web App Development
Mobile JavaScript
Phonegap 1.0

Recently uploaded (20)

PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Hindi spoken digit analysis for native and non-native speakers
PPT
Module 1.ppt Iot fundamentals and Architecture
cloud_computing_Infrastucture_as_cloud_p
Enhancing emotion recognition model for a student engagement use case through...
Univ-Connecticut-ChatGPT-Presentaion.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Group 1 Presentation -Planning and Decision Making .pptx
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
O2C Customer Invoices to Receipt V15A.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
WOOl fibre morphology and structure.pdf for textiles
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Web App vs Mobile App What Should You Build First.pdf
Developing a website for English-speaking practice to English as a foreign la...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Hybrid model detection and classification of lung cancer
DP Operators-handbook-extract for the Mautical Institute
observCloud-Native Containerability and monitoring.pptx
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
A novel scalable deep ensemble learning framework for big data classification...
Hindi spoken digit analysis for native and non-native speakers
Module 1.ppt Iot fundamentals and Architecture

Phonegap 2.x

  • 2. 1.x is a big deal! thank you
  • 6. 2.x: http://goo.gl/q4EvS • change PhoneGap.exec(...) to accept an object { success: function() {} ... etc } • Enable internationalization (i18n) rather than specific args - Michael • Command line build • crypto • Device.exitApp() as device independent way of closing application? • config.xml documented • Packaging of plugins (discussion on Planning: Plugin Packaging) • config.xml of <feature /> • Plugin only architecture / ship phonegap with no prebuilt APIs • Websockets • List the inbox and get contents of SMS message • Web notifications API (http://dev.w3.org/2006/webapi/WebNotifications/ • Native Controls publish/Notifications.html) • Native contact picker • HTML media capture (http://www.w3.org/TR/2011/WD-html-media- • Resource profiling hooks capture-20110414/) • Capacity tests (maybe identify flagship devices!) • Calendar API (http://dev.w3.org/2009/dap/calendar/) • App invocation w/ data/args (like intents or protocol handlers) • Messaging API (http://www.w3.org/TR/messaging-api/) • Network loss/regain events • Menu api to build menus for all platforms (discussion on Planning: Menu API) • Roaming in isReachable api • childbrowser first class • hotloading of code instead of recompile in 'dev mode' • fix touch events on webos, android • x-platform intents ala https://github.com/PaulKinlan/WebIntents ...protocol handlers in iOS, intents in Android, etc. • phonegap.js autoloaded into webview • deprecate accelerometer • deprecate media (use html5 audio) • Indexed DB (http://www.w3.org/TR/IndexedDB/)
  • 7. 2.x: http://goo.gl/q4EvS • change PhoneGap.exec(...) to accept an object { success: function() {} ... etc } • Enable internationalization (i18n) rather than specific args - Michael • Command line build • crypto • Device.exitApp() as device independent way of closing application? • config.xml documented • Packaging of plugins (discussion on Planning: Plugin Packaging) • config.xml of <feature /> • Plugin only architecture / ship phonegap with no prebuilt APIs • Websockets • List the inbox and get contents of SMS message • Web notifications API (http://dev.w3.org/2006/webapi/WebNotifications/ • Native Controls publish/Notifications.html) • Native contact picker • HTML media capture (http://www.w3.org/TR/2011/WD-html-media- • Resource profiling hooks capture-20110414/) • Capacity tests (maybe identify flagship devices!) • Calendar API (http://dev.w3.org/2009/dap/calendar/) • App invocation w/ data/args (like intents or protocol handlers) • Messaging API (http://www.w3.org/TR/messaging-api/) • Network loss/regain events • Menu api to build menus for all platforms (discussion on Planning: Menu API) • Roaming in isReachable api • childbrowser first class • hotloading of code instead of recompile in 'dev mode' • fix touch events on webos, android • x-platform intents ala https://github.com/PaulKinlan/WebIntents ...protocol handlers in iOS, intents in Android, etc. • • phonegap.js autoloaded into webview deprecate accelerometer You can contribute! • deprecate media (use html5 audio) • Indexed DB (http://www.w3.org/TR/IndexedDB/)
  • 8. 2.x: http://goo.gl/q4EvS • change PhoneGap.exec(...) to accept an object { success: function() {} ... etc } • Enable internationalization (i18n) rather than specific args - Michael • Command line build • crypto • Device.exitApp() as device independent way of closing application? • config.xml documented • Packaging of plugins (discussion on Planning: Plugin Packaging) • config.xml of <feature /> • Plugin only architecture / ship phonegap with no prebuilt APIs • Websockets • List the inbox and get contents of SMS message • Web notifications API (http://dev.w3.org/2006/webapi/WebNotifications/ • Native Controls publish/Notifications.html) • Native contact picker • HTML media capture (http://www.w3.org/TR/2011/WD-html-media- • Resource profiling hooks capture-20110414/) • Capacity tests (maybe identify flagship devices!) • Calendar API (http://dev.w3.org/2009/dap/calendar/) • App invocation w/ data/args (like intents or protocol handlers) • Messaging API (http://www.w3.org/TR/messaging-api/) • Network loss/regain events • Menu api to build menus for all platforms (discussion on Planning: Menu API) • Roaming in isReachable api • childbrowser first class • hotloading of code instead of recompile in 'dev mode' • fix touch events on webos, android • x-platform intents ala https://github.com/PaulKinlan/WebIntents ...protocol handlers in iOS, intents in Android, etc. • • phonegap.js autoloaded into webview deprecate accelerometer What our users think ---> • deprecate media (use html5 audio) • Indexed DB (http://www.w3.org/TR/IndexedDB/)
  • 9. 2.x NATIVE SCROLLING
  • 10. 2.x NATIVE SCROLLING
  • 11. First, some perspective • goals and principles • tasks and practices
  • 12. goals and principles • embrace web technology • enhance web tech to a first class dev env • cease to exist
  • 13. practices • use the onboard sdk webview • augment the webview with a bridge to native • prototype implementation creating a realistic roadmap for browsers
  • 14. software lifecycle: phases of doubt Phase 1. can it work?
  • 15. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast?
  • 16. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast? Phase 3. can it generate value?
  • 17. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast? Phase 3. can it generate value?
  • 18. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast? Phase 3. can it generate value?
  • 19. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast? Phase 3. can it generate value?
  • 21. 1.x Device APIs Major platforms Pluggable bridge / ffi Better web tooling
  • 22. 2.x Thinning out the client More platforms Platform UX concerns Tooling saga continues Perf and Security Polyfilling
  • 23. 2.x Thinning out the client Everything becomes a plugin and config.xml becomes the gateway. Standard packaging. Plugin discovery. Installation. Runtime security model.
  • 24. 2.x More platforms Samsung Bada MeeGo Linux Windows Phone 7
  • 25. 2.x Platform UX Concerns Notifications centres Physical button event binding HTML5 Menu element
  • 26. 2.x Tooling improvements Weinre improvements Code hotloading / refresh (Hydrating Apps) CLI Tooling (manage config.xml, Cordova rebirth)
  • 27. 2.x Performance and Security WebGL prototypes are under way Background services with pure JavaScript Crypto and remote logic loading Binary transport w/ JSON serialization
  • 28. 2.x HTML5 Polyfilling workers sockets html5 elements ...
  • 31. Next steps: FOR REALS • community forum to plan 2.x release schedule • a major update every year • please use our traffic: blog on phonegap.com, tweet with the tag #phonegap

Editor's Notes