Your SlideShare is downloading. ×

Phonegap 2.x

8,887
views

Published on

Published in: Technology

2 Comments
10 Likes
Statistics
Notes
No Downloads
Views
Total Views
8,887
On Slideshare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
99
Comments
2
Likes
10
Embeds 0
No embeds

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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. 1.x is a big deal! thank you
    • 2. PhoneGap2.x
    • 3. @brianleroux
    • 4. PhoneGap 2.x
    • 5. 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/)
    • 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 You can contribute!• 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 What our users think --->• deprecate media (use html5 audio)• Indexed DB (http://www.w3.org/TR/IndexedDB/)
    • 8. 2.x NATIVE SCROLLING
    • 9. 2.x NATIVE SCROLLING
    • 10. First, some perspective• goals and principles• tasks and practices
    • 11. goals and principles• embrace web technology• enhance web tech to a first class dev env• cease to exist
    • 12. practices• use the onboard sdk webview• augment the webview with a bridge to native• prototype implementation creating a realistic roadmap for browsers
    • 13. software lifecycle: phases of doubt Phase 1. can it work?
    • 14. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast?
    • 15. software lifecycle: phases of doubt Phase 1. can it work? Phase 2. can it be fast? Phase 3. can it generate value?
    • 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. http://gapingvoid.com
    • 20. 1.x Device APIs Major platforms Pluggable bridge / ffi Better web tooling
    • 21. 2.x Thinning out the client More platforms Platform UX concerns Tooling saga continues Perf and Security Polyfilling
    • 22. 2.x Thinning out the clientEverything becomes a plugin and config.xml becomes the gateway. Standard packaging. Plugin discovery. Installation. Runtime security model.
    • 23. 2.x More platforms Samsung Bada MeeGo Linux Windows Phone 7
    • 24. 2.x Platform UX Concerns Notifications centres Physical button event binding HTML5 Menu element
    • 25. 2.x Tooling improvements Weinre improvements Code hotloading / refresh (Hydrating Apps) CLI Tooling (manage config.xml, Cordova rebirth)
    • 26. 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
    • 27. 2.x HTML5 Polyfilling workers sockets html5 elements ...
    • 28. Cadence
    • 29. Next steps
    • 30. 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
    • 31. Now we party!