SlideShare a Scribd company logo
FIRST APPLICATION IN
SENCHA TOUCH
- NITHYA
1
What is Sencha Touch?
 Sencha Touch enables you to quickly and easily create HTML5 based
mobile apps that work on Android, iOS and Blackberry devices and
produce a native-app-like experience inside a browser.
© 2010, Cognizant Technology Solutions. Confidential 2
Software Requirements
 Mandatory:
» A web server running locally on your computer
» A modern web browser; Chrome and Safari are recommended
» Downloaded Sencha Touch SDK
 Optional:
» SDE like Eclipse for J2EE
» iOS SDK, Emulator
» Android SDK, Emulator
© 2010, Cognizant Technology Solutions. Confidential 3
Application Structure
 Single HTML File
 One or more JS files
 One of more CSS files
© 2010, Cognizant Technology Solutions. Confidential 4
Project
app
controller model
store view
app.js
data touch
resources
css
css-
debug
sass themes
icons images
lib
lib-debug
lib-
minified
HTML-
page
Starting point in Sencha Touch Applications
 Ext.setup() is the entry-point to initialize a Sencha Touch application.
 This sets up the viewport, initializes the event system, instantiates a
default animation runner, and a default logger (during development).
 When all of that is ready, it invokes the callback function given to
the onReady key.
© 2010, Cognizant Technology Solutions. Confidential 5
 If your application makes use of MVC architecture,
use application instead.
 Ext.application is used to create an application instance
 Loads Ext.app.Application class and starts it up with given configuration
after the page is ready
© 2010, Cognizant Technology Solutions. Confidential 6
Starting point in Sencha Touch Applications - MVC
Viewport
 Ext.Viewport is a instance created when you use Ext.setup.
 Because Ext.Viewport extends from Ext.Container, it has as layout (which
defaults toExt.layout.Card). This means you can add items to it at any
time, from anywhere in your code.
 The Ext.Viewport fullscreen configuration is true by default, so it will take
up your whole screen.
© 2010, Cognizant Technology Solutions. Confidential 7
Alternative to Viewport
 By defining the fullscreen property on a component, it will automatically
be added to the Viewport.
© 2010, Cognizant Technology Solutions. Confidential 8

More Related Content

What's hot

Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash ScreenMobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
AndiNurkholis1
 
Wearables + Azure development
Wearables + Azure developmentWearables + Azure development
Wearables + Azure development
Andri Yadi
 
PHP in a mobile ecosystem
PHP in a mobile ecosystem PHP in a mobile ecosystem
PHP in a mobile ecosystem
Ivo Jansch
 
Flutter
FlutterFlutter
Flutter
Ankit Kumar
 
Azure Mobile Services (+ Universal Apps)
Azure Mobile Services (+ Universal Apps)Azure Mobile Services (+ Universal Apps)
Azure Mobile Services (+ Universal Apps)
Shahed Chowdhuri
 
Windows azure development setup
Windows azure development setupWindows azure development setup
Windows azure development setupparallelminder
 
Cross-Platform Apps/Games with Azure
Cross-Platform Apps/Games with AzureCross-Platform Apps/Games with Azure
Cross-Platform Apps/Games with Azure
Shahed Chowdhuri
 
Android Study Jams - Info Session
Android Study Jams - Info SessionAndroid Study Jams - Info Session
Android Study Jams - Info Session
Google Developer Students Club NIT Silchar
 
Android application project presentation.
Android application project presentation.Android application project presentation.
Android application project presentation.
Eyakub Sorkar
 
Eclipse Demo Camp 2010 - Eclipse e4 – The Status and the Future
Eclipse Demo Camp 2010 - Eclipse e4 – The Status and the FutureEclipse Demo Camp 2010 - Eclipse e4 – The Status and the Future
Eclipse Demo Camp 2010 - Eclipse e4 – The Status and the Future
Tonny Madsen
 
Enable Authentication and Authorization with Azure Active Directory and Sprin...
Enable Authentication and Authorization with Azure Active Directory and Sprin...Enable Authentication and Authorization with Azure Active Directory and Sprin...
Enable Authentication and Authorization with Azure Active Directory and Sprin...
VMware Tanzu
 
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron
 
Flutter app development company
Flutter app development companyFlutter app development company
Flutter app development company
MathewBairstow
 
Apple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewApple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical Overview
Sammy Sunny
 
Flutter
FlutterFlutter
Selenium, Appium, and Robots!
Selenium, Appium, and Robots!Selenium, Appium, and Robots!
Selenium, Appium, and Robots!
hugs
 
Methods to set up android app development environment
Methods to set up android app development environmentMethods to set up android app development environment
Methods to set up android app development environment
astoria0128
 
Roadmap to Development
Roadmap to DevelopmentRoadmap to Development
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Himanshu Sharan
 

What's hot (20)

Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash ScreenMobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
 
Wearables + Azure development
Wearables + Azure developmentWearables + Azure development
Wearables + Azure development
 
PHP in a mobile ecosystem
PHP in a mobile ecosystem PHP in a mobile ecosystem
PHP in a mobile ecosystem
 
Flutter
FlutterFlutter
Flutter
 
Azure Mobile Services (+ Universal Apps)
Azure Mobile Services (+ Universal Apps)Azure Mobile Services (+ Universal Apps)
Azure Mobile Services (+ Universal Apps)
 
Windows azure development setup
Windows azure development setupWindows azure development setup
Windows azure development setup
 
Cross-Platform Apps/Games with Azure
Cross-Platform Apps/Games with AzureCross-Platform Apps/Games with Azure
Cross-Platform Apps/Games with Azure
 
Android Study Jams - Info Session
Android Study Jams - Info SessionAndroid Study Jams - Info Session
Android Study Jams - Info Session
 
Android application project presentation.
Android application project presentation.Android application project presentation.
Android application project presentation.
 
Eclipse Demo Camp 2010 - Eclipse e4 – The Status and the Future
Eclipse Demo Camp 2010 - Eclipse e4 – The Status and the FutureEclipse Demo Camp 2010 - Eclipse e4 – The Status and the Future
Eclipse Demo Camp 2010 - Eclipse e4 – The Status and the Future
 
Enable Authentication and Authorization with Azure Active Directory and Sprin...
Enable Authentication and Authorization with Azure Active Directory and Sprin...Enable Authentication and Authorization with Azure Active Directory and Sprin...
Enable Authentication and Authorization with Azure Active Directory and Sprin...
 
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
 
Flutter app development company
Flutter app development companyFlutter app development company
Flutter app development company
 
Apple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewApple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical Overview
 
Flutter
FlutterFlutter
Flutter
 
Provisioning Profile
Provisioning ProfileProvisioning Profile
Provisioning Profile
 
Selenium, Appium, and Robots!
Selenium, Appium, and Robots!Selenium, Appium, and Robots!
Selenium, Appium, and Robots!
 
Methods to set up android app development environment
Methods to set up android app development environmentMethods to set up android app development environment
Methods to set up android app development environment
 
Roadmap to Development
Roadmap to DevelopmentRoadmap to Development
Roadmap to Development
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
 

Viewers also liked

Workshop on Sencha Touch - Part 3 - MVC in sencha touch
Workshop on Sencha Touch - Part 3 - MVC in sencha touchWorkshop on Sencha Touch - Part 3 - MVC in sencha touch
Workshop on Sencha Touch - Part 3 - MVC in sencha touch
Nithya Sivakumar
 
Workshop on Sencha Touch - Part 4 - Views in sencha touch
Workshop on Sencha Touch - Part 4 - Views in sencha touchWorkshop on Sencha Touch - Part 4 - Views in sencha touch
Workshop on Sencha Touch - Part 4 - Views in sencha touch
Nithya Sivakumar
 
Microservices session 1
Microservices session 1Microservices session 1
Microservices session 1
Shouri Varanasi
 
Workshop on Sencha Touch - Part 5 - UI components in sencha touch
Workshop on Sencha Touch - Part 5 - UI components in sencha touchWorkshop on Sencha Touch - Part 5 - UI components in sencha touch
Workshop on Sencha Touch - Part 5 - UI components in sencha touch
Nithya Sivakumar
 
A step-by-step guide to mobile application development strategy
A step-by-step guide to mobile application development strategyA step-by-step guide to mobile application development strategy
A step-by-step guide to mobile application development strategy
Nithya Sivakumar
 
10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps
10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps
10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps
BJ Fogg
 
BJ Fogg - The New Rules of Persuasion - Brussels 2009
BJ Fogg - The New Rules of Persuasion - Brussels 2009BJ Fogg - The New Rules of Persuasion - Brussels 2009
BJ Fogg - The New Rules of Persuasion - Brussels 2009
BJ Fogg
 

Viewers also liked (7)

Workshop on Sencha Touch - Part 3 - MVC in sencha touch
Workshop on Sencha Touch - Part 3 - MVC in sencha touchWorkshop on Sencha Touch - Part 3 - MVC in sencha touch
Workshop on Sencha Touch - Part 3 - MVC in sencha touch
 
Workshop on Sencha Touch - Part 4 - Views in sencha touch
Workshop on Sencha Touch - Part 4 - Views in sencha touchWorkshop on Sencha Touch - Part 4 - Views in sencha touch
Workshop on Sencha Touch - Part 4 - Views in sencha touch
 
Microservices session 1
Microservices session 1Microservices session 1
Microservices session 1
 
Workshop on Sencha Touch - Part 5 - UI components in sencha touch
Workshop on Sencha Touch - Part 5 - UI components in sencha touchWorkshop on Sencha Touch - Part 5 - UI components in sencha touch
Workshop on Sencha Touch - Part 5 - UI components in sencha touch
 
A step-by-step guide to mobile application development strategy
A step-by-step guide to mobile application development strategyA step-by-step guide to mobile application development strategy
A step-by-step guide to mobile application development strategy
 
10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps
10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps
10 Million In 10 Weeks -- What Stanford Learned Building Facebook Apps
 
BJ Fogg - The New Rules of Persuasion - Brussels 2009
BJ Fogg - The New Rules of Persuasion - Brussels 2009BJ Fogg - The New Rules of Persuasion - Brussels 2009
BJ Fogg - The New Rules of Persuasion - Brussels 2009
 

Similar to Workshop on Sencha Touch - Part 2 - First application in sencha touch

Case study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversionCase study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversion
Grey Matter India Technologies PVT LTD
 
iOS-iPhone documentation
iOS-iPhone documentationiOS-iPhone documentation
iOS-iPhone documentationRaj Dubey
 
Password security system for websites
Password security system for websitesPassword security system for websites
Password security system for websites
Mike Taylor
 
Development of Multiplatform CMS System with Zend Framework
Development of Multiplatform CMS System with Zend FrameworkDevelopment of Multiplatform CMS System with Zend Framework
Development of Multiplatform CMS System with Zend Framework
Sinisa Vukovic
 
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
Steve Drucker
 
Top 10 HTML5 frameworks for effective development in 2016
Top 10 HTML5 frameworks for effective development in 2016Top 10 HTML5 frameworks for effective development in 2016
Top 10 HTML5 frameworks for effective development in 2016
iMOBDEV Technologies Pvt. Ltd.
 
Phonegap android angualr material design
Phonegap android angualr material designPhonegap android angualr material design
Phonegap android angualr material design
Srinadh Kanugala
 
Getting started with ibm worklight tips
Getting started with ibm worklight tipsGetting started with ibm worklight tips
Getting started with ibm worklight tips
bupbechanhgmail
 
Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioMizanur Sarker
 
codeBeamer Eclipse DemoCamp-23.11.2010
codeBeamer Eclipse DemoCamp-23.11.2010codeBeamer Eclipse DemoCamp-23.11.2010
codeBeamer Eclipse DemoCamp-23.11.2010Intland Software GmbH
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpPrabhakar Manthena
 
Real-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet AppReal-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet App
Mike Taylor
 
SharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsSharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning Models
Shailen Sukul
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment Slides
Luke Angel
 
Cross Platform Mobile Technologies
Cross Platform Mobile TechnologiesCross Platform Mobile Technologies
Cross Platform Mobile Technologies
Talentica Software
 
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Grey Matter India Technologies PVT LTD
 
Top 10 Flutter App Tools To Know About In 2022.pptx
Top 10 Flutter App Tools To Know About In 2022.pptxTop 10 Flutter App Tools To Know About In 2022.pptx
Top 10 Flutter App Tools To Know About In 2022.pptx
Concetto Labs
 
JavaScript : One To Many
JavaScript : One To ManyJavaScript : One To Many
JavaScript : One To Many
Jamel Eddine Mejri
 

Similar to Workshop on Sencha Touch - Part 2 - First application in sencha touch (20)

Case study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversionCase study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversion
 
iOS-iPhone documentation
iOS-iPhone documentationiOS-iPhone documentation
iOS-iPhone documentation
 
Password security system for websites
Password security system for websitesPassword security system for websites
Password security system for websites
 
Development of Multiplatform CMS System with Zend Framework
Development of Multiplatform CMS System with Zend FrameworkDevelopment of Multiplatform CMS System with Zend Framework
Development of Multiplatform CMS System with Zend Framework
 
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
 
Shankar
ShankarShankar
Shankar
 
Top 10 HTML5 frameworks for effective development in 2016
Top 10 HTML5 frameworks for effective development in 2016Top 10 HTML5 frameworks for effective development in 2016
Top 10 HTML5 frameworks for effective development in 2016
 
Phonegap android angualr material design
Phonegap android angualr material designPhonegap android angualr material design
Phonegap android angualr material design
 
Getting started with ibm worklight tips
Getting started with ibm worklight tipsGetting started with ibm worklight tips
Getting started with ibm worklight tips
 
Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual Studio
 
codeBeamer Eclipse DemoCamp-23.11.2010
codeBeamer Eclipse DemoCamp-23.11.2010codeBeamer Eclipse DemoCamp-23.11.2010
codeBeamer Eclipse DemoCamp-23.11.2010
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wp
 
Real-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet AppReal-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet App
 
SharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsSharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning Models
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment Slides
 
Cross Platform Mobile Technologies
Cross Platform Mobile TechnologiesCross Platform Mobile Technologies
Cross Platform Mobile Technologies
 
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
 
Top 10 Flutter App Tools To Know About In 2022.pptx
Top 10 Flutter App Tools To Know About In 2022.pptxTop 10 Flutter App Tools To Know About In 2022.pptx
Top 10 Flutter App Tools To Know About In 2022.pptx
 
JavaScript : One To Many
JavaScript : One To ManyJavaScript : One To Many
JavaScript : One To Many
 

Workshop on Sencha Touch - Part 2 - First application in sencha touch

  • 1. FIRST APPLICATION IN SENCHA TOUCH - NITHYA 1
  • 2. What is Sencha Touch?  Sencha Touch enables you to quickly and easily create HTML5 based mobile apps that work on Android, iOS and Blackberry devices and produce a native-app-like experience inside a browser. © 2010, Cognizant Technology Solutions. Confidential 2
  • 3. Software Requirements  Mandatory: » A web server running locally on your computer » A modern web browser; Chrome and Safari are recommended » Downloaded Sencha Touch SDK  Optional: » SDE like Eclipse for J2EE » iOS SDK, Emulator » Android SDK, Emulator © 2010, Cognizant Technology Solutions. Confidential 3
  • 4. Application Structure  Single HTML File  One or more JS files  One of more CSS files © 2010, Cognizant Technology Solutions. Confidential 4 Project app controller model store view app.js data touch resources css css- debug sass themes icons images lib lib-debug lib- minified HTML- page
  • 5. Starting point in Sencha Touch Applications  Ext.setup() is the entry-point to initialize a Sencha Touch application.  This sets up the viewport, initializes the event system, instantiates a default animation runner, and a default logger (during development).  When all of that is ready, it invokes the callback function given to the onReady key. © 2010, Cognizant Technology Solutions. Confidential 5
  • 6.  If your application makes use of MVC architecture, use application instead.  Ext.application is used to create an application instance  Loads Ext.app.Application class and starts it up with given configuration after the page is ready © 2010, Cognizant Technology Solutions. Confidential 6 Starting point in Sencha Touch Applications - MVC
  • 7. Viewport  Ext.Viewport is a instance created when you use Ext.setup.  Because Ext.Viewport extends from Ext.Container, it has as layout (which defaults toExt.layout.Card). This means you can add items to it at any time, from anywhere in your code.  The Ext.Viewport fullscreen configuration is true by default, so it will take up your whole screen. © 2010, Cognizant Technology Solutions. Confidential 7
  • 8. Alternative to Viewport  By defining the fullscreen property on a component, it will automatically be added to the Viewport. © 2010, Cognizant Technology Solutions. Confidential 8