SlideShare a Scribd company logo
Mobile Apps with JavaScript - there’s more than web!



                                         Heiko Behrens
                                         @HBehrens
@moskovich: “Your mobile phone has more
computing power than all of NASA in 1969.
    NASA put a man on the moon...
...we put a bird into pigs.”
There's more than web
There's more than web
There's more than web
There's more than web
what’s so great
about the web
   anyway ?
Bulletproof*@Font.Face*Syntax
@font&face*{
****font.family:*'MyFontFamily';
****src:*url('myfont&webfont.eot?#iefix')*format('embedded&opentype'),
*********url('myfont&webfont.woff')*format('woff'),
*********url('myfont&webfont.ttf')**format('truetype'),
*********url('myfont&webfont.svg#svgFontName')*format('svg');
}


                                                    Cross.Browser*Min*Height
                                                    #div*{
                                                    ***min.height:*500px;
                                                    ***height:auto*!important;
                                                    ***height:*500px;
 Box*Shadow                                         }

 .shadow*{
 ******&moz&box&shadow:*0*0*4px*#000;
 ******&webkit&box&shadow:*0*0*4px*#000;
 ******&ms&filter:*"progid:DXImageTransform.Microsoft.Glow(color=#666666,strength=3)";
 ******filter:
 **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=0,strength=3)
 **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=90,strength=3)
 **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=180,strength=3)
 **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=270,strength=3);
 ******box&shadow:*0*0*4px*#000;
 }
There's more than web
user’s
         i ve
perspec t
experience
consumers think apps
developer’s
perspective
There's more than web
There's more than web
web apps
HTML5
cache manifest, local storage, forms, geo location

CSS3
animation, transitions, 3D transformation

Resolution
css media queries, reference, categories, float layout

URLs
mails, telephone, sms, maps, youtube, etc.
server-side web


                           Web Server
                        executes application
                               logic


Web Browser




                       Files             Database




  Device                       Backend
client-side web

     Web Browser



      JavaScript
executes application logic




  Files         Database




          Device                Backend
web frameworks

iWebKit, iUI, jQTouch, JQuery mobile, Jo, Zepto

Sencha Touch, SproutCore




See also any mew library that spawns each new week
Sencha Touch

GPL+MIT License        GPL + Free License
declarative + JQuery   programmatically
simple                 complex
Sencha Touch
                                              Ext.setup({
                                                  tabletStartupScreen: 'tablet_startup.png',
                                                  phoneStartupScreen: 'phone_startup.png',
                                                  icon: 'icon.png',
                                                  glossOnIcon: false,
                                                  onReady : function() {
                                                      Ext.regModel('Contact', {
                                                          fields: ['firstName', 'lastName']
                                                      });

                                                        var groupingBase = {
                                              !     !    !    // snip
                                                            },
<ul data-role="listview" data-theme="g">
                                                             store: new Ext.data.Store({
!   <li><a href="acura.html">Acura</a></li>
                                                                 model: 'Contact',
!   <li><a href="audi.html">Audi</a></li>
                                                                 sorters: 'firstName',
!   <li><a href="bmw.html">BMW</a></li>
</ul>                                                            getGroupString : function(record) {
                                                                     return record.get(
                                                                          'firstName')[0];
                                                                 },

                                                                 data: [
                                                                     {firstName: 'Tommy',
                                                                      lastName: 'Maintz'},
                                              !     !    !     !   !     // snip
                                                                     {firstName: 'Zed',
                                                                      lastName: 'Zacharias'}
                                                                 ]
                                                             })
                                                        };

                                                        new Ext.List(Ext.apply(groupingBase, {
                                                             fullscreen: true
                                                        }));
                                                    }
                                              });
demo
Cocos2D JavaScript        Impact JS
   MIT License           MIT License

Simple 2D + Physics   2D, Physics, Sound

                      Emphasizes Mobile
demo
production
 learning         easy and countless tutorials+libraries
 tools            can mostly be developed on desktop
 monetization     no app store distribution
scenarios
 lists and data
 rich media       inferior performance
 games            poor performance, only limited 3D
experience
 hardware         no camera, partly accelerometer, no fancy stuff
 user interface   fancy UI possible, but platform specific
 offline           HTML5
platforms
 iOS
 Android
 Windows Phone    since 7.5 aka Mango
 others           great movement in responsive design!
hybrid apps
hybrid app

Native App

         Interpreter



    Request
   Interceptor


         JavaScript Bridge

          Browser
     executes JavaScript




             Device                Backend
request interception




    demo
There's more than web
Dual License
MIT & BSD
Logitech Squeezebox Controller
RNAO Nursing Best Practice Guidelines
demo
   +
 weinre
PhoneGap on Windows Phone




       demo
Plugin-Ins for PhoneGap
production
 learning         as with web
 tools            cloud build, yes but barely no debugging
 monetization
scenarios
 lists and data
 rich media       same as with web
 games            same as with web
experience
 hardware         mostly accessible
 user interface   high effort to match platform’s UI
 offline
platforms
 iOS
 Android
 Windows Phone
 others           best coverage of cross-platform frameworks
interpreted apps
interpreted app

Native App

         interpreter




                  Database
  Application
    Script
                       Files




             Device               Backend
– (HTML & CSS) =
Apache 2 License

       JavaScript
     native controls

   iPhone, iPad, Android
(BlackBerry, Mobile Web)
demo
Plugin-Ins for Appcelerator
production
 learning         specific API, similar to Sencha & Co.
 tools            own IDE, including debugger
 monetization     marketplace for apps and components
scenarios
 lists and data   perfect match
 rich media       hard to work with movies/images and animations
 games            some modules for rendering and physics
experience
 hardware         complete support
 user interface   truly native widgets
 offline
platforms
 iOS
 Android
 Windows Phone    no plans on roadmap
 others           plans for BlackBerry and HTML5
Corona         Impact
349 USD / year    99 USD

 Lua Runtime
                  JavaScript

comprehensive      simple
  2D games       2D Games


 iOS, Android    iOS, HTML5
generated apps
generated app

    Generator




 Generator Input       Native App

                               Logic     Logic
      Model
describes logic and
                             Database   Database
 complete system

                                Files    Files
Files     Database

                              Device    Backend
commercial        commercial
    (BETA)

    Java, AS           Ruby

 iOS, Android,         iOS
Windows Phone,
HTML5, WebOS,
BlackBerry, Flash
commercial
800-4500 USD

JavaScript / C#

  full 2D/3D
games tool chain

 iOS, Android
demo + impact
There's more than web
production
 learning         completely new tool chain
 tools            scene editors, debuggers, asset manager, team versioning
 monetization
scenarios
 lists and data   no native UI
 rich media       not optimized for movies
 games
experience
 hardware         OpenGL and sensors
 user interface   best for games
 offline
platforms
 iOS
 Android
 Windows Phone    no plans on agenda
 others           desktop and web
cross-platform
 development ?
Web   Hybrid   Interpreted Game Engine
production
 learning
 tools
 monetization
scenarios
 lists and data
 rich media
 games
experience
 hardware
 user interface
 offline
platforms
 iOS
 Android
 Windows Phone
 others
another
perspective
native
 own language
  own culture
own ecosystem

  field skills
                promotion: watch avatar - the movie 
not-so-native
                                      economic objectives
                                      establishment

                                      “natives are endangered”



promotion: watch avatar - the movie
best of both
promotion: watch avatar - the movie
                                      “I see you”
twitter         @HBehrens
blog            http://HeikoBehrens.net

CEO & Founder   getBeamApp.com

More Related Content

KEY
CouchDB on Android
PDF
From mysql to MongoDB(MongoDB2011北京交流会)
PDF
Terrific Frontends
PDF
Python client api
PPTX
Mongo db mug_2012-02-07
PDF
Mattbrenner
PDF
Html5 game programming overview
PDF
Cleaner, Leaner, Meaner: Refactoring your jQuery
CouchDB on Android
From mysql to MongoDB(MongoDB2011北京交流会)
Terrific Frontends
Python client api
Mongo db mug_2012-02-07
Mattbrenner
Html5 game programming overview
Cleaner, Leaner, Meaner: Refactoring your jQuery

What's hot (19)

PPTX
Rapid and Scalable Development with MongoDB, PyMongo, and Ming
PDF
Map struct
PDF
Programming IoT Gateways in JavaScript with macchina.io
PDF
The Browser Environment - A Systems Programmer's Perspective
ZIP
Clojure: Functional Concurrency for the JVM (presented at Open Source Bridge)
PDF
Rails' Next Top Model
PPTX
Windows Azure Storage
PDF
The Macronomicon
PPTX
Ipc: aidl sexy, not a curse
PPTX
IPC: AIDL is sexy, not a curse
PPTX
Physical web
PPT
Top Ten Web Defenses - DefCamp 2012
PPTX
Design patterns in javascript
PDF
Erlang for data ops
PDF
Ruby on Rails 3.1: Let's bring the fun back into web programing
KEY
Code as data as code.
PDF
Websockets, Ruby y Pusher Webprendedor 2010
PDF
Testing Web Applications with GEB
PDF
Couchbase Korea User Group 2nd Meetup #2
Rapid and Scalable Development with MongoDB, PyMongo, and Ming
Map struct
Programming IoT Gateways in JavaScript with macchina.io
The Browser Environment - A Systems Programmer's Perspective
Clojure: Functional Concurrency for the JVM (presented at Open Source Bridge)
Rails' Next Top Model
Windows Azure Storage
The Macronomicon
Ipc: aidl sexy, not a curse
IPC: AIDL is sexy, not a curse
Physical web
Top Ten Web Defenses - DefCamp 2012
Design patterns in javascript
Erlang for data ops
Ruby on Rails 3.1: Let's bring the fun back into web programing
Code as data as code.
Websockets, Ruby y Pusher Webprendedor 2010
Testing Web Applications with GEB
Couchbase Korea User Group 2nd Meetup #2
Ad

Viewers also liked (7)

PDF
Web App vs Web Site
PDF
How to-fail-golden-drum2
PDF
Td 33 15_jul20_150_0
PDF
Hyper island future_book_mobile
PDF
Howtobydavetrott
PDF
Se omoz the-beginners-guide-to-seo-2012
PDF
Meteor presentationanpostindustrybreakfast
Web App vs Web Site
How to-fail-golden-drum2
Td 33 15_jul20_150_0
Hyper island future_book_mobile
Howtobydavetrott
Se omoz the-beginners-guide-to-seo-2012
Meteor presentationanpostindustrybreakfast
Ad

Similar to There's more than web (20)

PDF
beyond tellerrand: Mobile Apps with JavaScript – There's More Than Web
PDF
Bd conf sencha touch workshop
PDF
Create a mobile web app with Sencha Touch
PDF
An Introduction to Sencha Touch
PDF
A mobile web app for Android in 75 minutes
PDF
HTML5 and the dawn of rich mobile web applications pt 1
PPTX
Sencha Touch Intro - Toronto HTML5 User Group
PDF
Building Cross Platform Mobile Web Apps
PDF
mobl presentation @ IHomer
KEY
Real-world Dojo Mobile
PDF
mobl
PDF
Mobile App Development
PDF
Cross platform mobile web apps
PPT
Intro to mobile development with sencha touch
PPT
Intro to mobile development with sencha touch
KEY
PDF
Building cross platform mobile web apps
PDF
mobl - model-driven engineering lecture
PDF
Building a Mobile App with Sencha Touch
PDF
A Snapshot of the Mobile HTML5 Revolution
beyond tellerrand: Mobile Apps with JavaScript – There's More Than Web
Bd conf sencha touch workshop
Create a mobile web app with Sencha Touch
An Introduction to Sencha Touch
A mobile web app for Android in 75 minutes
HTML5 and the dawn of rich mobile web applications pt 1
Sencha Touch Intro - Toronto HTML5 User Group
Building Cross Platform Mobile Web Apps
mobl presentation @ IHomer
Real-world Dojo Mobile
mobl
Mobile App Development
Cross platform mobile web apps
Intro to mobile development with sencha touch
Intro to mobile development with sencha touch
Building cross platform mobile web apps
mobl - model-driven engineering lecture
Building a Mobile App with Sencha Touch
A Snapshot of the Mobile HTML5 Revolution

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Machine Learning_overview_presentation.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Getting Started with Data Integration: FME Form 101
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Assigned Numbers - 2025 - Bluetooth® Document
NewMind AI Weekly Chronicles - August'25-Week II
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
“AI and Expert System Decision Support & Business Intelligence Systems”
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Machine Learning_overview_presentation.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Getting Started with Data Integration: FME Form 101
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

There's more than web

  • 1. Mobile Apps with JavaScript - there’s more than web! Heiko Behrens @HBehrens
  • 2. @moskovich: “Your mobile phone has more computing power than all of NASA in 1969. NASA put a man on the moon...
  • 3. ...we put a bird into pigs.”
  • 8. what’s so great about the web anyway ?
  • 9. Bulletproof*@Font.Face*Syntax @font&face*{ ****font.family:*'MyFontFamily'; ****src:*url('myfont&webfont.eot?#iefix')*format('embedded&opentype'), *********url('myfont&webfont.woff')*format('woff'), *********url('myfont&webfont.ttf')**format('truetype'), *********url('myfont&webfont.svg#svgFontName')*format('svg'); } Cross.Browser*Min*Height #div*{ ***min.height:*500px; ***height:auto*!important; ***height:*500px; Box*Shadow } .shadow*{ ******&moz&box&shadow:*0*0*4px*#000; ******&webkit&box&shadow:*0*0*4px*#000; ******&ms&filter:*"progid:DXImageTransform.Microsoft.Glow(color=#666666,strength=3)"; ******filter: **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=0,strength=3) **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=90,strength=3) **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=180,strength=3) **************progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=270,strength=3); ******box&shadow:*0*0*4px*#000; }
  • 11. user’s i ve perspec t
  • 18. HTML5 cache manifest, local storage, forms, geo location CSS3 animation, transitions, 3D transformation Resolution css media queries, reference, categories, float layout URLs mails, telephone, sms, maps, youtube, etc.
  • 19. server-side web Web Server executes application logic Web Browser Files Database Device Backend
  • 20. client-side web Web Browser JavaScript executes application logic Files Database Device Backend
  • 21. web frameworks iWebKit, iUI, jQTouch, JQuery mobile, Jo, Zepto Sencha Touch, SproutCore See also any mew library that spawns each new week
  • 22. Sencha Touch GPL+MIT License GPL + Free License declarative + JQuery programmatically simple complex
  • 23. Sencha Touch Ext.setup({ tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', icon: 'icon.png', glossOnIcon: false, onReady : function() { Ext.regModel('Contact', { fields: ['firstName', 'lastName'] }); var groupingBase = { ! ! ! // snip }, <ul data-role="listview" data-theme="g"> store: new Ext.data.Store({ ! <li><a href="acura.html">Acura</a></li> model: 'Contact', ! <li><a href="audi.html">Audi</a></li> sorters: 'firstName', ! <li><a href="bmw.html">BMW</a></li> </ul> getGroupString : function(record) { return record.get( 'firstName')[0]; }, data: [ {firstName: 'Tommy', lastName: 'Maintz'}, ! ! ! ! ! // snip {firstName: 'Zed', lastName: 'Zacharias'} ] }) }; new Ext.List(Ext.apply(groupingBase, { fullscreen: true })); } });
  • 24. demo
  • 25. Cocos2D JavaScript Impact JS MIT License MIT License Simple 2D + Physics 2D, Physics, Sound Emphasizes Mobile
  • 26. demo
  • 27. production learning easy and countless tutorials+libraries tools can mostly be developed on desktop monetization no app store distribution scenarios lists and data rich media inferior performance games poor performance, only limited 3D experience hardware no camera, partly accelerometer, no fancy stuff user interface fancy UI possible, but platform specific offline HTML5 platforms iOS Android Windows Phone since 7.5 aka Mango others great movement in responsive design!
  • 29. hybrid app Native App Interpreter Request Interceptor JavaScript Bridge Browser executes JavaScript Device Backend
  • 34. RNAO Nursing Best Practice Guidelines
  • 35. demo + weinre
  • 36. PhoneGap on Windows Phone demo
  • 38. production learning as with web tools cloud build, yes but barely no debugging monetization scenarios lists and data rich media same as with web games same as with web experience hardware mostly accessible user interface high effort to match platform’s UI offline platforms iOS Android Windows Phone others best coverage of cross-platform frameworks
  • 40. interpreted app Native App interpreter Database Application Script Files Device Backend
  • 41. – (HTML & CSS) =
  • 42. Apache 2 License JavaScript native controls iPhone, iPad, Android (BlackBerry, Mobile Web)
  • 43. demo
  • 45. production learning specific API, similar to Sencha & Co. tools own IDE, including debugger monetization marketplace for apps and components scenarios lists and data perfect match rich media hard to work with movies/images and animations games some modules for rendering and physics experience hardware complete support user interface truly native widgets offline platforms iOS Android Windows Phone no plans on roadmap others plans for BlackBerry and HTML5
  • 46. Corona Impact 349 USD / year 99 USD Lua Runtime JavaScript comprehensive simple 2D games 2D Games iOS, Android iOS, HTML5
  • 48. generated app Generator Generator Input Native App Logic Logic Model describes logic and Database Database complete system Files Files Files Database Device Backend
  • 49. commercial commercial (BETA) Java, AS Ruby iOS, Android, iOS Windows Phone, HTML5, WebOS, BlackBerry, Flash
  • 50. commercial 800-4500 USD JavaScript / C# full 2D/3D games tool chain iOS, Android
  • 53. production learning completely new tool chain tools scene editors, debuggers, asset manager, team versioning monetization scenarios lists and data no native UI rich media not optimized for movies games experience hardware OpenGL and sensors user interface best for games offline platforms iOS Android Windows Phone no plans on agenda others desktop and web
  • 55. Web Hybrid Interpreted Game Engine production learning tools monetization scenarios lists and data rich media games experience hardware user interface offline platforms iOS Android Windows Phone others
  • 57. native own language own culture own ecosystem field skills promotion: watch avatar - the movie 
  • 58. not-so-native economic objectives establishment “natives are endangered” promotion: watch avatar - the movie
  • 59. best of both promotion: watch avatar - the movie “I see you”
  • 60. twitter @HBehrens blog http://HeikoBehrens.net CEO & Founder getBeamApp.com