SlideShare uma empresa Scribd logo
1 de 54
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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

Mais procurados (7)

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

Destaque

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
 

Destaque (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
 

Semelhante a 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
 
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
 

Semelhante a YUIConf 2010, YUI3 and Mobile Web Development (18)

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
 
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?
 

Último

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 

Último (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

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