SlideShare a Scribd company logo
Mobile JavaScript
                              Development

                              or HTML5 apps
                         Nikolai Onken - uxebu Consulting Ltd. & Co. KG


Monday, March 15, 2010
Hi all
                         @nonken | @uxebu




Monday, March 15, 2010
We open the mobile web



Monday, March 15, 2010
Agenda




Monday, March 15, 2010
Agenda


                   • Timetravel




Monday, March 15, 2010
Agenda


                   • Timetravel
                   • Why mobile JavaScript development?




Monday, March 15, 2010
Agenda


                   • Timetravel
                   • Why mobile JavaScript development?
                   • Tales of a mobile dev (EventNinja)



Monday, March 15, 2010
Agenda


                   • Timetravel
                   • Why mobile JavaScript development?
                   • Tales of a mobile dev (EventNinja)
                   • Outlook


Monday, March 15, 2010
Experiment
                         An ECG written in JavaScript/HTML/CSS




Monday, March 15, 2010
Pulse check




                         j K
                           a




                                                    a




                         HumanApi - http://bit.ly/92lpyR

Monday, March 15, 2010
Agenda


                   • Timetravel
                   • Why mobile JavaScript development?
                   • Tales of a mobile dev (EventNinja)
                   • Outlook


Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
2010




Monday, March 15, 2010
2010

            • Eric Schmidt (CEO Google Inc.): “Mobile first”




Monday, March 15, 2010
2010

            • Eric Schmidt (CEO Google Inc.): “Mobile first”
            • Steve Jobs (CEO Apple Inc.): “Apple is a mobile
                   devices company.”




Monday, March 15, 2010
Mobile browsing?




              h                                   K
                                                  $



                         WWW




Monday, March 15, 2010
Mobile browsing?




              h                             K
                                            $
                                            WWW




Monday, March 15, 2010
The past


                             h
                               O

                         KKKKKKKKK

Monday, March 15, 2010
The future


                            K
                             O

          hhhhhhhhh


Monday, March 15, 2010
Lets look at some very cool stuff




                               http://bit.ly/bqvQIG

Monday, March 15, 2010
Pulse check




                         j K
                           a




                                                    a




                         HumanApi - http://bit.ly/92lpyR

Monday, March 15, 2010
Agenda

                   • Timetravel
                   • Why mobile JavaScript development?
                   • Tales of a mobile developmentev
                         (EventNinja)
                   • Outlook


Monday, March 15, 2010
Mobile market
                                                 2% 5%
                                               3%
                                             3%
                                        4%
                                   4%                                     38%

                                   5%

                                   5%


                                        10%

                                                         20%

                         Nokia     Samsung       LG       Sony Ericsson     Motorola   ZTE
                         Kyocera   RIM           Sharp    Apple             Other



                                         http://bit.ly/bPDn5b
Monday, March 15, 2010
Smartphone market

                                       20%


                                                              40%
                                 5%



                                 15%



                                               20%

                         Nokia         RIM     Apple     HTC        Others




                                       http://bit.ly/bPDn5b
Monday, March 15, 2010
Is this our (developers) world?




                 d                   == 2%


Monday, March 15, 2010
Seriously?
                         Are we happy with a 2% market share?




Monday, March 15, 2010
How open platforms really are




                         ƒ a       ==


Monday, March 15, 2010
Reality check:

    “you're prohibited from distributing it (the app) through
     competing app stores like Cydia or Rock Your Phone”




                         http://bit.ly/dgmJvN

Monday, March 15, 2010
Everybody wants his/her share




                             7
                                http://bit.ly/dgmJvN

Monday, March 15, 2010
Some things you actually don’t
                    have to share, weird huh?




Monday, March 15, 2010
Showtime - a strong
                          case for JavaScript
                          http://yourappshop.com - NSFW

                             App store without Apple




Monday, March 15, 2010
a




q                        What companies like Apple don’t like
                                                                w
Monday, March 15, 2010
a




                                  qw
                         What companies like Apple don’t like


Monday, March 15, 2010
a


                                  qw
                         What companies like Apple don’t like


Monday, March 15, 2010
What companies like Apple don’t like


Monday, March 15, 2010
w
                         What companies like Apple don’t like


Monday, March 15, 2010
What companies like Apple don’t like


Monday, March 15, 2010
Your Appshop facts




Monday, March 15, 2010
Your Appshop facts
                   • 100% HTML5




Monday, March 15, 2010
Your Appshop facts
                   • 100% HTML5
                   • Apps work offline




Monday, March 15, 2010
Your Appshop facts
                   • 100% HTML5
                   • Apps work offline
                   • 12.000.000 downloads since december 2009



Monday, March 15, 2010
Your Appshop facts
                   • 100% HTML5
                   • Apps work offline
                   • 12.000.000 downloads since december 2009
                   • Payment gateway


Monday, March 15, 2010
Your Appshop facts
                   • 100% HTML5
                   • Apps work offline
                   • 12.000.000 downloads since december 2009
                   • Payment gateway
                   • It feels native

Monday, March 15, 2010
Device APIs
                    What else is happening in the mobile world?




Monday, March 15, 2010
m
                         Camera APIs (AR anyone?)


Monday, March 15, 2010
S
                         Calendar APIs


Monday, March 15, 2010
v
                         Access to local data


Monday, March 15, 2010
Payment integration


Monday, March 15, 2010
K
                         Payment integration


Monday, March 15, 2010
F q0
                         More device APIs


Monday, March 15, 2010
It’s all in the works




Monday, March 15, 2010
It’s all in the works

                   • JIL - http://jil.org
                         Vodafone, Verizon Wireless, China Mobile and Softbank Mobile (1.1 billion customers)




Monday, March 15, 2010
It’s all in the works

                   • JIL - http://jil.org
                         Vodafone, Verizon Wireless, China Mobile and Softbank Mobile (1.1 billion customers)


                   • BONDI - http://bondi.omtp.org



Monday, March 15, 2010
It’s all in the works

                   • JIL - http://jil.org
                         Vodafone, Verizon Wireless, China Mobile and Softbank Mobile (1.1 billion customers)


                   • BONDI - http://bondi.omtp.org
                   • W3C (Device APIs) - http://bit.ly/bdm4wv


Monday, March 15, 2010
Pulse check




                         j K
                           a




                                                    a




                         HumanApi - http://bit.ly/92lpyR

Monday, March 15, 2010
Agenda


                   • Timetravel
                   • Why mobile JavaScript development?
                   • Tales of a mobile dev (EventNinja)
                   • Outlook


Monday, March 15, 2010
Tales of a mobile dev



                         EventNinja


Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
http://www.eventninja.net



Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
Mobile prototyping



Monday, March 15, 2010
The cloud



Monday, March 15, 2010
Google Calendar



Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
The architecture of
                             EventNinja


Monday, March 15, 2010
Runtimes used
                   • PhoneGap (http://phonegap.com)
                   • W3C Widgets (Opera)
                   • (Others) Palm



Monday, March 15, 2010
Appstore coverage




Monday, March 15, 2010
Dojo



Monday, March 15, 2010
Performance



Monday, March 15, 2010
Why performance?
                               What we do has direct Impact!



                   • Datavolume (Someone has to pay for it)
                   • Like or Dislike - mobile apps get thrown
                         away very quickly



Monday, March 15, 2010
Dojo’s toolchain




Monday, March 15, 2010
Dojos Buildsystem



Monday, March 15, 2010
• Minify and shrink JavaScript
                   • Build into single or several files
                   • Build and concatenate CSS
                   • Optimize images


Monday, March 15, 2010
Monday, March 15, 2010
Monday, March 15, 2010
Other Dojo goodness




Monday, March 15, 2010
Other Dojo goodness
                   • Class inheritance - dojo.declare




Monday, March 15, 2010
Other Dojo goodness
                   • Class inheritance - dojo.declare
                   • Dojos event system - dojo.connect




Monday, March 15, 2010
Other Dojo goodness
                   • Class inheritance - dojo.declare
                   • Dojos event system - dojo.connect
                   • Powerful extendable query engine -
                         dojo.query




Monday, March 15, 2010
Other Dojo goodness
                   • Class inheritance - dojo.declare
                   • Dojos event system - dojo.connect
                   • Powerful extendable query engine -
                         dojo.query
                   • Much much more (See Dylans talk today)

Monday, March 15, 2010
But!

                         document.getElement...

                          Don’t forget about “real” JavaScript




Monday, March 15, 2010
What we have learned



Monday, March 15, 2010
Code simple!



Monday, March 15, 2010
Step back!

                         Especially if the desktop browser was your
                                       runtime of the past



Monday, March 15, 2010
Semantics?
                           A short story




Monday, March 15, 2010
Monday, March 15, 2010
<ul>
           <li>Hi</li>
         </ul>




Monday, March 15, 2010
<ul>
           <li>Hi</li>
         </ul>

         <ul>
           <li><a href=””>Hi</a></li>
         </ul>


Monday, March 15, 2010
<ul>
           <li>Hi</li>
         </ul>

         <ul>
           <li><a href=””>Hi</a></li>
         </ul>

         <a href=””>Hi</a>
Monday, March 15, 2010
IE anyone?




Monday, March 15, 2010
IE anyone?




Monday, March 15, 2010
IE anyone?




Monday, March 15, 2010
Do what your runtime
                         can do
                           Not more




Monday, March 15, 2010
Communications




Monday, March 15, 2010
Communications


                   • XMLHttpRequest?



Monday, March 15, 2010
Communications


                   • XMLHttpRequest?
                   • JSONP / JSON?


Monday, March 15, 2010
Monday, March 15, 2010
Look ahead




Monday, March 15, 2010
Look ahead
                         But don’t implement
                              everything


Monday, March 15, 2010
Scaling and ppi
                              Be aware




Monday, March 15, 2010
Testing



Monday, March 15, 2010
The browser is your
                               friend



Monday, March 15, 2010
The browser is your
                               friend
                                 Really




Monday, March 15, 2010
The browser is your
                               friend
                                 Really
                                 Really




Monday, March 15, 2010
The browser is your
                               friend
                                 Really
                                 Really
                                 Really




Monday, March 15, 2010
The browser is your
                               friend
                                 Really
                                 Really
                                 Really
                                 Really



Monday, March 15, 2010
The browser is your
                               friend
                                 Really
                                 Really
                                 Really
                                 Really
                                 Really


Monday, March 15, 2010
Set headers... and steal




       Send iPhone headers from within Firefox for example
Monday, March 15, 2010
Hmmmm, alert(“Hi”);



Monday, March 15, 2010
Automate

                         Create routines


Monday, March 15, 2010
Agenda


                   • Timetravel
                   • Why mobile JavaScript development?
                   • Tales of a mobile dev (EventNinja)
                   • Outlook


Monday, March 15, 2010
Better browsers



Monday, March 15, 2010
Faster devices



Monday, March 15, 2010
More market coverage



Monday, March 15, 2010
Richer device APIs



Monday, March 15, 2010
Pulse check




                         j K
                           a




                                                    a




                         HumanApi - http://bit.ly/92lpyR

Monday, March 15, 2010
Other advantages of mobile development




                                    thx to @wolframkriesing for the link




Monday, March 15, 2010
Other advantages of mobile development




                                    thx to @wolframkriesing for the link




Monday, March 15, 2010
Share your knowledge
                         Mobile JavaScript development is young




Monday, March 15, 2010
@nonken | @uxebu

                         @dojo | @dojocampus

Monday, March 15, 2010

More Related Content

Viewers also liked (6)

PDF
Become a Frontend Developer Ninja using HTML5, JavaScript and CSS3 - Marco Ca...
Codemotion
 
PPTX
70-480 - Programming in HTML5 with JavaScript and CSS3
Roxycodone Pills
 
PPT
Coming Up with Good Blog Topics
Hall_
 
PDF
HTML5 and the dawn of rich mobile web applications pt 1
James Pearce
 
PDF
The End of Unlimited Bandwidth
Bryan Rieger
 
PPSX
HTML5, CSS3, and JavaScript
Zac Gordon
 
Become a Frontend Developer Ninja using HTML5, JavaScript and CSS3 - Marco Ca...
Codemotion
 
70-480 - Programming in HTML5 with JavaScript and CSS3
Roxycodone Pills
 
Coming Up with Good Blog Topics
Hall_
 
HTML5 and the dawn of rich mobile web applications pt 1
James Pearce
 
The End of Unlimited Bandwidth
Bryan Rieger
 
HTML5, CSS3, and JavaScript
Zac Gordon
 

Similar to Mobile JavaScript Development - QCon 2010 (20)

PDF
Real-Time Everything - the Era of Communication Ubiquity
Rob Gonda
 
PDF
Hardcore Extending Rails 3 - From RailsConf '10
Rick Martínez
 
PDF
使用 PandaForm.com 製作及管理網上表格
Daniel Cheng
 
PDF
Drupal In The Cloud
Chapter Three
 
PDF
The Art of the Spike
Aaron Bedra
 
PDF
Refactoring
Caike Souza
 
PDF
Cordys int internet trends, media & mobile
Vincent Everts
 
PDF
Please Don't Touch the Slow Parts V2
Federico Galassi
 
PDF
Layar event US introduction and cases
Layar
 
PDF
Rabobank randmeren presentatie
Vincent Everts
 
PDF
Marhmallow game presentation
연 허
 
PDF
The Marshmellow challenge - esercizio di teambuilding
Irene Morrione
 
PDF
Elretodelanube conclusiones
salesatocha
 
PDF
5 Principles for Agile & High Speed Development
Chlkboard
 
PDF
CrossMark Sneak Peek 2010 CrossRef Workshops
Crossref
 
PDF
台灣/中國網路經濟之社會觀察
Chili Consulting
 
PDF
Google App Engine - Devfest India 2010
Patrick Chanezon
 
PDF
iCrossing client event - You & Your Web Shadow
Antony Mayfield
 
PDF
Usability Testing in China - Tips and Tricks (Chui Tan / Dan Szuc)
cxpartners
 
PDF
PRSA T3PR Conference in NYC June 2010
Ed Schipul
 
Real-Time Everything - the Era of Communication Ubiquity
Rob Gonda
 
Hardcore Extending Rails 3 - From RailsConf '10
Rick Martínez
 
使用 PandaForm.com 製作及管理網上表格
Daniel Cheng
 
Drupal In The Cloud
Chapter Three
 
The Art of the Spike
Aaron Bedra
 
Refactoring
Caike Souza
 
Cordys int internet trends, media & mobile
Vincent Everts
 
Please Don't Touch the Slow Parts V2
Federico Galassi
 
Layar event US introduction and cases
Layar
 
Rabobank randmeren presentatie
Vincent Everts
 
Marhmallow game presentation
연 허
 
The Marshmellow challenge - esercizio di teambuilding
Irene Morrione
 
Elretodelanube conclusiones
salesatocha
 
5 Principles for Agile & High Speed Development
Chlkboard
 
CrossMark Sneak Peek 2010 CrossRef Workshops
Crossref
 
台灣/中國網路經濟之社會觀察
Chili Consulting
 
Google App Engine - Devfest India 2010
Patrick Chanezon
 
iCrossing client event - You & Your Web Shadow
Antony Mayfield
 
Usability Testing in China - Tips and Tricks (Chui Tan / Dan Szuc)
cxpartners
 
PRSA T3PR Conference in NYC June 2010
Ed Schipul
 
Ad

More from Nikolai Onken (17)

PDF
Running a cloud-based developer platform
Nikolai Onken
 
PDF
The Art Of Practicing - WebSummit 2014
Nikolai Onken
 
PDF
Embedjs
Nikolai Onken
 
PDF
The Hitchhiker's guide to mobile development
Nikolai Onken
 
PDF
Human APIs
Nikolai Onken
 
PDF
Html5 Development
Nikolai Onken
 
PDF
Html5 Apps
Nikolai Onken
 
PDF
Human APIs - expanding the mobile web or are robots coming to JavaScript?
Nikolai Onken
 
PPT
Robotic JavaScript
Nikolai Onken
 
PDF
Mobile Cross Platform
Nikolai Onken
 
PDF
Human APIs, the future of mobile
Nikolai Onken
 
KEY
Mobile cross platform development with Dojo
Nikolai Onken
 
KEY
Dojo, from scratch to result
Nikolai Onken
 
PDF
EventNinja, Dojo and mobile
Nikolai Onken
 
PDF
Dojo Introduction
Nikolai Onken
 
PPT
Dojo and Adobe AIR
Nikolai Onken
 
PPT
RIA/UI development with Dojo
Nikolai Onken
 
Running a cloud-based developer platform
Nikolai Onken
 
The Art Of Practicing - WebSummit 2014
Nikolai Onken
 
Embedjs
Nikolai Onken
 
The Hitchhiker's guide to mobile development
Nikolai Onken
 
Human APIs
Nikolai Onken
 
Html5 Development
Nikolai Onken
 
Html5 Apps
Nikolai Onken
 
Human APIs - expanding the mobile web or are robots coming to JavaScript?
Nikolai Onken
 
Robotic JavaScript
Nikolai Onken
 
Mobile Cross Platform
Nikolai Onken
 
Human APIs, the future of mobile
Nikolai Onken
 
Mobile cross platform development with Dojo
Nikolai Onken
 
Dojo, from scratch to result
Nikolai Onken
 
EventNinja, Dojo and mobile
Nikolai Onken
 
Dojo Introduction
Nikolai Onken
 
Dojo and Adobe AIR
Nikolai Onken
 
RIA/UI development with Dojo
Nikolai Onken
 
Ad

Recently uploaded (20)

PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 

Mobile JavaScript Development - QCon 2010