万本电子书0元读

万本电子书0元读

顶部广告

Mobile Web Performance Optimization电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:S. S. Niranga

出  版  社:Packt Publishing

出版时间:2015-12-28

字       数:71.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Deliver a better mobile user experience by improving and optimizing your website – follow these practical steps for cutting-edge application development About This Book Optimize your website or application for an improved mobile performance Learn how to create lightweight, intuitive mobile UI and make sure it's supported by a robust application architecture Find out how to improve the performance of your applications by asking the right design questions at each stage in the development workflow Who This Book Is For This book has been created for web developers who want to optimize their website for today’s mobile users. If you understand just how important user experience is, this book is for you – it will help you throughout the entire optimization process. What You Will Learn Learn the three pillars of mobile performance Find out how to ask – and answer – crucial design questions such as ‘mobile or responsive?’ Learn how to minify CSS and JavaScript for improved performance Monitor and debug your website with the leading browser testing tools Explore the impact of caching on performance – and improve it using JavaScript and CSS frameworks Make third-party plugins your friend – avoid common issues and pitfalls In Detail With users increasingly accessing the web on mobile devices, it’s crucial to make sure your website is built to seamlessly fit this radical change in user behavior. Mobile Web Performance Optimization is designed to help you do exactly that – it’s been created to help you build fast, and mobile-user-friendly websites and applications. Featuring guidance through a range of techniques and tools essential to modern mobile development, this accessible guide will make sure you’re delivering a seamless and intuitive experience for your website’s users. Begin by exploring the fundamental components of mobile web design and website optimization, before learning how to put the concepts into practice. Featuring cross-platform solutions, insights on developing lightweight yet robust UI, and insights on how to successfully manage data, this application development book takes you through every stage in the development process – so you can be confident that you’re asking the right questions and using the best tools in the most effective way. By the end, you’ll understand implicitly what it means to ‘build for performance’- you’ll be a more confident developer, capable of building projects that adapt to a changing world. Style and approach This book takes a step-by-step approach to mobile web optimization, explaining the topics in a conversational and easy-to-follow style. Each topic includes detailed explanations of the basic and advanced features of mobile web optimization.
目录展开

Mobile Web Performance Optimization

Table of Contents

Mobile Web Performance Optimization

Credits

About the Author

About the Reviewer

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the color images of this book

Errata

Piracy

Questions

1. Pillars of Mobile Web Performance Optimization

A brief history of mobile development

Three main pillars

Battery

How a 3G wireless state machine works

How a 4G LTE wireless state machine works

Opening and closing connections

Speed

Bandwidth

Available browsers

Safari

Chrome

Internet Explorer

Firefox

Opera mini

Mobile OS

Apple iOS

Google Android

Microsoft Windows Phone 8

BlackBerry 10 OS

Summary

2. Mobile Web Optimization Essentials

Mobile-only websites versus responsive websites

HTTP requests

Combined files

CSS sprites

Image maps

Remove duplicate scripts

Enable Gzip compression

Image size matters

Resize your images to correct image resolution

Reduce the file size

Image compression tools

Tiny PNG

ImageOptim

Kraken

Unnecessary contents

Clean design

Duplicate content

Why design and UX are important

Summary

3. How to Optimize Your Mobile Website

Use of HTML5 and CSS3

Hardware acceleration and the Graphics Processing Unit

HTML5 form attributes and input types

Using web storage in place of cookies

Using CSS3 effects instead of requesting heavy images

Border-radius for rounded corners

Box-shadow for drop shadows and glow

Linear and radial gradients

Transform properties for rotation

Understanding CSS Filter Effects

CSS animation versus JavaScript

CSS animations

Iconic fonts

Font Awesome icons

IcoMoon icons

How to use media queries

Displaying none in CSS

Video and images via media queries

CSS preprocessors

SASS and LESS

Variables

SASS

LESS

Partials

SASS and LESS

Mixins

SASS

LESS

Minifying CSS and JavaScript

Minifying CSS

Minifying JavaScript

Summary

4. Caching and Optimizing

Caching

Cache-Control

Content prefetching

Make favicon icon small and cacheable

File order of external style sheets and scripts

Empty source and link attributes

CSS and JavaScript frameworks

Bootstrap

Zurb Foundation

UIkit

Semantic-UI

Susy

jQuery

AngularJS

Ember

Aurelia

Knockout.js

How to optimize JavaScript

Load only what is needed

Reduce the number of DOM elements

Summary

5. Monitoring and Debugging Our Website

Profiling tools

GPU Overdraw Walkthrough

GPU Rendering Walkthrough

A browser's DevTools performance

Remote debugging

Performance tools in Firefox, Safari, and IE

Firefox Developer Tools

IE 11 Developer Tools

Safari Developer Toolbar

The Google Chrome emulator

Google PageSpeed Insights

YSlow

Summary

6. Managing Third-Party Components

Eliminating 404 errors and missing assets

HTTP 300, 400, and 500 codes

Content Delivery Network

Third-party plugins

Opening connection

Closing connection

Offloading to Wi-Fi

Screen rotations

Flash files

Summary

7. Tips and Tricks

Built for performance

When to optimize

Invest for performance

Design tools

Performing actions optimistically

Move bits when no one is watching

Less work for the end user

New Relic

We can't predict the future, nevertheless embrace it

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部