SlideShare une entreprise Scribd logo
1  sur  70
Télécharger pour lire hors ligne
About us
#WIN




                 -Danny Winokur, Adobe’s vice president and general manager of interactive development



http://bits.blogs.nytimes.com/2011/11/09/adobe-to-kill-mobile-flash-focus-on-html5/
What is Sencha Touch
• Thefirst and best mobile-
 centric HTML 5 framework

• Providesthe foundation to
 develop kick ass cross
 platform mobile Web apps

• Built
      on the best Web
 Standards

• 2.0   is killing it!
New to Sencha Touch 2.0

• Improved    Class system (from Ext JS 4.0)

• Faster   layouts

• Faster   startup speed

• Smoother     scrolling

• Updated    rendering process
New to Sencha Touch 2.0

• DataView    can render components

• Way    better documentation

• High   quality examples

• Updated   MVC
A peek under the hood
• Full   Component lifecycle
• Well    designed class inheritance model
• Observable    event model
  • Components      and elements
• Elaborate   Container model
• Configureable     layout managers
Robust class system

• Simple   class registration
                                        Ext.Base
• Automatic    Name Spacing
                                Mixin              Mixin
• Class   dependency system
• Dynamic    class loading              MyClass
The SenchaCon app team

Development      Design
The SenchaCon app team

Development      Design
The SenchaCon app team

Development      Design
The SenchaCon app team

Development      Design
The SenchaCon app team

Development      Design
The SenchaCon app supporters

Web API   Sencha Engineers
The SenchaCon app supporters

Web API   Sencha Engineers
The SenchaCon app supporters

Web API   Sencha Engineers
The SenchaCon app supporters

Web API   Sencha Engineers
The SenchaCon app supporters

Web API   Sencha Engineers
The SenchaCon app supporters

Web API   Sencha Engineers
The SenchaCon app


• Uses   Sencha Touch 2

 • 35    classes

 • Takes    advantage of Ext Loader (debug)

 • Implements      MVC (extensively!)
The SenchaCon app


• Uses   Sencha Touch 2

 • 35    classes

 • Takes    advantage of Ext Loader (debug)

 • Implements      MVC (extensively!)
The SenchaCon app


• Leverages   Local Storage

• Uses   app cache (offline storage)

• Implements   ComponentQuery

 • Not    a single component with a static id!
The SenchaCon app
The SenchaCon app
• Highly
       optimized custom
 components

• Reusability
           kept in mind
 throughout code base

• Code developed with
 minification in mind

• Minified   with Sencha SDK Tools
 2.0
Breaking the ice
• Develop   individual views & models in their own
 sandbox

 • Views    should work independently

 • One    HTML file per view for testing

 • Test   fired events via Webkit console

• Allowed   for us to divide and conquer
Pass #1
• Initial   development done in Sencha touch 1.0

• Used      MVC

  • Router

  • History

  • Best     practices for extending components

• Paved     the way for the Sencha Touch 2.0 migration
Enter Sencha Touch 2!
Migrate to the new class system
Migrate to the new class system
Sencha Touch 2.0 migration

• Change   the namespace to match the new MVC pattern

 • Views

 • Models

 • Controllers

 • Utilities
Quick MVC thoughts

• Controller   is at the center
                                          Controller
• Controllersubscribes to events
 from the view

• Controller   updates the model
                                   View                Model
• Model   drives the view
Quick MVC thoughts
                                               App
                                             Controller
• Application   extends Controller!

• Controllers can talk to the
 application via events or direct            Controller
 methods calls


                                      View                Model
Multi-controller application
                          App
                        Controller




       Controller                           Controller




View                Model            View                Model
The class architecture


      Data
                  Util
     Manager                                              App




                          Schedule         Sessions             Session         Speakers             Speaker
Viewport       NavBar
                           Panel             List                Detail           List                Detail


                          Schedule   Sessions                   Session   Speakers                   Speaker
Viewport       NavBar                                 Session                              Speaker
                           Panel       List                      Detail     List                      Detail
Building the Viewport
           App




      Viewport




Viewport         History
                  store
Building navigation

                  App




      Viewport          NavBar



Viewport     History    NavBar
              store
Adding the schedule panel
                          App




                                    Schedule
     Viewport              NavBar
                                     Panel


                History             Schedule
Viewport                   NavBar
                 store               Panel
Adding the sessions list
                    App




                    Schedule        Sessions
Viewport   NavBar
                     Panel            List


                    Schedule   Sessions
Viewport   NavBar                          Session
                     Panel       List
Adding the schedule panel

                         App




                    Schedule         Sessions             Session
Viewport   NavBar
                     Panel             List                Detail


                    Schedule   Sessions                   Session
Viewport   NavBar                               Session
                     Panel       List                      Detail
A highly optimized view!
Adding session speaker details

                                      App




                    Schedule         Sessions             Session         Speaker
Viewport   NavBar
                     Panel             List                Detail          Detail


                    Schedule   Sessions                   Session   Speaker
Viewport   NavBar                               Session                             Speaker
                     Panel       List                      Detail    Detail
Adding session speaker details
Adding session speaker details


                                                    App




                    Schedule         Sessions             Session         Speakers             Speaker
Viewport   NavBar
                     Panel             List                Detail           List                Detail


                    Schedule   Sessions                   Session   Speakers                   Speaker
Viewport   NavBar                               Session                              Speaker
                     Panel       List                      Detail     List                      Detail
Questions?
• Contact   info:

 • twitter:

 • @moduscreate
                         Thank you!
 • @_jdg

 • jay@moduscreate.com

Contenu connexe

En vedette

Local Undocumented Migration Policy in the Municipality of Utrecht
Local Undocumented Migration Policy in the Municipality of UtrechtLocal Undocumented Migration Policy in the Municipality of Utrecht
Local Undocumented Migration Policy in the Municipality of UtrechtThomas Jézéquel
 
Work in progress
Work in progressWork in progress
Work in progressPaolo Casti
 
Importance of pdhpe
Importance of pdhpeImportance of pdhpe
Importance of pdhpeRoselyn Nand
 
Curs Adobe Photoshop CS5 incepatori - 00 - Curs introductiv
Curs Adobe Photoshop CS5  incepatori - 00 - Curs introductivCurs Adobe Photoshop CS5  incepatori - 00 - Curs introductiv
Curs Adobe Photoshop CS5 incepatori - 00 - Curs introductivCursurile Varilogic
 
LA ATENCION
LA ATENCIONLA ATENCION
LA ATENCIONCSG
 
Noosagoals elevator pitch
Noosagoals   elevator pitchNoosagoals   elevator pitch
Noosagoals elevator pitchnoosagoals
 

En vedette (11)

Local Undocumented Migration Policy in the Municipality of Utrecht
Local Undocumented Migration Policy in the Municipality of UtrechtLocal Undocumented Migration Policy in the Municipality of Utrecht
Local Undocumented Migration Policy in the Municipality of Utrecht
 
Rvrsit
RvrsitRvrsit
Rvrsit
 
Work in progress
Work in progressWork in progress
Work in progress
 
Importance of pdhpe
Importance of pdhpeImportance of pdhpe
Importance of pdhpe
 
Writing at fontbonne
Writing at fontbonneWriting at fontbonne
Writing at fontbonne
 
Discover Music
Discover MusicDiscover Music
Discover Music
 
Inforln.com ERP LN 10.3 & 10.4 Configurable Contract Deliverables Enhancements
Inforln.com ERP LN 10.3 & 10.4 Configurable Contract Deliverables EnhancementsInforln.com ERP LN 10.3 & 10.4 Configurable Contract Deliverables Enhancements
Inforln.com ERP LN 10.3 & 10.4 Configurable Contract Deliverables Enhancements
 
Quản trị chiến lược chuẩn
Quản trị chiến lược chuẩnQuản trị chiến lược chuẩn
Quản trị chiến lược chuẩn
 
Curs Adobe Photoshop CS5 incepatori - 00 - Curs introductiv
Curs Adobe Photoshop CS5  incepatori - 00 - Curs introductivCurs Adobe Photoshop CS5  incepatori - 00 - Curs introductiv
Curs Adobe Photoshop CS5 incepatori - 00 - Curs introductiv
 
LA ATENCION
LA ATENCIONLA ATENCION
LA ATENCION
 
Noosagoals elevator pitch
Noosagoals   elevator pitchNoosagoals   elevator pitch
Noosagoals elevator pitch
 

Similaire à Intro to sencha touch 2

Introducing Ext JS 4
Introducing Ext JS 4Introducing Ext JS 4
Introducing Ext JS 4Sencha
 
2 rft simplified_scripting_shinoj_z
2 rft simplified_scripting_shinoj_z2 rft simplified_scripting_shinoj_z
2 rft simplified_scripting_shinoj_zIBM
 
RFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj ZRFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj ZRoopa Nadkarni
 
SF DevOps: Introducing Vagrant
SF DevOps: Introducing VagrantSF DevOps: Introducing Vagrant
SF DevOps: Introducing VagrantMitchell Hashimoto
 
Griffon In Front Grails In Back
Griffon In Front Grails In BackGriffon In Front Grails In Back
Griffon In Front Grails In BackJim Shingler
 
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...Atlassian
 
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...Atlassian
 
SharePoint 2010 as a Development Platform
SharePoint 2010 as a Development PlatformSharePoint 2010 as a Development Platform
SharePoint 2010 as a Development PlatformAyman El-Hattab
 
Cake php concept to deployment
Cake php concept to deploymentCake php concept to deployment
Cake php concept to deploymentilsanbao
 
Cake php 1 3 concept to deployment presentation
Cake php 1 3 concept to deployment presentationCake php 1 3 concept to deployment presentation
Cake php 1 3 concept to deployment presentationlaminbarrow
 
Azure functions
Azure functionsAzure functions
Azure functionsvivek p s
 
The story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps EngineerThe story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps EngineerManu Pk
 
Kubernetes_Webinar_Slide_Deck.pdf
Kubernetes_Webinar_Slide_Deck.pdfKubernetes_Webinar_Slide_Deck.pdf
Kubernetes_Webinar_Slide_Deck.pdfAuliaFebrian2
 
ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (tools)ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (tools)Eugenio Minardi
 
Composing Music in the Cloud
Composing Music in the CloudComposing Music in the Cloud
Composing Music in the CloudCodemotion
 
Introduction to Neuron ESB 3.7
Introduction to Neuron ESB 3.7Introduction to Neuron ESB 3.7
Introduction to Neuron ESB 3.7StephenKardian
 
Introduction to neuron ESB
Introduction to neuron ESBIntroduction to neuron ESB
Introduction to neuron ESBLindsey Leggio
 
Third review presentation
Third review presentationThird review presentation
Third review presentationArvind Krishnaa
 
Introducing ONAP for OpenStack St Louis Meetup
Introducing ONAP for OpenStack St Louis MeetupIntroducing ONAP for OpenStack St Louis Meetup
Introducing ONAP for OpenStack St Louis Meetupdjzook
 

Similaire à Intro to sencha touch 2 (20)

Introducing Ext JS 4
Introducing Ext JS 4Introducing Ext JS 4
Introducing Ext JS 4
 
2 rft simplified_scripting_shinoj_z
2 rft simplified_scripting_shinoj_z2 rft simplified_scripting_shinoj_z
2 rft simplified_scripting_shinoj_z
 
RFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj ZRFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj Z
 
SF DevOps: Introducing Vagrant
SF DevOps: Introducing VagrantSF DevOps: Introducing Vagrant
SF DevOps: Introducing Vagrant
 
Griffon In Front Grails In Back
Griffon In Front Grails In BackGriffon In Front Grails In Back
Griffon In Front Grails In Back
 
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
 
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
 
SharePoint 2010 as a Development Platform
SharePoint 2010 as a Development PlatformSharePoint 2010 as a Development Platform
SharePoint 2010 as a Development Platform
 
Cake php concept to deployment
Cake php concept to deploymentCake php concept to deployment
Cake php concept to deployment
 
Cake php 1 3 concept to deployment presentation
Cake php 1 3 concept to deployment presentationCake php 1 3 concept to deployment presentation
Cake php 1 3 concept to deployment presentation
 
Azure functions
Azure functionsAzure functions
Azure functions
 
The story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps EngineerThe story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps Engineer
 
Kubernetes_Webinar_Slide_Deck.pdf
Kubernetes_Webinar_Slide_Deck.pdfKubernetes_Webinar_Slide_Deck.pdf
Kubernetes_Webinar_Slide_Deck.pdf
 
ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (tools)ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (tools)
 
Composing Music in the Cloud
Composing Music in the CloudComposing Music in the Cloud
Composing Music in the Cloud
 
Introduction to Neuron ESB 3.7
Introduction to Neuron ESB 3.7Introduction to Neuron ESB 3.7
Introduction to Neuron ESB 3.7
 
Introduction to neuron ESB
Introduction to neuron ESBIntroduction to neuron ESB
Introduction to neuron ESB
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
Third review presentation
Third review presentationThird review presentation
Third review presentation
 
Introducing ONAP for OpenStack St Louis Meetup
Introducing ONAP for OpenStack St Louis MeetupIntroducing ONAP for OpenStack St Louis Meetup
Introducing ONAP for OpenStack St Louis Meetup
 

Plus de Patrick Sheridan

5 new rules for product development
5 new rules for product development5 new rules for product development
5 new rules for product developmentPatrick Sheridan
 
SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch Patrick Sheridan
 
SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch Patrick Sheridan
 
SenchaCon: Sencha Touch Custom Components
SenchaCon: Sencha Touch Custom Components SenchaCon: Sencha Touch Custom Components
SenchaCon: Sencha Touch Custom Components Patrick Sheridan
 
Javascript Performance Tricks
Javascript Performance TricksJavascript Performance Tricks
Javascript Performance TricksPatrick Sheridan
 
Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...
Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...
Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...Patrick Sheridan
 
Ext JS 4.0 components and layouts
Ext JS 4.0 components and layoutsExt JS 4.0 components and layouts
Ext JS 4.0 components and layoutsPatrick Sheridan
 
Javascript classes and scoping
Javascript classes and scopingJavascript classes and scoping
Javascript classes and scopingPatrick Sheridan
 
Ext JS 4.0 - Creating extensions, plugins and components
Ext JS 4.0 - Creating extensions, plugins and componentsExt JS 4.0 - Creating extensions, plugins and components
Ext JS 4.0 - Creating extensions, plugins and componentsPatrick Sheridan
 
Modus Create Corporate Capabilities
Modus Create Corporate CapabilitiesModus Create Corporate Capabilities
Modus Create Corporate CapabilitiesPatrick Sheridan
 

Plus de Patrick Sheridan (15)

5 new rules for product development
5 new rules for product development5 new rules for product development
5 new rules for product development
 
SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch
 
SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch SenchaCon: DJing with Sencha Touch
SenchaCon: DJing with Sencha Touch
 
SenchaCon: Sencha Touch Custom Components
SenchaCon: Sencha Touch Custom Components SenchaCon: Sencha Touch Custom Components
SenchaCon: Sencha Touch Custom Components
 
Sencha Touch in Action
Sencha Touch in Action Sencha Touch in Action
Sencha Touch in Action
 
Web audio app preso
Web audio app presoWeb audio app preso
Web audio app preso
 
Javascript Performance Tricks
Javascript Performance TricksJavascript Performance Tricks
Javascript Performance Tricks
 
ExtJS Forms
ExtJS FormsExtJS Forms
ExtJS Forms
 
HTML5 and Sencha Touch
HTML5 and Sencha TouchHTML5 and Sencha Touch
HTML5 and Sencha Touch
 
Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...
Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...
Using Data Visualization to Create Rich Content Experiences - MarkLogic Webin...
 
Ext JS 4.0 components and layouts
Ext JS 4.0 components and layoutsExt JS 4.0 components and layouts
Ext JS 4.0 components and layouts
 
Javascript classes and scoping
Javascript classes and scopingJavascript classes and scoping
Javascript classes and scoping
 
Ext JS 4.0 - Creating extensions, plugins and components
Ext JS 4.0 - Creating extensions, plugins and componentsExt JS 4.0 - Creating extensions, plugins and components
Ext JS 4.0 - Creating extensions, plugins and components
 
JavaScript Secrets
JavaScript SecretsJavaScript Secrets
JavaScript Secrets
 
Modus Create Corporate Capabilities
Modus Create Corporate CapabilitiesModus Create Corporate Capabilities
Modus Create Corporate Capabilities
 

Dernier

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Dernier (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

Intro to sencha touch 2

  • 1.
  • 3. #WIN -Danny Winokur, Adobe’s vice president and general manager of interactive development http://bits.blogs.nytimes.com/2011/11/09/adobe-to-kill-mobile-flash-focus-on-html5/
  • 4. What is Sencha Touch • Thefirst and best mobile- centric HTML 5 framework • Providesthe foundation to develop kick ass cross platform mobile Web apps • Built on the best Web Standards • 2.0 is killing it!
  • 5. New to Sencha Touch 2.0 • Improved Class system (from Ext JS 4.0) • Faster layouts • Faster startup speed • Smoother scrolling • Updated rendering process
  • 6. New to Sencha Touch 2.0 • DataView can render components • Way better documentation • High quality examples • Updated MVC
  • 7. A peek under the hood • Full Component lifecycle • Well designed class inheritance model • Observable event model • Components and elements • Elaborate Container model • Configureable layout managers
  • 8. Robust class system • Simple class registration Ext.Base • Automatic Name Spacing Mixin Mixin • Class dependency system • Dynamic class loading MyClass
  • 9. The SenchaCon app team Development Design
  • 10. The SenchaCon app team Development Design
  • 11. The SenchaCon app team Development Design
  • 12. The SenchaCon app team Development Design
  • 13. The SenchaCon app team Development Design
  • 14. The SenchaCon app supporters Web API Sencha Engineers
  • 15. The SenchaCon app supporters Web API Sencha Engineers
  • 16. The SenchaCon app supporters Web API Sencha Engineers
  • 17. The SenchaCon app supporters Web API Sencha Engineers
  • 18. The SenchaCon app supporters Web API Sencha Engineers
  • 19. The SenchaCon app supporters Web API Sencha Engineers
  • 20. The SenchaCon app • Uses Sencha Touch 2 • 35 classes • Takes advantage of Ext Loader (debug) • Implements MVC (extensively!)
  • 21. The SenchaCon app • Uses Sencha Touch 2 • 35 classes • Takes advantage of Ext Loader (debug) • Implements MVC (extensively!)
  • 22. The SenchaCon app • Leverages Local Storage • Uses app cache (offline storage) • Implements ComponentQuery • Not a single component with a static id!
  • 24. The SenchaCon app • Highly optimized custom components • Reusability kept in mind throughout code base • Code developed with minification in mind • Minified with Sencha SDK Tools 2.0
  • 25. Breaking the ice • Develop individual views & models in their own sandbox • Views should work independently • One HTML file per view for testing • Test fired events via Webkit console • Allowed for us to divide and conquer
  • 26. Pass #1 • Initial development done in Sencha touch 1.0 • Used MVC • Router • History • Best practices for extending components • Paved the way for the Sencha Touch 2.0 migration
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 33. Migrate to the new class system
  • 34. Migrate to the new class system
  • 35. Sencha Touch 2.0 migration • Change the namespace to match the new MVC pattern • Views • Models • Controllers • Utilities
  • 36. Quick MVC thoughts • Controller is at the center Controller • Controllersubscribes to events from the view • Controller updates the model View Model • Model drives the view
  • 37. Quick MVC thoughts App Controller • Application extends Controller! • Controllers can talk to the application via events or direct Controller methods calls View Model
  • 38. Multi-controller application App Controller Controller Controller View Model View Model
  • 39. The class architecture Data Util Manager App Schedule Sessions Session Speakers Speaker Viewport NavBar Panel List Detail List Detail Schedule Sessions Session Speakers Speaker Viewport NavBar Session Speaker Panel List Detail List Detail
  • 40.
  • 41.
  • 42.
  • 43. Building the Viewport App Viewport Viewport History store
  • 44.
  • 45.
  • 46.
  • 47.
  • 48. Building navigation App Viewport NavBar Viewport History NavBar store
  • 49.
  • 50.
  • 51. Adding the schedule panel App Schedule Viewport NavBar Panel History Schedule Viewport NavBar store Panel
  • 52.
  • 53.
  • 54.
  • 55. Adding the sessions list App Schedule Sessions Viewport NavBar Panel List Schedule Sessions Viewport NavBar Session Panel List
  • 56.
  • 57.
  • 58.
  • 59. Adding the schedule panel App Schedule Sessions Session Viewport NavBar Panel List Detail Schedule Sessions Session Viewport NavBar Session Panel List Detail
  • 61.
  • 62.
  • 63.
  • 64.
  • 65. Adding session speaker details App Schedule Sessions Session Speaker Viewport NavBar Panel List Detail Detail Schedule Sessions Session Speaker Viewport NavBar Session Speaker Panel List Detail Detail
  • 67.
  • 68.
  • 69. Adding session speaker details App Schedule Sessions Session Speakers Speaker Viewport NavBar Panel List Detail List Detail Schedule Sessions Session Speakers Speaker Viewport NavBar Session Speaker Panel List Detail List Detail
  • 70. Questions? • Contact info: • twitter: • @moduscreate Thank you! • @_jdg • jay@moduscreate.com