SlideShare a Scribd company logo
1 of 32
Download to read offline
Using PhoneGap to develop
incredible HTML5 hybrid mobile apps.
May 22, 2014
MASAHIRO TANAKA
FOUNDER & CEO, MONACA
HTML5DevConf Session
Who am I?
Masahiro Tanaka
Founder & CEO, Monaca
Twitter: @massie
E-mail: masahiro@asial.co.jp
Recent books and magazines:
PhoneGap company.
Official docs
translations.
#1 PG community
In Japan.
Cloud based IDE
No.1Platform: PhoneGap
Our first hybrid app…
News application for a large telecom.
Released in 2010, for Android Platform.
Platform: Android 1.6 to 2.3.
Why hybrid?
Programs stay up-to-date.
Easier to deal with pre-existing
CMS for websites.
GoalBut it was a long way to go…
Andrew E. Larsen
The Path of the Upward Call
But more bigger obstacles
Needed to pre-install to all the carrier’s devices
My journey has begun.
How can I make my app more incredible?
 Better user experience? Or Better to be more stable?
 Speed, Performance?
 User satisfaction? Number of users?
All improvements do improve.
But the bottom-line, we need:
Faster development speed
Easier and deeper debugging
So, we made a PhoneGap debugger
 HTML and JavaScript debugging.
 Live reloading.
 USB connection is optional.
 Multiple devices at once.
Increased our development efficiency significantly.
Also made a Web-based tool
 Edit code, debug, build via browser.
 Backend features.
 No setup required.
Made my team very happy
 Designers don’t need to spend time on
updating environments.
 The debugger is also integrated.
 All command lines are now GUI.
 And also supported local development.
And I decided to provide this.
 Now 40,000 users are using our
product, mainly in Japan.
But unfortunately, not many people
here know about us. That’s why I’m
here and let you know that I’m doing
this.
Again, all improvements
do improve.
Faster development speed
Easier and deeper debugging
 Because PhoneGap/Cordova is a library (or
framework), using an appropriate tools greatly
enhance our job.
There is another issue
User Interface.
“Your app doesn’t look cool”
Native UI Components
 Some CSS3 and vendor-specific
attributes have critical bugs.
Position: fixed
Momentum scrolling
 But it’s PhoneGap. Use native APIs to
cover those problems!
And we open-sourced
 Navbars, tabbars, and widgets & buttons.
 Page navigation.
 Context menu.
 Hardware keys.
 Screen orientation support.
 Relevant JavaScript APIs.
https://github.com/monaca/
But it was wrong approach
 It’s a multi-page app, after all.
 Difficult to
Maintain the state.
Pass variables.
Need to aware more about native.
HTML5 approach is also difficult.
 JavaScript code easily get spaghetti.
 Slow response.
 Slow page rendering.
 Smooth page navigation.
 Standard input tags don’t look native.
 Fixed top and bottom parts.
 Smartphone and tablet support.
But they have a way to
overcome.
 Spaghetti: Use Promise, or AltJS (TypeScript etc.)
 Slow response: Use touch events, to avoid 300ms
delay.
 Slow rendering: Think about browser reflow.
 Smoother navigation: Use CSS3 GPU renderings.
 Form elements: Create your own.
 Fixed top and bottom parts: Google it. Many tricks.
 Responsive: Use CSS Media Query + JavaScript.
And the technology evolution
Big change:
JavaScript framework
AngularJS, Backbone, Knockout…
So started a Web Component
framework
 Onsen UI, an Web Component inspired
JS framework.
 Aimed for: performance & ease of use.
 And PhoneGap apps have gotten easier
to develop, even for light engineers.
But still, developing UI is difficult
In addition to provide pieces,
we also created all “common” UIs,
with those pieces.
So made a ready-made
components site.
http://components.onsenui.io
Looking back these 5 years…
 Customers (or clients) demand very high
standards in all aspects of your app.
 HTML5 is now a strong option for many
applications.
No shortest path, yet.
 Individual tips and tricks can be searched
for and found easily.
 However, no one place to keep up-to-date
with that knowledge, development
processes, debugging or experience.
 That’s why we built Monaca and Onsen UI.
Thank you.
Monaca pricing starts from “forever free” even for commercial
use. Try it! Feedback welcome 
Check @monaca_io to download the slides.
Contest runs until June 30, 2014

More Related Content

What's hot

What's hot (20)

Turku <3 Frontend - Progressive Web Apps, Web and Apps
Turku <3 Frontend - Progressive Web Apps, Web and AppsTurku <3 Frontend - Progressive Web Apps, Web and Apps
Turku <3 Frontend - Progressive Web Apps, Web and Apps
 
12 top app testing tools
12 top app testing tools12 top app testing tools
12 top app testing tools
 
CodeStrong ASO Keynote
CodeStrong ASO KeynoteCodeStrong ASO Keynote
CodeStrong ASO Keynote
 
Progressive Web Apps - Porque nativo no es significa mejor
Progressive Web Apps - Porque nativo no es significa mejorProgressive Web Apps - Porque nativo no es significa mejor
Progressive Web Apps - Porque nativo no es significa mejor
 
User Interface musts for mobile design
User Interface musts for mobile design User Interface musts for mobile design
User Interface musts for mobile design
 
Mobile Web App & Google Apps Script
Mobile Web App & Google Apps ScriptMobile Web App & Google Apps Script
Mobile Web App & Google Apps Script
 
Prototype Development in Mobile-Learning Design Research
Prototype Development in Mobile-Learning Design ResearchPrototype Development in Mobile-Learning Design Research
Prototype Development in Mobile-Learning Design Research
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
 
inLIFE Apps - Instarmac
inLIFE Apps - InstarmacinLIFE Apps - Instarmac
inLIFE Apps - Instarmac
 
Responsive web design tutorial simple easy
Responsive web design tutorial simple easyResponsive web design tutorial simple easy
Responsive web design tutorial simple easy
 
UX with google amp for WebDesigner
UX with google amp for WebDesignerUX with google amp for WebDesigner
UX with google amp for WebDesigner
 
What is your mobile strategy?
What is your mobile strategy?What is your mobile strategy?
What is your mobile strategy?
 
Progressive Web Apps 1. keynote
Progressive Web Apps 1. keynoteProgressive Web Apps 1. keynote
Progressive Web Apps 1. keynote
 
Mobile-First Strategy
Mobile-First StrategyMobile-First Strategy
Mobile-First Strategy
 
[Startup Nations Summit 2014] Competition - China - Beijing
[Startup Nations Summit 2014] Competition - China - Beijing[Startup Nations Summit 2014] Competition - China - Beijing
[Startup Nations Summit 2014] Competition - China - Beijing
 
Android App Development Journey
Android App Development JourneyAndroid App Development Journey
Android App Development Journey
 
Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web App
 
Progressive Web Apps
Progressive Web AppsProgressive Web Apps
Progressive Web Apps
 
Progressive Web Apps: The Breakdown
Progressive Web Apps: The BreakdownProgressive Web Apps: The Breakdown
Progressive Web Apps: The Breakdown
 
AIA2018 - Janno Stern - Intro To Product Sprint
AIA2018 - Janno Stern - Intro To Product SprintAIA2018 - Janno Stern - Intro To Product Sprint
AIA2018 - Janno Stern - Intro To Product Sprint
 

Similar to Using PhoneGap to develop incredible HTML5 hybrid mobile apps

Trip advsiorhybridpresentation
Trip advsiorhybridpresentationTrip advsiorhybridpresentation
Trip advsiorhybridpresentation
ElanaBoehm
 

Similar to Using PhoneGap to develop incredible HTML5 hybrid mobile apps (20)

Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web App
 
Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence
Go for Progressive Web Apps. Get a Better, Low Cost, Mobile PresenceGo for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence
Go for Progressive Web Apps. Get a Better, Low Cost, Mobile Presence
 
Mobile application development platform
Mobile application development platformMobile application development platform
Mobile application development platform
 
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
JQuery Mobile vs Appcelerator Titanium vs Sencha TouchJQuery Mobile vs Appcelerator Titanium vs Sencha Touch
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
 
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapDroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
 
2020 Top Web Development Trends
2020 Top Web Development Trends2020 Top Web Development Trends
2020 Top Web Development Trends
 
How to use Java in Web Application Development?
How to use Java in Web Application Development?How to use Java in Web Application Development?
How to use Java in Web Application Development?
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
 
Phonegap
PhonegapPhonegap
Phonegap
 
From mobile browser to mobile app
From mobile browser to mobile appFrom mobile browser to mobile app
From mobile browser to mobile app
 
Intro to tech stacks bonny
Intro to tech stacks bonnyIntro to tech stacks bonny
Intro to tech stacks bonny
 
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJSMicro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
 
Web development
Web developmentWeb development
Web development
 
webdevelopment-210628031421.pdf
webdevelopment-210628031421.pdfwebdevelopment-210628031421.pdf
webdevelopment-210628031421.pdf
 
Progressive web apps
Progressive web appsProgressive web apps
Progressive web apps
 
Zunairzakir
ZunairzakirZunairzakir
Zunairzakir
 
Zunairzakir
ZunairzakirZunairzakir
Zunairzakir
 
Web Application Development in 2023.pdf
Web Application Development in 2023.pdfWeb Application Development in 2023.pdf
Web Application Development in 2023.pdf
 
Trip advsiorhybridpresentation
Trip advsiorhybridpresentationTrip advsiorhybridpresentation
Trip advsiorhybridpresentation
 
Advanced iOS Engineering - The Junction Talk
Advanced iOS Engineering - The Junction TalkAdvanced iOS Engineering - The Junction Talk
Advanced iOS Engineering - The Junction Talk
 

More from Monaca

New things about Cordova 4.0
New things about Cordova 4.0New things about Cordova 4.0
New things about Cordova 4.0
Monaca
 
はやわかりHTML5ハイブリッドアプリ開発事情
はやわかりHTML5ハイブリッドアプリ開発事情 はやわかりHTML5ハイブリッドアプリ開発事情
はやわかりHTML5ハイブリッドアプリ開発事情
Monaca
 
HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜
HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜
HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜
Monaca
 
LODチャレンジデー オープンデータを利用したサンプルアプリ
LODチャレンジデー オープンデータを利用したサンプルアプリLODチャレンジデー オープンデータを利用したサンプルアプリ
LODチャレンジデー オープンデータを利用したサンプルアプリ
Monaca
 
第6回LODチャレンジデー Monaca紹介資料
第6回LODチャレンジデー Monaca紹介資料第6回LODチャレンジデー Monaca紹介資料
第6回LODチャレンジデー Monaca紹介資料
Monaca
 
Monacaで簡単スマートフォンアプリ開発体験講座
Monacaで簡単スマートフォンアプリ開発体験講座Monacaで簡単スマートフォンアプリ開発体験講座
Monacaで簡単スマートフォンアプリ開発体験講座
Monaca
 
HTML5ハイブリッド アプリ開発実践編
HTML5ハイブリッド アプリ開発実践編HTML5ハイブリッド アプリ開発実践編
HTML5ハイブリッド アプリ開発実践編
Monaca
 

More from Monaca (20)

クロスプラットフォーム開発を可能にするMonaca
クロスプラットフォーム開発を可能にするMonacaクロスプラットフォーム開発を可能にするMonaca
クロスプラットフォーム開発を可能にするMonaca
 
展示会出展を成功させるたった一つのこと
展示会出展を成功させるたった一つのこと展示会出展を成功させるたった一つのこと
展示会出展を成功させるたった一つのこと
 
クロスプラットフォーム開発を可能にするMonacaとそのセキュリティ対策
クロスプラットフォーム開発を可能にするMonacaとそのセキュリティ対策クロスプラットフォーム開発を可能にするMonacaとそのセキュリティ対策
クロスプラットフォーム開発を可能にするMonacaとそのセキュリティ対策
 
LT「料金プラン改定後のMonacaについて」
LT「料金プラン改定後のMonacaについて」LT「料金プラン改定後のMonacaについて」
LT「料金プラン改定後のMonacaについて」
 
クロスプラットフォーム活用のポイント
クロスプラットフォーム活用のポイントクロスプラットフォーム活用のポイント
クロスプラットフォーム活用のポイント
 
US Meetup Tour
US Meetup TourUS Meetup Tour
US Meetup Tour
 
New things about Cordova 4.0
New things about Cordova 4.0New things about Cordova 4.0
New things about Cordova 4.0
 
Cordova and PhoneGap Insights
Cordova and PhoneGap InsightsCordova and PhoneGap Insights
Cordova and PhoneGap Insights
 
120分聞けばドヤ顔で語れる apache cordova スーパー勉強会
120分聞けばドヤ顔で語れる apache cordova スーパー勉強会120分聞けばドヤ顔で語れる apache cordova スーパー勉強会
120分聞けばドヤ顔で語れる apache cordova スーパー勉強会
 
はやわかりHTML5ハイブリッドアプリ開発事情
はやわかりHTML5ハイブリッドアプリ開発事情 はやわかりHTML5ハイブリッドアプリ開発事情
はやわかりHTML5ハイブリッドアプリ開発事情
 
How to make Twitter app with PhoneGap/Cordova
How to make Twitter app with PhoneGap/CordovaHow to make Twitter app with PhoneGap/Cordova
How to make Twitter app with PhoneGap/Cordova
 
HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜
HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜
HTML5ハイブリッド アプリ開発の実践〜開発現場ですぐに活かせるコツを伝授〜
 
高いUXをハイブリッド開発で実現するためのポイント
高いUXをハイブリッド開発で実現するためのポイント高いUXをハイブリッド開発で実現するためのポイント
高いUXをハイブリッド開発で実現するためのポイント
 
LODチャレンジデー オープンデータを利用したサンプルアプリ
LODチャレンジデー オープンデータを利用したサンプルアプリLODチャレンジデー オープンデータを利用したサンプルアプリ
LODチャレンジデー オープンデータを利用したサンプルアプリ
 
第6回LODチャレンジデー Monaca紹介資料
第6回LODチャレンジデー Monaca紹介資料第6回LODチャレンジデー Monaca紹介資料
第6回LODチャレンジデー Monaca紹介資料
 
Android Bazaar Conference講演資料「Onsen UIデビュー!」
Android Bazaar Conference講演資料「Onsen UIデビュー!」Android Bazaar Conference講演資料「Onsen UIデビュー!」
Android Bazaar Conference講演資料「Onsen UIデビュー!」
 
Monacaで簡単スマートフォンアプリ開発体験講座
Monacaで簡単スマートフォンアプリ開発体験講座Monacaで簡単スマートフォンアプリ開発体験講座
Monacaで簡単スマートフォンアプリ開発体験講座
 
Phone gap+javascriptスマホアプリ開発(入門編)
Phone gap+javascriptスマホアプリ開発(入門編)Phone gap+javascriptスマホアプリ開発(入門編)
Phone gap+javascriptスマホアプリ開発(入門編)
 
HTML5ハイブリッド アプリ開発実践編
HTML5ハイブリッド アプリ開発実践編HTML5ハイブリッド アプリ開発実践編
HTML5ハイブリッド アプリ開発実践編
 
ハイブリッドアプリ開発最前線から見たHtml5の理想と現実
ハイブリッドアプリ開発最前線から見たHtml5の理想と現実ハイブリッドアプリ開発最前線から見たHtml5の理想と現実
ハイブリッドアプリ開発最前線から見たHtml5の理想と現実
 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Recently uploaded (20)

%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 

Using PhoneGap to develop incredible HTML5 hybrid mobile apps

  • 1. Using PhoneGap to develop incredible HTML5 hybrid mobile apps. May 22, 2014 MASAHIRO TANAKA FOUNDER & CEO, MONACA HTML5DevConf Session
  • 2. Who am I? Masahiro Tanaka Founder & CEO, Monaca Twitter: @massie E-mail: masahiro@asial.co.jp Recent books and magazines:
  • 3. PhoneGap company. Official docs translations. #1 PG community In Japan. Cloud based IDE
  • 5. Our first hybrid app… News application for a large telecom. Released in 2010, for Android Platform. Platform: Android 1.6 to 2.3.
  • 6. Why hybrid? Programs stay up-to-date. Easier to deal with pre-existing CMS for websites.
  • 7. GoalBut it was a long way to go… Andrew E. Larsen The Path of the Upward Call
  • 8. But more bigger obstacles Needed to pre-install to all the carrier’s devices
  • 9. My journey has begun. How can I make my app more incredible?  Better user experience? Or Better to be more stable?  Speed, Performance?  User satisfaction? Number of users?
  • 10. All improvements do improve. But the bottom-line, we need: Faster development speed Easier and deeper debugging
  • 11. So, we made a PhoneGap debugger  HTML and JavaScript debugging.  Live reloading.  USB connection is optional.  Multiple devices at once.
  • 12. Increased our development efficiency significantly.
  • 13. Also made a Web-based tool  Edit code, debug, build via browser.  Backend features.  No setup required.
  • 14.
  • 15. Made my team very happy  Designers don’t need to spend time on updating environments.  The debugger is also integrated.  All command lines are now GUI.  And also supported local development.
  • 16. And I decided to provide this.  Now 40,000 users are using our product, mainly in Japan. But unfortunately, not many people here know about us. That’s why I’m here and let you know that I’m doing this.
  • 17. Again, all improvements do improve. Faster development speed Easier and deeper debugging  Because PhoneGap/Cordova is a library (or framework), using an appropriate tools greatly enhance our job.
  • 18. There is another issue User Interface. “Your app doesn’t look cool”
  • 19. Native UI Components  Some CSS3 and vendor-specific attributes have critical bugs. Position: fixed Momentum scrolling  But it’s PhoneGap. Use native APIs to cover those problems!
  • 20. And we open-sourced  Navbars, tabbars, and widgets & buttons.  Page navigation.  Context menu.  Hardware keys.  Screen orientation support.  Relevant JavaScript APIs.
  • 22. But it was wrong approach  It’s a multi-page app, after all.  Difficult to Maintain the state. Pass variables. Need to aware more about native.
  • 23. HTML5 approach is also difficult.  JavaScript code easily get spaghetti.  Slow response.  Slow page rendering.  Smooth page navigation.  Standard input tags don’t look native.  Fixed top and bottom parts.  Smartphone and tablet support.
  • 24. But they have a way to overcome.  Spaghetti: Use Promise, or AltJS (TypeScript etc.)  Slow response: Use touch events, to avoid 300ms delay.  Slow rendering: Think about browser reflow.  Smoother navigation: Use CSS3 GPU renderings.  Form elements: Create your own.  Fixed top and bottom parts: Google it. Many tricks.  Responsive: Use CSS Media Query + JavaScript.
  • 25. And the technology evolution Big change: JavaScript framework AngularJS, Backbone, Knockout…
  • 26. So started a Web Component framework  Onsen UI, an Web Component inspired JS framework.  Aimed for: performance & ease of use.  And PhoneGap apps have gotten easier to develop, even for light engineers.
  • 27. But still, developing UI is difficult In addition to provide pieces, we also created all “common” UIs, with those pieces.
  • 28. So made a ready-made components site. http://components.onsenui.io
  • 29. Looking back these 5 years…  Customers (or clients) demand very high standards in all aspects of your app.  HTML5 is now a strong option for many applications.
  • 30. No shortest path, yet.  Individual tips and tricks can be searched for and found easily.  However, no one place to keep up-to-date with that knowledge, development processes, debugging or experience.  That’s why we built Monaca and Onsen UI.
  • 31. Thank you. Monaca pricing starts from “forever free” even for commercial use. Try it! Feedback welcome  Check @monaca_io to download the slides.
  • 32. Contest runs until June 30, 2014