SlideShare a Scribd company logo
Mobile App
With Sencha Touch
Feng Chun
2012-8
About me

 12 year+ JS and Java development experience
 J2ME, WinCE mobile platform development experience
 IBM Java Developer Conference(Shanghai) champion in
 2005
 Created XUI/XFlow/Mobby frameworks for company
 The creator of the open-source projects: jsdk/jsdocx


JSDK: http://jsdk2.sourceforge.net/
My Blog: http://blog.sina.com.cn/haidao415

Page  2
Mobile App Mode

 WAP: JS + HTML + CSS


 WebView: Web + Native packaging


 Hybrid: NativeView + WebView


 Native: NativeView only




Page  3
WebView or Hybrid is monster




             Nativer
Page  4
JS has poor performance

   JS code looks like a bowl of
   function noodles
   Native UI is the best and coolest
  Difficult pass by Apple’s audit
Page  5
WebView Mode
                 Advantages               Disadvantages
           Cross mobile platform     More memory used
           Easy to learn and cost    Not suitable for high-
           savings                   performance game
           Rapid development and     Maybe need to solve
           browser debug             cross-domain problem
           Direct support for Ajax
           and JSON
           Powerful multi-device
           style



Page  6
Sencha Touch
 Full OO architecture
 Dynamic class loading system
 Mobile widgets and Touch events
 Support HTML5 and CSS3
 Customizable UI and multi-platform skins
 Support webkit and not support windows ie
 Support MVC

  In fact, HTML + CSS + JS is the best UI development language collections.


Page  7
Our Android App named: Poseidon




Page  8
Poseidon: project organization




Page  9
Poseidon: index.html
<title>Poseidon</title>
<link type="text/css" rel="stylesheet" href="touch/resources/css/android.css" />
<link type="text/css" rel="stylesheet" href="style/app.css" />
<link type="text/css" rel="stylesheet" href="style/app4android.css" />
<script type="text/javascript" src="touch/sencha-touch-all.js"></script>

<script type="text/javascript" src="app/core/….js"></script>
<script type="text/javascript" src="app/util/….js"></script>
<script type="text/javascript" src="app/service/….js"></script>
<script type="text/javascript" src="app/model/….js"></script>

<script type="text/javascript" src="app/view/…js"></script>
<script type="text/javascript" src="app/activity/XxxActivity.js"></script>

<script type="text/javascript" src="app/Main.js"></script>


 Page  10
WebView Team Organization

 A farsighted leader
 A senior JS architect
 A widget development team with sencha-touch
 A packaging development team for multi-devices
 An application development team


            Change we need!
Page  11

More Related Content

PDF
Bruce Lawson Opera Indonesia
PDF
W3C Widgets: Apps made with Web Standards
PDF
Bruce lawson Stockholm Geek Meet
PPTX
jQuery Conference Chicago - September 2014
PDF
Disruptive code
PPTX
Webworks
PPTX
jQuery presentation
PPTX
Ui development frameworks html-bootstrap by awa
Bruce Lawson Opera Indonesia
W3C Widgets: Apps made with Web Standards
Bruce lawson Stockholm Geek Meet
jQuery Conference Chicago - September 2014
Disruptive code
Webworks
jQuery presentation
Ui development frameworks html-bootstrap by awa

What's hot (20)

PDF
Webview: The fifth element
PDF
Single Page Application Best practices
PDF
jQueryMobile Jump Start
PDF
East of Toronto .NET Usergroup - Put the 5 in HTML
PPTX
do u webview?
PDF
jQuery Conference Toronto
PDF
jQuery UI & Mobile - The Great Merger
PPT
Gregynog 2011
PPTX
Html5 inputs
PDF
HTML5 and friends - JISC CETIS Conference 2010 Nottingham 15.11.2010
PDF
Intro to Web Development from Bloc.io
PDF
Brave new world of HTML5 - WebTech 2010 Milano 09.11.2010
PPTX
Website performance optimisation
PPTX
Introducing Kendo UI
PPTX
Adobe & HTML5
PPTX
HTTP 2.0 - Web Unleashed 2015
PDF
10 tips to improve the usability of Joomla - Joomla World Conference 2014
PDF
PrairieDevCon 2014 - Web Doesn't Mean Slow
PPTX
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
PPT
Going Mobile
Webview: The fifth element
Single Page Application Best practices
jQueryMobile Jump Start
East of Toronto .NET Usergroup - Put the 5 in HTML
do u webview?
jQuery Conference Toronto
jQuery UI & Mobile - The Great Merger
Gregynog 2011
Html5 inputs
HTML5 and friends - JISC CETIS Conference 2010 Nottingham 15.11.2010
Intro to Web Development from Bloc.io
Brave new world of HTML5 - WebTech 2010 Milano 09.11.2010
Website performance optimisation
Introducing Kendo UI
Adobe & HTML5
HTTP 2.0 - Web Unleashed 2015
10 tips to improve the usability of Joomla - Joomla World Conference 2014
PrairieDevCon 2014 - Web Doesn't Mean Slow
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
Going Mobile
Ad

Similar to Mobile app with sencha touch (20)

KEY
Creating cross-platform mobile apps
KEY
Building Pistachio with Sencha Touch 2 (introductory)
KEY
Smart phone development
PDF
Cross Platform Mobile Development
PDF
Sencha Touch for Rubyists
PDF
Building Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
PDF
Hybridmobileapps 130130213844-phpapp02
PPTX
SENCHA Web Programming Software
PPTX
Mobile Web Apps
PDF
HTML5 and the dawn of rich mobile web applications pt 1
PPTX
Mobile web development
PDF
HTML5 Can't Do That
KEY
Mobile ECM with JavaScript - JSE 2011
KEY
PPT
Sencha touch mobile app development
PDF
A Snapshot of the Mobile HTML5 Revolution
PPT
Sencha touch
PDF
Web Application Development in 2023.pdf
PDF
Building Cross Platform Mobile Web Apps
PPTX
Choosing the Right Mobile Development Platform (Part 6)
Creating cross-platform mobile apps
Building Pistachio with Sencha Touch 2 (introductory)
Smart phone development
Cross Platform Mobile Development
Sencha Touch for Rubyists
Building Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
Hybridmobileapps 130130213844-phpapp02
SENCHA Web Programming Software
Mobile Web Apps
HTML5 and the dawn of rich mobile web applications pt 1
Mobile web development
HTML5 Can't Do That
Mobile ECM with JavaScript - JSE 2011
Sencha touch mobile app development
A Snapshot of the Mobile HTML5 Revolution
Sencha touch
Web Application Development in 2023.pdf
Building Cross Platform Mobile Web Apps
Choosing the Right Mobile Development Platform (Part 6)
Ad

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Spectroscopy.pptx food analysis technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Programs and apps: productivity, graphics, security and other tools
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Review of recent advances in non-invasive hemoglobin estimation
Spectroscopy.pptx food analysis technology
Per capita expenditure prediction using model stacking based on satellite ima...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Mobile app with sencha touch

  • 1. Mobile App With Sencha Touch Feng Chun 2012-8
  • 2. About me  12 year+ JS and Java development experience  J2ME, WinCE mobile platform development experience  IBM Java Developer Conference(Shanghai) champion in 2005  Created XUI/XFlow/Mobby frameworks for company  The creator of the open-source projects: jsdk/jsdocx JSDK: http://jsdk2.sourceforge.net/ My Blog: http://blog.sina.com.cn/haidao415 Page  2
  • 3. Mobile App Mode  WAP: JS + HTML + CSS  WebView: Web + Native packaging  Hybrid: NativeView + WebView  Native: NativeView only Page  3
  • 4. WebView or Hybrid is monster Nativer Page  4
  • 5. JS has poor performance JS code looks like a bowl of function noodles Native UI is the best and coolest Difficult pass by Apple’s audit Page  5
  • 6. WebView Mode Advantages Disadvantages Cross mobile platform More memory used Easy to learn and cost Not suitable for high- savings performance game Rapid development and Maybe need to solve browser debug cross-domain problem Direct support for Ajax and JSON Powerful multi-device style Page  6
  • 7. Sencha Touch  Full OO architecture  Dynamic class loading system  Mobile widgets and Touch events  Support HTML5 and CSS3  Customizable UI and multi-platform skins  Support webkit and not support windows ie  Support MVC In fact, HTML + CSS + JS is the best UI development language collections. Page  7
  • 8. Our Android App named: Poseidon Page  8
  • 10. Poseidon: index.html <title>Poseidon</title> <link type="text/css" rel="stylesheet" href="touch/resources/css/android.css" /> <link type="text/css" rel="stylesheet" href="style/app.css" /> <link type="text/css" rel="stylesheet" href="style/app4android.css" /> <script type="text/javascript" src="touch/sencha-touch-all.js"></script> <script type="text/javascript" src="app/core/….js"></script> <script type="text/javascript" src="app/util/….js"></script> <script type="text/javascript" src="app/service/….js"></script> <script type="text/javascript" src="app/model/….js"></script> <script type="text/javascript" src="app/view/…js"></script> <script type="text/javascript" src="app/activity/XxxActivity.js"></script> <script type="text/javascript" src="app/Main.js"></script> Page  10
  • 11. WebView Team Organization  A farsighted leader  A senior JS architect  A widget development team with sencha-touch  A packaging development team for multi-devices  An application development team Change we need! Page  11