SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Extended Slow Parts
HTML 5 meets browsers
Francesco Fullone
ff AT ideato.it
Who am I?
Francesco Fullone aka Fullo
- PHP developer since 1999
- President
- and Open Source Evangelist
- CEO @
- Nerd and geek
Did you attend the
“Please, don't touch
the slow parts”
speech?
We introduced
the frontend
performance problem.
It's time to
make evolve
that speech!
Let's introduce HTML5
It is not a
“revolution”
it will be ready
for 2012
(but not fully supported until
2020)
HTML5
Right now there is some
confusion on what should
works.
HTML 5 state of art
But we don't care,
we are brave
developers.
DEV
And we want to
know which
parts
“we can touch”
do less requests
place the parts in
the right places
reduce the data
Repeat the learned lessons:
http://www.flickr.com/photos/seetefl/4111987480
do less request:
Use cache manifest for live
sites, not just offline apps
do less request:
use web storage
instead of cookies
http://www.flickr.com/photos/betsyweber/4962298614/
do less request:
Use client-side databases
instead of server roundtrips
reduce the (transmitted) data:
WebSockets for
faster delivery with
less bandwidth
than XHR
http://www.flickr.com/photos/exalthim/1594948378/
reduce the (transmitted) data:
Use CSS3 effects instead of
requesting heavy image sprites
(and save designers from an headache every time they have to update it)
http://www.flickr.com/photos/elderleaf/1395164209
place the parts in the right places:
For CPU-heavy
operations:
Web Workers deliverhttp://www.flickr.com/photos/osde-info/2261186236
place the parts in the right
places:
Use CSS Transitions
instead of
JavaScript animation
.classname {
-webkit-transition:All 1s ease;
-moz-transition:All 1s ease;
-o-transition:All 1s ease;
-webkit-transform: rotate(4deg) scale(1) skew(1deg)
translate(10px);
-moz-transform: rotate(4deg) scale(1) skew(1deg)
translate(10px);
-o-transform: rotate(4deg) scale(1) skew(1deg)
translate(10px);
}
.classname:hover{
-webkit-transform: rotate(0deg) scale(0.67)
skew(1deg) translate(0px);
-moz-transform: rotate(0deg) scale(0.67)
skew(1deg) translate(0px);
-o-transform: rotate(0deg) scale(0.67) skew(1deg)
translate(0px);
}
Don't forget the
main lesson!
Everything's a tradeoff
?
phpDay 2011
12-14 Maggio 2011
www.phpday.it
via Quinto Bucci 205
47023 Cesena (FC)
info AT ideato.it
www.ideato.it
rate this talk: http://joind.in/2121

Mais conteúdo relacionado

Mais procurados

Joomla Creative Inside Joomla Templates And Design
Joomla Creative   Inside Joomla Templates And DesignJoomla Creative   Inside Joomla Templates And Design
Joomla Creative Inside Joomla Templates And Design
joomladex
 

Mais procurados (14)

Joomla Day MN 2014 - Brad Markle
Joomla Day MN 2014 - Brad MarkleJoomla Day MN 2014 - Brad Markle
Joomla Day MN 2014 - Brad Markle
 
10 common mistakes WordPress developers make when building multilingual sites
10 common mistakes WordPress developers make when building multilingual sites10 common mistakes WordPress developers make when building multilingual sites
10 common mistakes WordPress developers make when building multilingual sites
 
Top Reasons Why PHP Will Conquer The World
Top Reasons Why PHP Will Conquer The WorldTop Reasons Why PHP Will Conquer The World
Top Reasons Why PHP Will Conquer The World
 
Webtools
Webtools Webtools
Webtools
 
Firefox OS Application Development
Firefox OS Application DevelopmentFirefox OS Application Development
Firefox OS Application Development
 
Joomla Creative Inside Joomla Templates And Design
Joomla Creative   Inside Joomla Templates And DesignJoomla Creative   Inside Joomla Templates And Design
Joomla Creative Inside Joomla Templates And Design
 
Website Design Dos and Don’ts for a Successful Online Presence
Website Design Dos and Don’ts  for a Successful Online PresenceWebsite Design Dos and Don’ts  for a Successful Online Presence
Website Design Dos and Don’ts for a Successful Online Presence
 
WordPress Plugin - Chameleon
WordPress Plugin - ChameleonWordPress Plugin - Chameleon
WordPress Plugin - Chameleon
 
Learning Joomla! in a weekend (for developers)
Learning Joomla! in a weekend (for developers)Learning Joomla! in a weekend (for developers)
Learning Joomla! in a weekend (for developers)
 
Thinkful DC FrontEnd Crash Course - HTML & CSS
Thinkful DC FrontEnd Crash Course - HTML & CSSThinkful DC FrontEnd Crash Course - HTML & CSS
Thinkful DC FrontEnd Crash Course - HTML & CSS
 
Craptioning to captions how to
Craptioning  to captions how toCraptioning  to captions how to
Craptioning to captions how to
 
Beyond responsive design - UI for the modern web application - Pete Smith - C...
Beyond responsive design - UI for the modern web application - Pete Smith - C...Beyond responsive design - UI for the modern web application - Pete Smith - C...
Beyond responsive design - UI for the modern web application - Pete Smith - C...
 
PhoneGap/Cordova
PhoneGap/CordovaPhoneGap/Cordova
PhoneGap/Cordova
 
Going native with html5 web components
Going native with html5 web componentsGoing native with html5 web components
Going native with html5 web components
 

Destaque

Jacopo Romei: Abbattere i rischi di insuccesso con Extreme Programming
Jacopo Romei: Abbattere i rischi di insuccesso con Extreme ProgrammingJacopo Romei: Abbattere i rischi di insuccesso con Extreme Programming
Jacopo Romei: Abbattere i rischi di insuccesso con Extreme Programming
Francesco Fullone
 
Andrea Giorgini: Implementazione di un online-shop con Typo3
Andrea Giorgini: Implementazione di un online-shop con Typo3Andrea Giorgini: Implementazione di un online-shop con Typo3
Andrea Giorgini: Implementazione di un online-shop con Typo3
Francesco Fullone
 
Open Source in the web enterprise world a secure success
Open Source in the web enterprise world a secure successOpen Source in the web enterprise world a secure success
Open Source in the web enterprise world a secure success
Francesco Fullone
 

Destaque (19)

Simone Carletti: Zend Framework ed i Web Service
Simone Carletti: Zend Framework ed i Web ServiceSimone Carletti: Zend Framework ed i Web Service
Simone Carletti: Zend Framework ed i Web Service
 
PHP for the Enterprise
PHP for the EnterprisePHP for the Enterprise
PHP for the Enterprise
 
Jacopo Romei: Abbattere i rischi di insuccesso con Extreme Programming
Jacopo Romei: Abbattere i rischi di insuccesso con Extreme ProgrammingJacopo Romei: Abbattere i rischi di insuccesso con Extreme Programming
Jacopo Romei: Abbattere i rischi di insuccesso con Extreme Programming
 
Andrea Giorgini: Implementazione di un online-shop con Typo3
Andrea Giorgini: Implementazione di un online-shop con Typo3Andrea Giorgini: Implementazione di un online-shop con Typo3
Andrea Giorgini: Implementazione di un online-shop con Typo3
 
PHP for Enterprise
PHP for EnterprisePHP for Enterprise
PHP for Enterprise
 
Being agile
Being agileBeing agile
Being agile
 
PHP Goes Enterprise
PHP Goes EnterprisePHP Goes Enterprise
PHP Goes Enterprise
 
Il tuo sito? Il mio spam relay!
Il tuo sito? Il mio spam relay!Il tuo sito? Il mio spam relay!
Il tuo sito? Il mio spam relay!
 
your browser, my storage
your browser, my storageyour browser, my storage
your browser, my storage
 
Compromises and not solution
Compromises and not solutionCompromises and not solution
Compromises and not solution
 
Outsourcing, partners or suppliers?
Outsourcing, partners or suppliers?Outsourcing, partners or suppliers?
Outsourcing, partners or suppliers?
 
Open Source in the web enterprise world a secure success
Open Source in the web enterprise world a secure successOpen Source in the web enterprise world a secure success
Open Source in the web enterprise world a secure success
 
Your browser, your storage (extended version)
Your browser, your storage (extended version)Your browser, your storage (extended version)
Your browser, your storage (extended version)
 
Lucio Zambon: PHP@Elettra
Lucio Zambon: PHP@ElettraLucio Zambon: PHP@Elettra
Lucio Zambon: PHP@Elettra
 
Web 2.0 with AS/400
Web 2.0 with AS/400Web 2.0 with AS/400
Web 2.0 with AS/400
 
extended slow parts, HTML5 meets WPO
extended slow parts, HTML5 meets WPOextended slow parts, HTML5 meets WPO
extended slow parts, HTML5 meets WPO
 
Agile == Dynamic?
Agile == Dynamic?Agile == Dynamic?
Agile == Dynamic?
 
Quality, Courtesy and a big Parking
Quality, Courtesy and a big ParkingQuality, Courtesy and a big Parking
Quality, Courtesy and a big Parking
 
your browser, your storage
your browser, your storageyour browser, your storage
your browser, your storage
 

Semelhante a Extended slow parts

Buzz & fuss about html5
Buzz & fuss about html5Buzz & fuss about html5
Buzz & fuss about html5
PixelCrayons
 
Html 5 Websites with Visual Studio 2010
Html 5 Websites with Visual Studio 2010Html 5 Websites with Visual Studio 2010
Html 5 Websites with Visual Studio 2010
Harish Ranganathan
 
Zend Framework In Action
Zend Framework In ActionZend Framework In Action
Zend Framework In Action
askme
 

Semelhante a Extended slow parts (20)

HTML5 vs Flash
HTML5 vs FlashHTML5 vs Flash
HTML5 vs Flash
 
User Group Meeting PaperVision3D
User Group Meeting PaperVision3DUser Group Meeting PaperVision3D
User Group Meeting PaperVision3D
 
HTML5 for dummies
HTML5 for dummiesHTML5 for dummies
HTML5 for dummies
 
Buzz & fuss about html5
Buzz & fuss about html5Buzz & fuss about html5
Buzz & fuss about html5
 
iPad implementation
iPad implementationiPad implementation
iPad implementation
 
HTML5 - Moving from hacks to solutions
HTML5 - Moving from hacks to solutionsHTML5 - Moving from hacks to solutions
HTML5 - Moving from hacks to solutions
 
Html 5 Websites with Visual Studio 2010
Html 5 Websites with Visual Studio 2010Html 5 Websites with Visual Studio 2010
Html 5 Websites with Visual Studio 2010
 
HTML5: An Introduction
HTML5: An IntroductionHTML5: An Introduction
HTML5: An Introduction
 
Html5
Html5Html5
Html5
 
Html5 Video Vs Flash Video presentation
Html5 Video Vs Flash Video presentationHtml5 Video Vs Flash Video presentation
Html5 Video Vs Flash Video presentation
 
Php myths
Php mythsPhp myths
Php myths
 
Joomla @ Barcamp4(Feb 08 Pune)
Joomla @ Barcamp4(Feb 08 Pune)Joomla @ Barcamp4(Feb 08 Pune)
Joomla @ Barcamp4(Feb 08 Pune)
 
Html5 Revolution
Html5 RevolutionHtml5 Revolution
Html5 Revolution
 
Plone Futures, Plone Conference 2016 Keynote by Eric Steele
Plone Futures, Plone Conference 2016 Keynote by Eric SteelePlone Futures, Plone Conference 2016 Keynote by Eric Steele
Plone Futures, Plone Conference 2016 Keynote by Eric Steele
 
Plone Futures
Plone FuturesPlone Futures
Plone Futures
 
Html 5 Features And Benefits
Html 5 Features And Benefits  Html 5 Features And Benefits
Html 5 Features And Benefits
 
Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)
 
Enterprise PHP
Enterprise PHPEnterprise PHP
Enterprise PHP
 
Zend Framework In Action
Zend Framework In ActionZend Framework In Action
Zend Framework In Action
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancement
 

Mais de Francesco Fullone

Mais de Francesco Fullone (20)

Life Cycle Design e Circular Economy: un caso reale
Life Cycle Design e Circular Economy: un caso reale Life Cycle Design e Circular Economy: un caso reale
Life Cycle Design e Circular Economy: un caso reale
 
Okr istruzioni per l'uso - devfest
Okr   istruzioni per l'uso - devfestOkr   istruzioni per l'uso - devfest
Okr istruzioni per l'uso - devfest
 
OKR, sono veramente utili alla mia azienda?
OKR, sono veramente utili alla mia azienda?OKR, sono veramente utili alla mia azienda?
OKR, sono veramente utili alla mia azienda?
 
Okr per community - icms
Okr   per community - icmsOkr   per community - icms
Okr per community - icms
 
Open Governance, un caso reale
Open Governance, un caso realeOpen Governance, un caso reale
Open Governance, un caso reale
 
A recommendation engine for your applications
A recommendation engine for your applicationsA recommendation engine for your applications
A recommendation engine for your applications
 
A recommendation engine for your applications
A recommendation engine for your applicationsA recommendation engine for your applications
A recommendation engine for your applications
 
Con te non ci lavoro
Con te non ci lavoroCon te non ci lavoro
Con te non ci lavoro
 
Con te non ci lavoro
Con te non ci lavoroCon te non ci lavoro
Con te non ci lavoro
 
Continuous budgeting
Continuous budgetingContinuous budgeting
Continuous budgeting
 
Remote working istruzioni
Remote working istruzioniRemote working istruzioni
Remote working istruzioni
 
Remote working istruzioni
Remote working istruzioniRemote working istruzioni
Remote working istruzioni
 
MVP & Startup, with OpenSource Software and Microsoft Azure
MVP & Startup, with OpenSource Software and Microsoft AzureMVP & Startup, with OpenSource Software and Microsoft Azure
MVP & Startup, with OpenSource Software and Microsoft Azure
 
Remote working istruzioni
Remote working istruzioniRemote working istruzioni
Remote working istruzioni
 
Help yourself, grow an healthy ecosystem
Help yourself, grow an healthy ecosystemHelp yourself, grow an healthy ecosystem
Help yourself, grow an healthy ecosystem
 
From brainstorming to product development
From brainstorming to product developmentFrom brainstorming to product development
From brainstorming to product development
 
From webagency to...a better job, life and a lot of fun
From webagency to...a better job, life and a lot of funFrom webagency to...a better job, life and a lot of fun
From webagency to...a better job, life and a lot of fun
 
Compromessi e non soluzioni
Compromessi e non soluzioniCompromessi e non soluzioni
Compromessi e non soluzioni
 
Don't touch the mobile parts
Don't touch the mobile partsDon't touch the mobile parts
Don't touch the mobile parts
 
Please dont touch-3.6-jsday
Please dont touch-3.6-jsdayPlease dont touch-3.6-jsday
Please dont touch-3.6-jsday
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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...
 
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
 
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...
 
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
 

Extended slow parts

  • 1. Extended Slow Parts HTML 5 meets browsers Francesco Fullone ff AT ideato.it
  • 2. Who am I? Francesco Fullone aka Fullo - PHP developer since 1999 - President - and Open Source Evangelist - CEO @ - Nerd and geek
  • 3. Did you attend the “Please, don't touch the slow parts” speech?
  • 5. It's time to make evolve that speech!
  • 7. It is not a “revolution”
  • 8. it will be ready for 2012 (but not fully supported until 2020) HTML5
  • 9. Right now there is some confusion on what should works.
  • 10. HTML 5 state of art
  • 11.
  • 12. But we don't care, we are brave developers. DEV
  • 13. And we want to know which parts “we can touch”
  • 14. do less requests place the parts in the right places reduce the data Repeat the learned lessons: http://www.flickr.com/photos/seetefl/4111987480
  • 15. do less request: Use cache manifest for live sites, not just offline apps
  • 16. do less request: use web storage instead of cookies http://www.flickr.com/photos/betsyweber/4962298614/
  • 17. do less request: Use client-side databases instead of server roundtrips
  • 18. reduce the (transmitted) data: WebSockets for faster delivery with less bandwidth than XHR http://www.flickr.com/photos/exalthim/1594948378/
  • 19. reduce the (transmitted) data: Use CSS3 effects instead of requesting heavy image sprites (and save designers from an headache every time they have to update it) http://www.flickr.com/photos/elderleaf/1395164209
  • 20. place the parts in the right places: For CPU-heavy operations: Web Workers deliverhttp://www.flickr.com/photos/osde-info/2261186236
  • 21. place the parts in the right places: Use CSS Transitions instead of JavaScript animation .classname { -webkit-transition:All 1s ease; -moz-transition:All 1s ease; -o-transition:All 1s ease; -webkit-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); -moz-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); -o-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); } .classname:hover{ -webkit-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); -moz-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); -o-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); }
  • 24. ?
  • 25. phpDay 2011 12-14 Maggio 2011 www.phpday.it
  • 26. via Quinto Bucci 205 47023 Cesena (FC) info AT ideato.it www.ideato.it rate this talk: http://joind.in/2121