SlideShare ist ein Scribd-Unternehmen logo
1 von 70
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 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