SlideShare ist ein Scribd-Unternehmen logo
1 von 54
Downloaden Sie, um offline zu lesen
A phone, a tablet and a
                            laptop walk into a bar...
                            YUI’s take on mobile web development
                                          tablet
                                          laptop
                                          desktop
                                          server
                                          refrigerator
Monday, December 20, 2010
1. Mobile and the philosophy of F2E
                   2. YUI 3 and the mobile web

                            a.   Capability-based loading
                            b.   Transitions
                            c.   Intrinsic support for Touch events
                            d.   ScrollView
                            e.   DD Touch support

                   3. Conclusion




Monday, December 20, 2010
Mobile and the philosophy of
                                    F2E




Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
What we love about this evolution*

                             The web is expanding its reach to
                                  new people and places

                    These are (mostly) modern, capable browsers

                            What F2Es do becomes more valuable

                                       *It’s so shiny


Monday, December 20, 2010
The                Aren’t
                                  Mobile Specific




Monday, December 20, 2010
The    Features    Aren’t
                                  Mobile Specific




Monday, December 20, 2010
The Constraints Aren’t
                                Mobile Specific




Monday, December 20, 2010
Monday, December 20, 2010
Touch
                            Gestures




Monday, December 20, 2010
Touch
                              Gestures

                             Transitions
                            Offline Cache
                              History

Monday, December 20, 2010
Monday, December 20, 2010
k-weight
                            run-time performance
                              screen real estate


Monday, December 20, 2010
The Environment
                            Is (Still) Not Homogeneous




Monday, December 20, 2010
•   Body text




Monday, December 20, 2010
•   Body text



         “All 10 mobile WebKits I’ve identified so far are subtly or
                            wildly different.”

        “Out of 19 tested WebKits, no two are exactly the same.”

                     “This is not consistency; it’s thinly veiled chaos.”



Monday, December 20, 2010
•   Body text




Monday, December 20, 2010
Monday, December 20, 2010
OK for docking stations (maybe)
                                    Not OK for the web




                     "Anyone who slaps a 'this page is best viewed with
                     Browser X' label on a Web page appears to be yearning
                     for the bad old days, before the Web, when you had
                     very little chance of reading a document written on
                     another computer, another word processor, or another
                     network."

                       --   Tim Berners-Lee in Technology Review, July 1996

Monday, December 20, 2010
"Anyone who slaps a 'this page is best viewed with
                     Browser X' label on a Web page appears to be yearning
                     for the bad old days, before the Web, when you had
                     very little chance of reading a document written on
                     another computer, another word processor, or another
                     network."

                       --   Tim Berners-Lee in Technology Review, July 1996

Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
Monday, December 20, 2010
YUI 3




Monday, December 20, 2010
YUI 3




Monday, December 20, 2010
YUI 3




Monday, December 20, 2010
YUI 3




Monday, December 20, 2010
Reach    Maintenance    Time
                                            to
                                          Market

Monday, December 20, 2010
YUI 3.2.0, our first step




Monday, December 20, 2010
YUI 3.2.0
                            •   Capability-based loading
                            •   Transitions
                            •   Touch/Mouse Gesture Abstractions
                            •   ScrollView Widget
                            •   Touch support for Drag and Drop
                            •   LocalStorage support in DataSource
                            •   HTML 5 support in History



Monday, December 20, 2010
Loading

                               Seed
                                • Small upfront download
                                • Free dependency resolution


                               Manual
                                • Single blocking request
                                • Manage your own dependencies




Monday, December 20, 2010
Capability Driven
                            Manual
                            use(“selector-native”, “transition-native”)



                            Loader
                            use(“dom-style”)

                                  ie: “dom-style”, “dom-style-ie”
                                 !ie: “dom-style”



Monday, December 20, 2010
And once you have it there...
                             Offline Cache It




Monday, December 20, 2010
Transitions

                 Tedious

                 •    node.style.WebkitTransitionProperty = 'left, top'
                 •    node.style.WebkitTransitionDuration = '1s, 2s'
                 •    node.style.WebkitTransitionTimingFunction = 'ease-out, ease-in'
                 •    node.style.top = ‘100px’
                 •    node.style.left = ‘200px’




Monday, December 20, 2010
Transitions

                     Cross-Browser Support

                     •      Vendor Prefixes
                             -webkit-transition-property: -webkit-transform
                             -moz-transition-property: -moz-transform

                     •      But, still only partial A-Grade support




Monday, December 20, 2010
YUI Transitions
                               node.transition({
                                 left: {
                                    duration: 1,
                                    easing: 'ease-out',
                                    value: ‘200px’
                                 },
                                 top: {
                                    duration: 2,
                                    easing: 'ease-in',
                                    value: ‘100px’
                                 }
                               });

Monday, December 20, 2010
YUI Transitions

                              Y.Transition.fx.fadeOut = {
                                 opacity:0,
                                 easing: “ease-out”
                              };

                              myNode.transition(“fadeOut”)




Monday, December 20, 2010
Touch Support
                            DragDrop         ScrollView

                  mouse           touch   mouse      touch




Monday, December 20, 2010
Touch Support
                            DragDrop                    ScrollView

                  mouse           touch              mouse      touch



                                          Gestures




Monday, December 20, 2010
Touch Support
                            DragDrop                      ScrollView

                  mouse             touch              mouse      touch



                                            Gestures

                             move

                  mouse             touch

Monday, December 20, 2010
Touch Support
                            DragDrop                      ScrollView




                                            Gestures

                             move                              flick

                  mouse             touch              mouse          touch

Monday, December 20, 2010
Touch Support
                            DragDrop                      ScrollView

                             move                      move



                                            Gestures

                             move                              flick

                  mouse             touch              mouse          touch

Monday, December 20, 2010
Touch Support
                            DragDrop                      ScrollView

                             move                      move           flick



                                            Gestures

                             move                              flick

                  mouse             touch              mouse          touch

Monday, December 20, 2010
[ demos ]




Monday, December 20, 2010
•    Abstraction layers provide future compatibility

                •    Code once, use anywhere

                •    F2E principles and practices still apply

                •    Supporting mobile browsers makes YUI better for all
                     browsers




Monday, December 20, 2010
Working Together




Monday, December 20, 2010
YUI Gallery
                            http://yuilibrary.com/gallery
                                                                               200


                                                                               150


                                                                               100


                                                                               50



                      02/2010 03/2010 04/2010                                  0
                                                05/2010    06/2010   07/2010

                                                 Modules

Monday, December 20, 2010
Satyen Desai
                            sdesai@yahoo-inc.com

                                    YUI




Monday, December 20, 2010

Weitere ähnliche Inhalte

Was ist angesagt?

5 mobile trends - Tommy Dejbjerg Pedersen, Miracle
5 mobile trends - Tommy Dejbjerg Pedersen, Miracle5 mobile trends - Tommy Dejbjerg Pedersen, Miracle
5 mobile trends - Tommy Dejbjerg Pedersen, MiracleSeismonaut
 
Good Practices on the Mobile Social Web
Good Practices on the Mobile Social WebGood Practices on the Mobile Social Web
Good Practices on the Mobile Social WebThe New School
 
Embedding 21st century new technologies in the primary/elementary classroom
Embedding 21st century new technologies in the primary/elementary classroomEmbedding 21st century new technologies in the primary/elementary classroom
Embedding 21st century new technologies in the primary/elementary classroomneilhopkin
 
Dean Allemang Semantic Web Basics
Dean Allemang Semantic Web BasicsDean Allemang Semantic Web Basics
Dean Allemang Semantic Web Basicsguest4543bb
 
Warsaw Poland 20-Oct-2011 on Open Government Linked Data
Warsaw Poland 20-Oct-2011 on Open Government Linked Data Warsaw Poland 20-Oct-2011 on Open Government Linked Data
Warsaw Poland 20-Oct-2011 on Open Government Linked Data Bernadette Hyland-Wood
 
Virtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speech
Virtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speechVirtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speech
Virtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speechHelene Zuili
 
Idiots guide to jquery
Idiots guide to jqueryIdiots guide to jquery
Idiots guide to jqueryMark Casias
 

Was ist angesagt? (8)

5 mobile trends - Tommy Dejbjerg Pedersen, Miracle
5 mobile trends - Tommy Dejbjerg Pedersen, Miracle5 mobile trends - Tommy Dejbjerg Pedersen, Miracle
5 mobile trends - Tommy Dejbjerg Pedersen, Miracle
 
Good Practices on the Mobile Social Web
Good Practices on the Mobile Social WebGood Practices on the Mobile Social Web
Good Practices on the Mobile Social Web
 
Embedding 21st century new technologies in the primary/elementary classroom
Embedding 21st century new technologies in the primary/elementary classroomEmbedding 21st century new technologies in the primary/elementary classroom
Embedding 21st century new technologies in the primary/elementary classroom
 
Us our Organizations and the Evolving Web v2
Us our Organizations and the Evolving Web  v2Us our Organizations and the Evolving Web  v2
Us our Organizations and the Evolving Web v2
 
Dean Allemang Semantic Web Basics
Dean Allemang Semantic Web BasicsDean Allemang Semantic Web Basics
Dean Allemang Semantic Web Basics
 
Warsaw Poland 20-Oct-2011 on Open Government Linked Data
Warsaw Poland 20-Oct-2011 on Open Government Linked Data Warsaw Poland 20-Oct-2011 on Open Government Linked Data
Warsaw Poland 20-Oct-2011 on Open Government Linked Data
 
Virtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speech
Virtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speechVirtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speech
Virtual Worlds for Knowledge Management - Makemyworlds Metameets 2010 speech
 
Idiots guide to jquery
Idiots guide to jqueryIdiots guide to jquery
Idiots guide to jquery
 

Andere mochten auch

Introducing YUI 3 AutoComplete
Introducing YUI 3 AutoCompleteIntroducing YUI 3 AutoComplete
Introducing YUI 3 AutoCompleteRyan Grove
 
การกำหนดการเชื่อมโยงสไลด์
การกำหนดการเชื่อมโยงสไลด์การกำหนดการเชื่อมโยงสไลด์
การกำหนดการเชื่อมโยงสไลด์Aon Chainarong
 
Business Coaching
Business  CoachingBusiness  Coaching
Business CoachingJon Baker
 
เทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายเทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายAon Chainarong
 
เทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายเทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายAon Chainarong
 
Stem Cell Presentation
Stem Cell PresentationStem Cell Presentation
Stem Cell PresentationRedpath
 
Plastic bags dengours for human
Plastic bags dengours for humanPlastic bags dengours for human
Plastic bags dengours for humanKamran Akhtar
 
ประวัติส่วนตัวที่น่ารู้ของ
ประวัติส่วนตัวที่น่ารู้ของประวัติส่วนตัวที่น่ารู้ของ
ประวัติส่วนตัวที่น่ารู้ของAon Chainarong
 
Rlling Background Presentation
Rlling Background PresentationRlling Background Presentation
Rlling Background PresentationJon Baker
 
เทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายเทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายAon Chainarong
 
Livestand : Learnings. YUI Conf 2011
Livestand : Learnings. YUI Conf 2011Livestand : Learnings. YUI Conf 2011
Livestand : Learnings. YUI Conf 2011sdezzi
 
Intro to grunt
Intro to gruntIntro to grunt
Intro to grunt春行 常
 
YUI 3 Loading Strategies - YUIConf2010
YUI 3 Loading Strategies - YUIConf2010YUI 3 Loading Strategies - YUIConf2010
YUI 3 Loading Strategies - YUIConf2010Caridy Patino
 
YUI 3: Below the Surface
YUI 3: Below the SurfaceYUI 3: Below the Surface
YUI 3: Below the SurfaceLuke Smith
 

Andere mochten auch (20)

Introducing YUI 3 AutoComplete
Introducing YUI 3 AutoCompleteIntroducing YUI 3 AutoComplete
Introducing YUI 3 AutoComplete
 
การกำหนดการเชื่อมโยงสไลด์
การกำหนดการเชื่อมโยงสไลด์การกำหนดการเชื่อมโยงสไลด์
การกำหนดการเชื่อมโยงสไลด์
 
K metrics
K metricsK metrics
K metrics
 
Business Coaching
Business  CoachingBusiness  Coaching
Business Coaching
 
เทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายเทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจาย
 
เทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายเทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจาย
 
Stem Cell Presentation
Stem Cell PresentationStem Cell Presentation
Stem Cell Presentation
 
Plastic bags dengours for human
Plastic bags dengours for humanPlastic bags dengours for human
Plastic bags dengours for human
 
ประวัติส่วนตัวที่น่ารู้ของ
ประวัติส่วนตัวที่น่ารู้ของประวัติส่วนตัวที่น่ารู้ของ
ประวัติส่วนตัวที่น่ารู้ของ
 
Llibertat power
Llibertat powerLlibertat power
Llibertat power
 
Rlling Background Presentation
Rlling Background PresentationRlling Background Presentation
Rlling Background Presentation
 
Happy first birthday, Rainmaker Consulting!
Happy first birthday, Rainmaker Consulting!Happy first birthday, Rainmaker Consulting!
Happy first birthday, Rainmaker Consulting!
 
เทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจายเทคนิคการทําภาพขอบจุดกระจาย
เทคนิคการทําภาพขอบจุดกระจาย
 
Goals suck
Goals suckGoals suck
Goals suck
 
Livestand : Learnings. YUI Conf 2011
Livestand : Learnings. YUI Conf 2011Livestand : Learnings. YUI Conf 2011
Livestand : Learnings. YUI Conf 2011
 
Intro to grunt
Intro to gruntIntro to grunt
Intro to grunt
 
500 Startups Tour
500 Startups Tour500 Startups Tour
500 Startups Tour
 
Photography
PhotographyPhotography
Photography
 
YUI 3 Loading Strategies - YUIConf2010
YUI 3 Loading Strategies - YUIConf2010YUI 3 Loading Strategies - YUIConf2010
YUI 3 Loading Strategies - YUIConf2010
 
YUI 3: Below the Surface
YUI 3: Below the SurfaceYUI 3: Below the Surface
YUI 3: Below the Surface
 

Ähnlich wie YUIConf 2010, YUI3 and Mobile Web Development

GateIn - Presented at Atlanta JUG on 1/19/2010
GateIn - Presented at Atlanta JUG on 1/19/2010GateIn - Presented at Atlanta JUG on 1/19/2010
GateIn - Presented at Atlanta JUG on 1/19/2010Wesley Hales
 
CSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp BostonCSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp BostonJen Simmons
 
通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具Dexter Yang
 
mobile + location based design
mobile + location based designmobile + location based design
mobile + location based designGeorge Hayes
 
Dojo Basics Js UserGroup Chicago
Dojo Basics Js UserGroup ChicagoDojo Basics Js UserGroup Chicago
Dojo Basics Js UserGroup Chicagowolframkriesing
 
Drupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloudDrupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloudTim O'Reilly
 
Agile Enterprise Devops and Cloud - Interop 2010 NYC
Agile Enterprise Devops and Cloud - Interop 2010 NYCAgile Enterprise Devops and Cloud - Interop 2010 NYC
Agile Enterprise Devops and Cloud - Interop 2010 NYCChef Software, Inc.
 
Go! Go! Gadgets. Writing an OpenSocial Application
Go! Go! Gadgets.  Writing an OpenSocial ApplicationGo! Go! Gadgets.  Writing an OpenSocial Application
Go! Go! Gadgets. Writing an OpenSocial ApplicationMark Halvorson
 
from Realtime Operating systems to unlocking iPhones in less than 30 slides
from Realtime Operating systems to unlocking iPhones in less than 30 slidesfrom Realtime Operating systems to unlocking iPhones in less than 30 slides
from Realtime Operating systems to unlocking iPhones in less than 30 slidesKai Aras
 
Responsive Design for the Web
Responsive Design for the WebResponsive Design for the Web
Responsive Design for the Webjonbuda
 
Mobile Device as a Smart Metering Display
Mobile Device as a Smart Metering DisplayMobile Device as a Smart Metering Display
Mobile Device as a Smart Metering DisplayAlexander Lobunets
 
Presentation to wdim_students
Presentation to wdim_studentsPresentation to wdim_students
Presentation to wdim_studentsScott Motte
 
Fixing The Media #Fleet09
Fixing The Media #Fleet09Fixing The Media #Fleet09
Fixing The Media #Fleet09Jo Caudron
 
A Match Made In The Cloud
A Match Made In The CloudA Match Made In The Cloud
A Match Made In The CloudChapter Three
 
We're not designing posters, here!
We're not designing posters, here!We're not designing posters, here!
We're not designing posters, here!André Luís
 
Muruca: Linked Data in Art History
Muruca: Linked Data in Art HistoryMuruca: Linked Data in Art History
Muruca: Linked Data in Art HistoryMichele Barbera
 
Wikis for Collaborative Learning
Wikis for Collaborative LearningWikis for Collaborative Learning
Wikis for Collaborative LearningP Parson
 
Internet of Things - Why should users care?
Internet of Things - Why should users care?Internet of Things - Why should users care?
Internet of Things - Why should users care?Jo Caudron
 

Ähnlich wie YUIConf 2010, YUI3 and Mobile Web Development (19)

GateIn - Presented at Atlanta JUG on 1/19/2010
GateIn - Presented at Atlanta JUG on 1/19/2010GateIn - Presented at Atlanta JUG on 1/19/2010
GateIn - Presented at Atlanta JUG on 1/19/2010
 
CSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp BostonCSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp Boston
 
通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具
 
mobile + location based design
mobile + location based designmobile + location based design
mobile + location based design
 
Dojo Basics Js UserGroup Chicago
Dojo Basics Js UserGroup ChicagoDojo Basics Js UserGroup Chicago
Dojo Basics Js UserGroup Chicago
 
Drupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloudDrupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloud
 
Agile Enterprise Devops and Cloud - Interop 2010 NYC
Agile Enterprise Devops and Cloud - Interop 2010 NYCAgile Enterprise Devops and Cloud - Interop 2010 NYC
Agile Enterprise Devops and Cloud - Interop 2010 NYC
 
Go! Go! Gadgets. Writing an OpenSocial Application
Go! Go! Gadgets.  Writing an OpenSocial ApplicationGo! Go! Gadgets.  Writing an OpenSocial Application
Go! Go! Gadgets. Writing an OpenSocial Application
 
from Realtime Operating systems to unlocking iPhones in less than 30 slides
from Realtime Operating systems to unlocking iPhones in less than 30 slidesfrom Realtime Operating systems to unlocking iPhones in less than 30 slides
from Realtime Operating systems to unlocking iPhones in less than 30 slides
 
Responsive Design for the Web
Responsive Design for the WebResponsive Design for the Web
Responsive Design for the Web
 
Mobile Device as a Smart Metering Display
Mobile Device as a Smart Metering DisplayMobile Device as a Smart Metering Display
Mobile Device as a Smart Metering Display
 
Presentation to wdim_students
Presentation to wdim_studentsPresentation to wdim_students
Presentation to wdim_students
 
Fixing The Media #Fleet09
Fixing The Media #Fleet09Fixing The Media #Fleet09
Fixing The Media #Fleet09
 
A Match Made In The Cloud
A Match Made In The CloudA Match Made In The Cloud
A Match Made In The Cloud
 
CSS3 now
CSS3 nowCSS3 now
CSS3 now
 
We're not designing posters, here!
We're not designing posters, here!We're not designing posters, here!
We're not designing posters, here!
 
Muruca: Linked Data in Art History
Muruca: Linked Data in Art HistoryMuruca: Linked Data in Art History
Muruca: Linked Data in Art History
 
Wikis for Collaborative Learning
Wikis for Collaborative LearningWikis for Collaborative Learning
Wikis for Collaborative Learning
 
Internet of Things - Why should users care?
Internet of Things - Why should users care?Internet of Things - Why should users care?
Internet of Things - Why should users care?
 

Kürzlich hochgeladen

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[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
 
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
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Kürzlich hochgeladen (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.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
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

YUIConf 2010, YUI3 and Mobile Web Development

  • 1. A phone, a tablet and a laptop walk into a bar... YUI’s take on mobile web development tablet laptop desktop server refrigerator Monday, December 20, 2010
  • 2. 1. Mobile and the philosophy of F2E 2. YUI 3 and the mobile web a. Capability-based loading b. Transitions c. Intrinsic support for Touch events d. ScrollView e. DD Touch support 3. Conclusion Monday, December 20, 2010
  • 3. Mobile and the philosophy of F2E Monday, December 20, 2010
  • 9. What we love about this evolution* The web is expanding its reach to new people and places These are (mostly) modern, capable browsers What F2Es do becomes more valuable *It’s so shiny Monday, December 20, 2010
  • 10. The Aren’t Mobile Specific Monday, December 20, 2010
  • 11. The Features Aren’t Mobile Specific Monday, December 20, 2010
  • 12. The Constraints Aren’t Mobile Specific Monday, December 20, 2010
  • 14. Touch Gestures Monday, December 20, 2010
  • 15. Touch Gestures Transitions Offline Cache History Monday, December 20, 2010
  • 17. k-weight run-time performance screen real estate Monday, December 20, 2010
  • 18. The Environment Is (Still) Not Homogeneous Monday, December 20, 2010
  • 19. Body text Monday, December 20, 2010
  • 20. Body text “All 10 mobile WebKits I’ve identified so far are subtly or wildly different.” “Out of 19 tested WebKits, no two are exactly the same.” “This is not consistency; it’s thinly veiled chaos.” Monday, December 20, 2010
  • 21. Body text Monday, December 20, 2010
  • 23. OK for docking stations (maybe) Not OK for the web "Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network."   -- Tim Berners-Lee in Technology Review, July 1996 Monday, December 20, 2010
  • 24. "Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network."   -- Tim Berners-Lee in Technology Review, July 1996 Monday, December 20, 2010
  • 34. Reach Maintenance Time to Market Monday, December 20, 2010
  • 35. YUI 3.2.0, our first step Monday, December 20, 2010
  • 36. YUI 3.2.0 • Capability-based loading • Transitions • Touch/Mouse Gesture Abstractions • ScrollView Widget • Touch support for Drag and Drop • LocalStorage support in DataSource • HTML 5 support in History Monday, December 20, 2010
  • 37. Loading Seed • Small upfront download • Free dependency resolution Manual • Single blocking request • Manage your own dependencies Monday, December 20, 2010
  • 38. Capability Driven Manual use(“selector-native”, “transition-native”) Loader use(“dom-style”) ie: “dom-style”, “dom-style-ie” !ie: “dom-style” Monday, December 20, 2010
  • 39. And once you have it there... Offline Cache It Monday, December 20, 2010
  • 40. Transitions Tedious • node.style.WebkitTransitionProperty = 'left, top' • node.style.WebkitTransitionDuration = '1s, 2s' • node.style.WebkitTransitionTimingFunction = 'ease-out, ease-in' • node.style.top = ‘100px’ • node.style.left = ‘200px’ Monday, December 20, 2010
  • 41. Transitions Cross-Browser Support • Vendor Prefixes -webkit-transition-property: -webkit-transform -moz-transition-property: -moz-transform • But, still only partial A-Grade support Monday, December 20, 2010
  • 42. YUI Transitions node.transition({ left: { duration: 1, easing: 'ease-out', value: ‘200px’ }, top: { duration: 2, easing: 'ease-in', value: ‘100px’ } }); Monday, December 20, 2010
  • 43. YUI Transitions Y.Transition.fx.fadeOut = { opacity:0, easing: “ease-out” }; myNode.transition(“fadeOut”) Monday, December 20, 2010
  • 44. Touch Support DragDrop ScrollView mouse touch mouse touch Monday, December 20, 2010
  • 45. Touch Support DragDrop ScrollView mouse touch mouse touch Gestures Monday, December 20, 2010
  • 46. Touch Support DragDrop ScrollView mouse touch mouse touch Gestures move mouse touch Monday, December 20, 2010
  • 47. Touch Support DragDrop ScrollView Gestures move flick mouse touch mouse touch Monday, December 20, 2010
  • 48. Touch Support DragDrop ScrollView move move Gestures move flick mouse touch mouse touch Monday, December 20, 2010
  • 49. Touch Support DragDrop ScrollView move move flick Gestures move flick mouse touch mouse touch Monday, December 20, 2010
  • 50. [ demos ] Monday, December 20, 2010
  • 51. Abstraction layers provide future compatibility • Code once, use anywhere • F2E principles and practices still apply • Supporting mobile browsers makes YUI better for all browsers Monday, December 20, 2010
  • 53. YUI Gallery http://yuilibrary.com/gallery 200 150 100 50 02/2010 03/2010 04/2010 0 05/2010 06/2010 07/2010 Modules Monday, December 20, 2010
  • 54. Satyen Desai sdesai@yahoo-inc.com YUI Monday, December 20, 2010