Upgrade to Pro — share decks privately, control downloads, hide ads and more …

An introduction to Sencha Touch

An introduction to Sencha Touch

A talk I gave at London Sencha Touch user group January 2012, giving a brief overview into Sencha Touch, what it can do for you and why and when you should be using it.

Patrick Hamann

January 27, 2012
Tweet

More Decks by Patrick Hamann

Other Decks in Technology

Transcript

  1. What we’ll be covering •What is Sencha Touch •What it

    can do for you •When and when not to use it •Tips Friday, 27 January 12
  2. A HTML5 Javascript framework •Built with open web standards •Utilising

    HTML5 Javascript API’s •Targeted at Mobile webkit: •iOS, Android, Blackberry and Palm •Write once, run everywhere •Plays nice with Phonegap Friday, 27 January 12
  3. Traditional vs Mobile application stack Rendering UI UI Business Storage

    UI UI Business Storage Security Storage Sync Friday, 27 January 12
  4. UI Toolkit UI Toolkit •Components - Lists, tabs, buttons, overlays

    •Touch events - Native, Event management, physics •Fully customisable and theme-able with SASS Friday, 27 January 12
  5. Application logic Application architecture •MVC - Model, view, controller •Ext4

    - Class system (Sencha Touch 2) •Extendable Friday, 27 January 12
  6. Storage Data everywhere! •Offline storage - in-memory, session or persistent

    local •Ajax and JSONP •RESTful Readers & Proxies Friday, 27 January 12
  7. Phonegap •Package for native deployment •Open source •WebUIView •Creates javascript

    access to native API’s •Camera, Sensors, file, network http://www.phonegap.com Friday, 27 January 12
  8. When can i use it? So when can i use

    it? Friday, 27 January 12
  9. Why you should •Cross-platform •Touch events and gestures •Data manipulation

    •Native experience •JS engines are getting fast, very fast Friday, 27 January 12
  10. Getting started •Read the documentation - it’s amazing •Ask in

    the forums •Read the source •Learn to love SASS •Test on mobiles, soon and often •Be an active member of this user group! Friday, 27 January 12
  11. Performance is key •Build tools - concatenate, minify & compress

    •Cache - appCache manifest, local data •Watch your DOM - destroy everything •Remove un-used library css Friday, 27 January 12