18 th May 2014 – DNN 2014 Connect – Italy Improve Performance Responsive Images James Rosewell.

Slides:



Advertisements
Similar presentations
What is jQuery Mobile? How to use it? Doncho Minkov Telerik Corporation Technical Trainer.
Advertisements

Java Script Session1 INTRODUCTION.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
Amazon CloudFront An introductory discussion. What is Amazon CloudFront? 5/31/20122© e-Zest Solutions Ltd. Amazon CloudFront is a web service for content.
Motorola Mobility Services Platform (MSP3.2) Control Edition Optimizing use of your mobile assets Daphanie Wallace June 2008 Enterprise Mobility Solutions.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
Microsoft ® Official Course Developing Optimized Internet Sites Microsoft SharePoint 2013 SharePoint Practice.
Modern JavaScript Develop And Design Instructor’s Notes Chapter 2- JavaScript in Action Modern JavaScript Design And Develop Copyright © 2012 by Larry.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
With Internet Explorer 8© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Go! with Internet Explorer 8 Getting Started.
How the Web Works. WWW – part of the Internet (others: , FTP, Telnet) Loaded to a Server | Viewed in a Browser (Client) Client: Request & Render.
CMS Confusion….You only need one ! November 2012 Chris Schofield
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
DEVELOPING FOR MOBILE Jackie Calapristi. AGENDA  Why you should go mobile  Mobile Design Options  Responsive Design  Tips & Tools to Help You Build.
Computer Concepts 2014 Chapter 7 The Web and .
NextGen Technology upgrade – Synerizip - Sandeep Kamble.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 2.

CSS Sprites. What are sprites? In the early days of video games, memory for graphics was very low. So to make things load quickly and make graphics look.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 1.
Basic Responsive Design Techniques. Let’s take a look at this basic layout. It has a header and two columns of text, in a box that is centered on the.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
State Management. What is State management Why State management ViewState QueryString Cookies.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
All you need to know about building donation pages Marta Fornal de Seixas.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Responsive Web Design Minjuan What is Responsive Web Design?  A site's ability to resize dynamically based on the device being used.  The.
What’s New in WatchGuard XCS v9.1 Update 1. WatchGuard XCS v9.1 Update 1  Enhancements that improve ease of use New Dashboard items  Mail Summary >
Web Cache Redirection using a Layer-4 switch: Architecture, issues, tradeoffs, and trends Shirish Sathaye Vice-President of Engineering.
Introduction to Client-Side Web Development Introduction to Client-Side programming using JavaScript JavaScript; application examples 10 th February 2005.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Creating a Web Site Review of Concepts. Templates Templates are special HTML files that are used to quickly create pages on a web site. They contain the.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
MBL 305 ASP.NET Mobile Controls: Best Practices Gökşin Bakir CSA Yage Ltd. Microsoft Regional Director.
What’s new in ASP.NET 4.0 ?. Agenda Changes to Core Services  Extensible Output Caching  Shrinking Session State  Performance Monitoring  Permanently.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ICM – API Server & Forms Gary Ratcliffe.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
François Briard GS-AIS-HR Database Developers Forum, APEX 6th May 2014 APEX Mobile Application Development 101.
Display Page (HTML/CSS)
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
Craig Pelkie Copyright © 2015, Craig Pelkie ALL RIGHTS RESERVED Use RPG to Mobilize your IBM i.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
WHAT'S THE DIFFERENCE BETWEEN A WEB APPLICATION STREAMING NETWORK AND A CDN? INSTART LOGIC.
Customizing Share Document Previews Will Abson Senior Integrations Engineer and Share Extras Project Lead
Google Analytics Graham Triggs Head of Repository Systems, Symplectic.
THE ART OF REDIRECTION PUTTING MOBILE DEVICES WHERE YOU WANT THEM JASON BENGTSON, MLIS, AHIP EMERGING TECHNOLOGIES/ R&D LIBRARIAN UNIVERSITY OF NEW MEXICO.
JQuery form submission CIS 136 Building Mobile Apps 1.
Unit 4 Working with data. Form Element HTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes, radio-buttons,
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
I18n - DateTime ASP.NET MVC. I18n DateTime – EF changes  In model classes, use attributes  DataType(DataType.DateTime)  DataType(DataType.Date)  DataType(DataType.Time)
Enhance Your Page Load Speed And Improve Traffic.
ASP.NET Core Tag Helpers
RESPONSIVE WEB DESIGN.
Utilization of Azure CDN for the large file distribution
Introducing the New Directory Search
Types of Spatial Data Sites
Client-Server Model: Requesting a Web Page
Your computer is the client
Erik Porter Program Manager ASP.NET Microsoft Corporation
Yale Digital Conference 2019
Microsoft 365 Business Technical Fundamentals Series
Presentation transcript:

18 th May 2014 – DNN 2014 Connect – Italy Improve Performance Responsive Images James Rosewell

18 th May 2014 – DNN 2014 Connect – Italy

Magnificent Seven

18 th May 2014 – DNN 2014 Connect – Italy

Guess the weight of the Magnificent Seven?

18 th May 2014 – DNN 2014 Connect – Italy Magnificent Seven 2.4mb

18 th May 2014 – DNN 2014 Connect – Italy

€ €0.05

18 th May 2014 – DNN 2014 Connect – Italy Responsive Images

18 th May 2014 – DNN 2014 Connect – Italy Configure DNN 7.3 web.config 51degrees.[mobi].config

18 th May 2014 – DNN 2014 Connect – Italy …becomes… web.config Enables the module to intercept requests for images

18 th May 2014 – DNN 2014 Connect – Italy 51Degrees.config

18 th May 2014 – DNN 2014 Connect – Italy <imageOptimisation maxWidth="1000" maxHeight="1000” widthParam="width" heightParam="height“ factor="1" /> 51Degrees.config Controls possible permutations of generated images

18 th May 2014 – DNN 2014 Connect – Italy PART ONE Fixed Size Images

18 th May 2014 – DNN 2014 Connect – Italy 250px

18 th May 2014 – DNN 2014 Connect – Italy Image URLs …becomes…

18 th May 2014 – DNN 2014 Connect – Italy Reduction BaseFixed Size Page Weight2.4mb1.5mb HTTP Requests35 Reduction-0.9mb Method-?width=x

18 th May 2014 – DNN 2014 Connect – Italy But what about responsive web design? We don’t know the size.

18 th May 2014 – DNN 2014 Connect – Italy PART TWO Automatic Images

18 th May 2014 – DNN 2014 Connect – Italy Image URLs …becomes…

18 th May 2014 – DNN 2014 Connect – Italy

Reductions BasePartialAutomatic Page Weight2.4mb1.5mb811kb HTTP Requests35 36 Reduction-0.9mb1.6mb Method-?width=x?width=auto

18 th May 2014 – DNN 2014 Connect – Italy Magnificent Seven From 2.4mb to < 1mb

18 th May 2014 – DNN 2014 Connect – Italy Benefits Significant saving. Important for mobile. – Saves radio. Golden second. – Saves battery. Less CPU. Very easy to deploy and saves time.

18 th May 2014 – DNN 2014 Connect – Italy Questions Impact on the server? – Images are cached and tracked. Open to abuse? – Image optimisation element limits permutations. Will it work with CDNs? – Yes where dynamic images provided. Client impact? – Simple client side JavaScript. No jQuery. When will be available? – DNN 7.3 – not enabled by default. What image formats are supported? – PNG and JPG at the moment.

18 th May 2014 – DNN 2014 Connect – Italy Questions – Version 1.1 Does it work with Azure / CDN storage? – Maybe and not yet! Does it support cropping? – Not yet. What about retina displays? – Some issues with pixels densities. Probable upgrade.

18 th May 2014 – DNN 2014 Connect – Italy display:none

18 th May 2014 – DNN 2014 Connect – Italy Your Feedback

18 th May 2014 – DNN 2014 Connect – Italy Dynamic Containers Server Side James Rosewell

18 th May 2014 – DNN 2014 Connect – Italy Web Pages Vary by… Screen size User attributes (beyond role) Examples include: Adverts Videos Business Processes

18 th May 2014 – DNN 2014 Connect – Italy How to display / remove containers based on server side rules?

18 th May 2014 – DNN 2014 Connect – Italy What we need 1.Skin that can change view 2.Containers that respond to active view

18 th May 2014 – DNN 2014 Connect – Italy skin_controller.ascx

18 th May 2014 – DNN 2014 Connect – Italy How to default the view?

18 th May 2014 – DNN 2014 Connect – Italy

skin_controller.ascx public string CurrentView { get { var value = Request.QueryString["ViewType"]; if (value == null) { value = Session["ViewType"] as string; }

18 th May 2014 – DNN 2014 Connect – Italy skin_controller.ascx if (value == null) { if (Request.Browser["IsSmartPhone"] == "True" || Request.Browser["IsSmallScreen"] == "True") { value = "smartphone"; } else { value = "desktop"; }

18 th May 2014 – DNN 2014 Connect – Italy skin_controller.ascx Session["ViewType"] = value; return value; }

18 th May 2014 – DNN 2014 Connect – Italy Title_h2 - Desktop Only.ascx protected override void OnLoad(EventArgs e) { base.OnLoad(e); Visible = FiftyOneController.CurrentView == "desktop" || FiftyOneController.IsEditMode; PanelEditWarning.Visible = FiftyOneController.IsEditMode; }

18 th May 2014 – DNN 2014 Connect – Italy Title_h2 – Mobile Only.ascx protected override void OnLoad(EventArgs e) { base.OnLoad(e); Visible = FiftyOneController.CurrentView == "smartphone" || FiftyOneController.IsEditMode; PanelEditWarning.Visible = FiftyOneController.IsEditMode; }

18 th May 2014 – DNN 2014 Connect – Italy

Next Steps Add A/B testing for screen sizes for adverts. More categories of device. However… Display rules based on container name are too simple, need rules engine.

18 th May 2014 – DNN 2014 Connect – Italy DNN Sharp – My Tokens & Easy Container

18 th May 2014 – DNN 2014 Connect – Italy Thank you to Graham Murkett – Some Grey Bloke

18 th May 2014 – DNN 2014 Connect – Italy DEVICE FRAGMENTATION

18 th May 2014 – DNN 2014 Connect – Italy

Other Important Factors Device CapabilitiesNetwork Conditions

18 th May 2014 – DNN 2014 Connect – Italy DEVICE DETECTION

18 th May 2014 – DNN 2014 Connect – Italy

WHO USES 51DEGREES?

18 th May 2014 – DNN 2014 Connect – Italy 1.5 Million Web Sites. Including…