SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
René Kreijveld
• Joomla webdeveloper/system integrator since 2004.
• Work for DSD Business Internet and ReneKreijveld.nl
• Specialisations:
[responsive] templates, one|content based web
applications, complex RSForm!Pro webforms,
Joomla webserver setups
• Twitter: @renekreijveld
Skype: renekreijveld
Facebook: http://www.facebook.com/rene.kreijveld
My life outside Joomla
• Running.
• Playing drums.
• Training with Mila, a Bracco Italiano hunting dog.
Mila
Disclaimer
• The solutions presented here today work for me,
they might not work for you.
• Try and experiment with my suggestions.
• Backup, Backup, Backup, before testing
anything ;-)
Responsive templates
• Who in this audience builds responsive
templates?
• Based on what CSS framework?
• Do you build yourself or buy a template and
customize?
• I personally build from scratch using Blank
Template
http://blank.vc/
CSS Frameworks (1)
• Twitter Bootstrap
“Sleek, intuitive, and powerful front-end
framework for faster and easier web
development.”
http://twitter.github.io/bootstrap/
• Foundation Zurb
“The most advanced responsive front-end
framework in the world.”
http://foundation.zurb.com/
CSS Frameworks (2)
• HTML Boilerplate
• Responsive Grid System
• Titan Framework
• Groundwork CSS
• Base
• https://www.google.nl/search?q=css+responsive
+frameworks
Media Queries (1)
• Used al lot in CSS3.
• Apply CSS-rules based on viewport resolutions:
Media Queries (2)
• Often there are special CSS-classes to hide
content at a certain resolution.
• Twitter Bootstrap uses Responsive Utility Classes:
http://twitter.github.io/bootstrap/
scaffolding.html#responsive
• Foundation Zurb uses Visibility Classes:
http://foundation.zurb.com/docs/components/
visibility.html
Special CSS-classes
• Advantage: easily hide content on certain
devices (based on resolutions).
Usage: in template code or as a Module Class
Suffix: add <space>hidden-phone
• Disadvantage: the content is only visually
hidden.
All content is still downloaded to the device!
Unnecessary use of bandwidth!
Media Queries
• Media Queries are based on viewport resolutions.
• Modern iPhones en iPads have high resolutions.
• iPhone: http://www.apple.com/iphone/specs.html
1136 x 640 pixels.
• iPad: http://www.apple.com/ipad/specs/
2048 x 1536 pixels.
My conclusion on
Media Queries
If you want to save bandwidth, by hiding
certain content on tablets/mobiles, doing this
based on the viewport might not be the best
solution...
My conclusion on
Media Queries
It might be a better option to hide certain
content on tablets/mobiles, based on the
browser and the device of the website visitor.
Enter: the User Agent
• The User Agent string is a unique definition of the
browser and operating system.
In HTTP, the User-Agent string is often used for content
negotiation, where the origin server selects suitable
content or operating parameters for the response.
http://en.wikipedia.org/wiki/User_agent
• The user agent can be determined client side and
server side.
Demo
• Demo with User Agent detection in Joomla
• Used tools (all FireFox plugins)
• Web Developer Toolbar
https://addons.mozilla.org/nl/firefox/addon/web-
developer/
• User Agent Switcher
https://addons.mozilla.org/nl/firefox/addon/user-
agent-switcher/
AVGM.nl
• Responsive Website for an athletics
association.
• Built with Twitter Bootstrap.
• Separate layouts for desktop, tablet and
mobile.
• http://www.avgm.nl/
PUBLICANDA.nl
• Website about Publicanda our
Joomla distribution.
• Built with Twitter Bootstrap.
• Separate layouts for desktop, tablet and
mobile.
• http://www.publicanda.nl/
Mobile Detect
• PHP library that reads the User Agent (serverside).
https://github.com/serbanghita/Mobile-Detect
• It can detect:
- Is the device a desktop, tablet or mobile?
- Is it running iOS or Android?
- A lot more...
• Regular updates for new user agents.
Mobile Detect usage
And other extensions?
• When loading Mobile_Detect.php in
template code, the test is only available in
the template.
• Wouldn’t it be handy if you knew
everywhere (templates, components,
plugins, modules) what kind of device your
visitor has?
User Agent Detector
• System Plugin:
https://github.com/renekreijveld/UserAgentDetector
• Sets a session variable with UA Layout.
• Available for Joomla 2.5 and 3.0.
User Agent Detector
• Possible values for ualayout:
• desktop
• tablet
• mobile
• bot
Search Engine Optimisation
• Search engines index your website by
sending a spiderbot to your website.
• Googlebot, Bing, Yahoo Slurp, Msnbot, ...
• So spiderbots are also website visitors.
• Each spiderbot has a unique User Agent!
• Mobile_Detect.php can identify
spiderbots :-)
Template experiment
Template experiment
Demo spiderbot detection
• http://www.avgm.nl
• http://www.publicanda.nl
Questions ?

Weitere ähnliche Inhalte

Was ist angesagt?

An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenixvegasgeek
 
Getting started with WordPress
Getting started with WordPressGetting started with WordPress
Getting started with WordPressNew Tricks
 
Integration options
Integration optionsIntegration options
Integration optionsDiego Jancic
 
An introduction to wordpress
An introduction to wordpressAn introduction to wordpress
An introduction to wordpressCrack Aloud
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPressMatthew Vaccaro
 
Wordpress essential training - Wordpress Presentation PPT
Wordpress essential training - Wordpress Presentation PPTWordpress essential training - Wordpress Presentation PPT
Wordpress essential training - Wordpress Presentation PPTAbdulla2410
 
WordPress Themes Demystified
WordPress Themes DemystifiedWordPress Themes Demystified
WordPress Themes DemystifiedChris Burgess
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site MuhammadUsaid2
 
WP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and PluginsWP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and PluginsJoe Querin
 
wordpress training | wordpress certification | wordpress training course | wo...
wordpress training | wordpress certification | wordpress training course | wo...wordpress training | wordpress certification | wordpress training course | wo...
wordpress training | wordpress certification | wordpress training course | wo...Nancy Thomas
 
Installing WordPress The Right Way
Installing WordPress The Right WayInstalling WordPress The Right Way
Installing WordPress The Right WayChris Burgess
 
WP 101 - WordPress Basics
WP 101 - WordPress BasicsWP 101 - WordPress Basics
WP 101 - WordPress BasicsJoe Querin
 
Basic WordPress for Beginner ppt
Basic WordPress for Beginner pptBasic WordPress for Beginner ppt
Basic WordPress for Beginner pptDipika Wadhvani
 
BASIC Wordpress content management training August 2014
BASIC Wordpress content management training August 2014BASIC Wordpress content management training August 2014
BASIC Wordpress content management training August 2014Brenton Johnson
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Jamie Oastler
 
Platforms based on WordPress
Platforms based on WordPressPlatforms based on WordPress
Platforms based on WordPressMario Peshev
 
A word press site even your mother can use
A word press site even your mother can useA word press site even your mother can use
A word press site even your mother can useJerrett Farmer
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!Scott McNulty
 

Was ist angesagt? (20)

An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenix
 
W pthemes
W pthemesW pthemes
W pthemes
 
Getting started with WordPress
Getting started with WordPressGetting started with WordPress
Getting started with WordPress
 
Integration options
Integration optionsIntegration options
Integration options
 
An introduction to wordpress
An introduction to wordpressAn introduction to wordpress
An introduction to wordpress
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPress
 
Wordpress essential training - Wordpress Presentation PPT
Wordpress essential training - Wordpress Presentation PPTWordpress essential training - Wordpress Presentation PPT
Wordpress essential training - Wordpress Presentation PPT
 
Pimp your wp site
Pimp your wp sitePimp your wp site
Pimp your wp site
 
WordPress Themes Demystified
WordPress Themes DemystifiedWordPress Themes Demystified
WordPress Themes Demystified
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site
 
WP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and PluginsWP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and Plugins
 
wordpress training | wordpress certification | wordpress training course | wo...
wordpress training | wordpress certification | wordpress training course | wo...wordpress training | wordpress certification | wordpress training course | wo...
wordpress training | wordpress certification | wordpress training course | wo...
 
Installing WordPress The Right Way
Installing WordPress The Right WayInstalling WordPress The Right Way
Installing WordPress The Right Way
 
WP 101 - WordPress Basics
WP 101 - WordPress BasicsWP 101 - WordPress Basics
WP 101 - WordPress Basics
 
Basic WordPress for Beginner ppt
Basic WordPress for Beginner pptBasic WordPress for Beginner ppt
Basic WordPress for Beginner ppt
 
BASIC Wordpress content management training August 2014
BASIC Wordpress content management training August 2014BASIC Wordpress content management training August 2014
BASIC Wordpress content management training August 2014
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
 
Platforms based on WordPress
Platforms based on WordPressPlatforms based on WordPress
Platforms based on WordPress
 
A word press site even your mother can use
A word press site even your mother can useA word press site even your mother can use
A word press site even your mother can use
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!
 

Andere mochten auch

Juilliard School Presentation: Bootstrap your online presence
Juilliard School Presentation: Bootstrap your online presenceJuilliard School Presentation: Bootstrap your online presence
Juilliard School Presentation: Bootstrap your online presenceThomas Deneuville
 
Responsive webdesign
Responsive webdesignResponsive webdesign
Responsive webdesignBart De Waele
 
Responsive web design
Responsive web designResponsive web design
Responsive web designRuss Weakley
 
Bootstrap Framework and Drupal
Bootstrap Framework and DrupalBootstrap Framework and Drupal
Bootstrap Framework and DrupalJim Birch
 
Responsive web-design through bootstrap
Responsive web-design through bootstrapResponsive web-design through bootstrap
Responsive web-design through bootstrapZunair Sagitarioux
 
Introduce Bootstrap 3 to Develop Responsive Design Application
Introduce Bootstrap 3 to Develop Responsive Design ApplicationIntroduce Bootstrap 3 to Develop Responsive Design Application
Introduce Bootstrap 3 to Develop Responsive Design ApplicationeXo Platform
 
Internship Final Report
Internship Final Report Internship Final Report
Internship Final Report Nadia Nahar
 
Responsive Webdesign For Non-Geeks
Responsive Webdesign For Non-GeeksResponsive Webdesign For Non-Geeks
Responsive Webdesign For Non-GeeksProphets Agency
 
Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...
Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...
Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...Cedric Spillebeen
 
Summer Internship Report on Developing business promotional strategies and ma...
Summer Internship Report on Developing business promotional strategies and ma...Summer Internship Report on Developing business promotional strategies and ma...
Summer Internship Report on Developing business promotional strategies and ma...Kartik Mehta
 
Steve Rice (Los Gatos): The Future of Travel
Steve Rice (Los Gatos): The Future of TravelSteve Rice (Los Gatos): The Future of Travel
Steve Rice (Los Gatos): The Future of TravelSteve Rice Los Gatos
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to BootstrapRon Reiter
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project ReportMilind Gokhale
 
Web Design Project Report
Web Design Project ReportWeb Design Project Report
Web Design Project ReportMJ Ferdous
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS PresentationShawn Calvert
 

Andere mochten auch (19)

Juilliard School Presentation: Bootstrap your online presence
Juilliard School Presentation: Bootstrap your online presenceJuilliard School Presentation: Bootstrap your online presence
Juilliard School Presentation: Bootstrap your online presence
 
WildRide presentation
WildRide presentationWildRide presentation
WildRide presentation
 
Responsive webdesign
Responsive webdesignResponsive webdesign
Responsive webdesign
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Bootstrap Framework and Drupal
Bootstrap Framework and DrupalBootstrap Framework and Drupal
Bootstrap Framework and Drupal
 
Responsive web-design through bootstrap
Responsive web-design through bootstrapResponsive web-design through bootstrap
Responsive web-design through bootstrap
 
Introduce Bootstrap 3 to Develop Responsive Design Application
Introduce Bootstrap 3 to Develop Responsive Design ApplicationIntroduce Bootstrap 3 to Develop Responsive Design Application
Introduce Bootstrap 3 to Develop Responsive Design Application
 
Internship Final Report
Internship Final Report Internship Final Report
Internship Final Report
 
Responsive Webdesign
Responsive WebdesignResponsive Webdesign
Responsive Webdesign
 
Responsive Webdesign For Non-Geeks
Responsive Webdesign For Non-GeeksResponsive Webdesign For Non-Geeks
Responsive Webdesign For Non-Geeks
 
Internship Report
Internship ReportInternship Report
Internship Report
 
Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...
Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...
Bootstrap 3 - Sleek, intuitive, and powerful mobile first front-end framework...
 
Summer Internship Report on Developing business promotional strategies and ma...
Summer Internship Report on Developing business promotional strategies and ma...Summer Internship Report on Developing business promotional strategies and ma...
Summer Internship Report on Developing business promotional strategies and ma...
 
Steve Rice (Los Gatos): The Future of Travel
Steve Rice (Los Gatos): The Future of TravelSteve Rice (Los Gatos): The Future of Travel
Steve Rice (Los Gatos): The Future of Travel
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project Report
 
Web Design Project Report
Web Design Project ReportWeb Design Project Report
Web Design Project Report
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Ähnlich wie Bandwidth optimisation in Responsive Webdesign - J&Beyond, june 1st 2013

From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 Technology
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedRami Sayar
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101FITC
 
BITM3730 11-7.pptx
BITM3730 11-7.pptxBITM3730 11-7.pptx
BITM3730 11-7.pptxMattMarino13
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best PracticesRobert Vidal
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysEric Sembrat
 
Alternatives to LMS and Content development
Alternatives to LMS and Content developmentAlternatives to LMS and Content development
Alternatives to LMS and Content developmentYum Studio
 
Picnic Software - Developing a flexible and scalable application
Picnic Software - Developing a flexible and scalable applicationPicnic Software - Developing a flexible and scalable application
Picnic Software - Developing a flexible and scalable applicationNick Josevski
 
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDELearnNowOnline
 
Freelancer Weapons of mass productivity
Freelancer Weapons of mass productivityFreelancer Weapons of mass productivity
Freelancer Weapons of mass productivityGregg Coppen
 
Wordpress intro
Wordpress introWordpress intro
Wordpress introthe-colab
 
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your ClientsWhy Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clientsryanduff
 
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018hernanibf
 
Website essentials things every library website should have
Website essentials  things every library website should haveWebsite essentials  things every library website should have
Website essentials things every library website should haveBrian Pichman
 
BITM3730 11-8.pptx
BITM3730 11-8.pptxBITM3730 11-8.pptx
BITM3730 11-8.pptxMattMarino13
 
eSoftHead - groupware solution
eSoftHead - groupware solutioneSoftHead - groupware solution
eSoftHead - groupware solutionNguyen Hai
 
Google chrome extensions
Google chrome extensionsGoogle chrome extensions
Google chrome extensionslillianabe
 

Ähnlich wie Bandwidth optimisation in Responsive Webdesign - J&Beyond, june 1st 2013 (20)

From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
CMS Joomla
CMS JoomlaCMS Joomla
CMS Joomla
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap Unleashed
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101
 
BITM3730 11-7.pptx
BITM3730 11-7.pptxBITM3730 11-7.pptx
BITM3730 11-7.pptx
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best Practices
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 Days
 
Alternatives to LMS and Content development
Alternatives to LMS and Content developmentAlternatives to LMS and Content development
Alternatives to LMS and Content development
 
Picnic Software - Developing a flexible and scalable application
Picnic Software - Developing a flexible and scalable applicationPicnic Software - Developing a flexible and scalable application
Picnic Software - Developing a flexible and scalable application
 
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDE
 
Freelancer Weapons of mass productivity
Freelancer Weapons of mass productivityFreelancer Weapons of mass productivity
Freelancer Weapons of mass productivity
 
Wordpress intro
Wordpress introWordpress intro
Wordpress intro
 
Codeigniter framework
Codeigniter framework Codeigniter framework
Codeigniter framework
 
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your ClientsWhy Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
 
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
 
Website essentials things every library website should have
Website essentials  things every library website should haveWebsite essentials  things every library website should have
Website essentials things every library website should have
 
BITM3730 11-8.pptx
BITM3730 11-8.pptxBITM3730 11-8.pptx
BITM3730 11-8.pptx
 
Mobile app development
Mobile app development  Mobile app development
Mobile app development
 
eSoftHead - groupware solution
eSoftHead - groupware solutioneSoftHead - groupware solution
eSoftHead - groupware solution
 
Google chrome extensions
Google chrome extensionsGoogle chrome extensions
Google chrome extensions
 

Mehr von René Kreijveld

Building a Car Sales website with Form2Content
Building a Car Sales website with Form2ContentBuilding a Car Sales website with Form2Content
Building a Car Sales website with Form2ContentRené Kreijveld
 
Going live with a Checklist
Going live with a ChecklistGoing live with a Checklist
Going live with a ChecklistRené Kreijveld
 
Een autodealer website bouwen met Form2Content
Een autodealer website bouwen met Form2ContentEen autodealer website bouwen met Form2Content
Een autodealer website bouwen met Form2ContentRené Kreijveld
 
Tips en Truuks JUG Zuidoost 15 mei 2014
Tips en Truuks JUG Zuidoost 15 mei 2014Tips en Truuks JUG Zuidoost 15 mei 2014
Tips en Truuks JUG Zuidoost 15 mei 2014René Kreijveld
 
Joomla componenten bouwen met Component Creator
Joomla componenten bouwen met Component CreatorJoomla componenten bouwen met Component Creator
Joomla componenten bouwen met Component CreatorRené Kreijveld
 
Data optimaliseren voor tablet en mobiel
Data optimaliseren voor tablet en mobielData optimaliseren voor tablet en mobiel
Data optimaliseren voor tablet en mobielRené Kreijveld
 
JMonitoring, powertool voor Joomla!
JMonitoring, powertool voor Joomla!JMonitoring, powertool voor Joomla!
JMonitoring, powertool voor Joomla!René Kreijveld
 
The power of unix scripts for Joomla!
The power of unix scripts for Joomla!The power of unix scripts for Joomla!
The power of unix scripts for Joomla!René Kreijveld
 
RsFormsPro Multipage Forms with PDF output
RsFormsPro Multipage Forms with PDF outputRsFormsPro Multipage Forms with PDF output
RsFormsPro Multipage Forms with PDF outputRené Kreijveld
 

Mehr von René Kreijveld (9)

Building a Car Sales website with Form2Content
Building a Car Sales website with Form2ContentBuilding a Car Sales website with Form2Content
Building a Car Sales website with Form2Content
 
Going live with a Checklist
Going live with a ChecklistGoing live with a Checklist
Going live with a Checklist
 
Een autodealer website bouwen met Form2Content
Een autodealer website bouwen met Form2ContentEen autodealer website bouwen met Form2Content
Een autodealer website bouwen met Form2Content
 
Tips en Truuks JUG Zuidoost 15 mei 2014
Tips en Truuks JUG Zuidoost 15 mei 2014Tips en Truuks JUG Zuidoost 15 mei 2014
Tips en Truuks JUG Zuidoost 15 mei 2014
 
Joomla componenten bouwen met Component Creator
Joomla componenten bouwen met Component CreatorJoomla componenten bouwen met Component Creator
Joomla componenten bouwen met Component Creator
 
Data optimaliseren voor tablet en mobiel
Data optimaliseren voor tablet en mobielData optimaliseren voor tablet en mobiel
Data optimaliseren voor tablet en mobiel
 
JMonitoring, powertool voor Joomla!
JMonitoring, powertool voor Joomla!JMonitoring, powertool voor Joomla!
JMonitoring, powertool voor Joomla!
 
The power of unix scripts for Joomla!
The power of unix scripts for Joomla!The power of unix scripts for Joomla!
The power of unix scripts for Joomla!
 
RsFormsPro Multipage Forms with PDF output
RsFormsPro Multipage Forms with PDF outputRsFormsPro Multipage Forms with PDF output
RsFormsPro Multipage Forms with PDF output
 

Kürzlich hochgeladen

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
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
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
 
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 educationjfdjdjcjdnsjd
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
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
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
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, ...apidays
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 

Kürzlich hochgeladen (20)

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
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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, ...
 
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...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Bandwidth optimisation in Responsive Webdesign - J&Beyond, june 1st 2013

  • 1.
  • 2. René Kreijveld • Joomla webdeveloper/system integrator since 2004. • Work for DSD Business Internet and ReneKreijveld.nl • Specialisations: [responsive] templates, one|content based web applications, complex RSForm!Pro webforms, Joomla webserver setups • Twitter: @renekreijveld Skype: renekreijveld Facebook: http://www.facebook.com/rene.kreijveld
  • 3. My life outside Joomla • Running. • Playing drums. • Training with Mila, a Bracco Italiano hunting dog.
  • 5. Disclaimer • The solutions presented here today work for me, they might not work for you. • Try and experiment with my suggestions. • Backup, Backup, Backup, before testing anything ;-)
  • 6. Responsive templates • Who in this audience builds responsive templates? • Based on what CSS framework? • Do you build yourself or buy a template and customize? • I personally build from scratch using Blank Template http://blank.vc/
  • 7. CSS Frameworks (1) • Twitter Bootstrap “Sleek, intuitive, and powerful front-end framework for faster and easier web development.” http://twitter.github.io/bootstrap/ • Foundation Zurb “The most advanced responsive front-end framework in the world.” http://foundation.zurb.com/
  • 8. CSS Frameworks (2) • HTML Boilerplate • Responsive Grid System • Titan Framework • Groundwork CSS • Base • https://www.google.nl/search?q=css+responsive +frameworks
  • 9. Media Queries (1) • Used al lot in CSS3. • Apply CSS-rules based on viewport resolutions:
  • 10. Media Queries (2) • Often there are special CSS-classes to hide content at a certain resolution. • Twitter Bootstrap uses Responsive Utility Classes: http://twitter.github.io/bootstrap/ scaffolding.html#responsive • Foundation Zurb uses Visibility Classes: http://foundation.zurb.com/docs/components/ visibility.html
  • 11. Special CSS-classes • Advantage: easily hide content on certain devices (based on resolutions). Usage: in template code or as a Module Class Suffix: add <space>hidden-phone • Disadvantage: the content is only visually hidden. All content is still downloaded to the device! Unnecessary use of bandwidth!
  • 12. Media Queries • Media Queries are based on viewport resolutions. • Modern iPhones en iPads have high resolutions. • iPhone: http://www.apple.com/iphone/specs.html 1136 x 640 pixels. • iPad: http://www.apple.com/ipad/specs/ 2048 x 1536 pixels.
  • 13. My conclusion on Media Queries If you want to save bandwidth, by hiding certain content on tablets/mobiles, doing this based on the viewport might not be the best solution...
  • 14. My conclusion on Media Queries It might be a better option to hide certain content on tablets/mobiles, based on the browser and the device of the website visitor.
  • 15. Enter: the User Agent • The User Agent string is a unique definition of the browser and operating system. In HTTP, the User-Agent string is often used for content negotiation, where the origin server selects suitable content or operating parameters for the response. http://en.wikipedia.org/wiki/User_agent • The user agent can be determined client side and server side.
  • 16. Demo • Demo with User Agent detection in Joomla • Used tools (all FireFox plugins) • Web Developer Toolbar https://addons.mozilla.org/nl/firefox/addon/web- developer/ • User Agent Switcher https://addons.mozilla.org/nl/firefox/addon/user- agent-switcher/
  • 17. AVGM.nl • Responsive Website for an athletics association. • Built with Twitter Bootstrap. • Separate layouts for desktop, tablet and mobile. • http://www.avgm.nl/
  • 18. PUBLICANDA.nl • Website about Publicanda our Joomla distribution. • Built with Twitter Bootstrap. • Separate layouts for desktop, tablet and mobile. • http://www.publicanda.nl/
  • 19. Mobile Detect • PHP library that reads the User Agent (serverside). https://github.com/serbanghita/Mobile-Detect • It can detect: - Is the device a desktop, tablet or mobile? - Is it running iOS or Android? - A lot more... • Regular updates for new user agents.
  • 21. And other extensions? • When loading Mobile_Detect.php in template code, the test is only available in the template. • Wouldn’t it be handy if you knew everywhere (templates, components, plugins, modules) what kind of device your visitor has?
  • 22. User Agent Detector • System Plugin: https://github.com/renekreijveld/UserAgentDetector • Sets a session variable with UA Layout. • Available for Joomla 2.5 and 3.0.
  • 23. User Agent Detector • Possible values for ualayout: • desktop • tablet • mobile • bot
  • 24. Search Engine Optimisation • Search engines index your website by sending a spiderbot to your website. • Googlebot, Bing, Yahoo Slurp, Msnbot, ... • So spiderbots are also website visitors. • Each spiderbot has a unique User Agent! • Mobile_Detect.php can identify spiderbots :-)
  • 27. Demo spiderbot detection • http://www.avgm.nl • http://www.publicanda.nl