Book description
Engineer naturally lean web pages and leverage the latest web platform features to dramatically boost page speed
About This Book
- The first book for web developers that shows how to put AMP to work
- Improve your website's mobile experience and get more traffic
- Practical methods to achieve a step change in performance quickly and easily
Who This Book Is For
This book is for experienced web developers who are aware of the impact of slow-loading web pages on conversion rates and user engagement, and who are seeking to serve content to their end users in a rich and enticing way using the Accelerated Mobile Pages framework. You should be familiar with HTML5, CSS3, JavaScript, and JSON.
What You Will Learn
- Build, validate, and deploy AMP pages
- Create interactive user notifications, navigation menus, accordions, contact pages with forms and maps
- Monetize your traffic with a variety of ad styles and providers
- Analyze your traffic by integrating analytics providers and tracking user-behavior along several dimensions
- Embed social media with amp-youtube, amp-instagram, amp-twitter, and amp-facebook
- Build e-commerce functionality including product pages and shopping carts
- Deliver rich media experiences using AMP custom elements
- Use advanced deployment techniques to extend functionality
- Install ServiceWorkers and build Progressive Web Apps for offline use
In Detail
Google introduced the Accelerated Mobile Pages (AMP) project to give mobile users lightning-fast response times when accessing web pages on mobile devices. AMP delivers great user experiences by providing a framework for optimizing web pages that otherwise would take much longer to load on a mobile platform.
This book shows how to solve page performance issues using the mobile web technologies available today. You will learn how to build instant-loading web pages, and have them featured more prominently on Google searches. If you want your website to succeed on mobile, if you care about SEO, and if you want to stay competitive, then this book is for you!
You will go on a mobile web development journey that demonstrates with concrete examples how to build lightning-fast pages that will keep your visitors on-site and happy. This journey begins by showing how to build a simple blog article-style web page using AMP. As new concepts are introduced this page is gradually refined until you will have the skills and confidence to build a variety of rich and interactive mobile web pages. These will include e-commerce product pages, interactive forms and menus, maps and commenting systems, and even Progressive Web Apps.
Style and approach
Get step-by-step instructions to build web pages of different types, gain expert tricks to brand your pages without bloating them, and see methods to embed advertising.
Table of contents
- Preface
- Ride the Lightning with AMP
- Building Your First AMP Page
- Making an Impression - Layout and Page Design in AMP
-
Engaging Users with Interactive AMP Components
- Building collapsible content with <amp-accordion>
- Building navigation menus
- Implementing tabbed content with <amp-selector>
- Displaying user notifications
- The Action and Event model in AMP
- Summary
-
Building Rich Media Pages in AMP
- Showcasing products with <amp-carousel>
- Adding video to AMP pages
- Adding audio to AMP pages
- Showcasing your products with <amp-lightbox>
- Using social media in AMP pages
- Improving product SEO with metadata
- Using tabs in product pages
- Summary
- Making Contact - Forms in AMP
- Dynamic Content and Data-Driven Interaction
-
Programming in AMP - amp-bind
- Introducing <amp-bind>
- Removing cart items with <amp-bind>
- Improving search with <amp-list> and <amp-bind>
- Improving the product image carousel with <amp-bind>
- Configuring product options with <amp-bind>
- Summary
- When AMP Is Not Enough - Enter the iframe
- Ads and Analytics in AMP
- AMP Deployment and Your Web Presence
- AMP - Where It's At and Where It's Going
- AMP Components
- Actions and Events
- amp-bind Whitelisted Functions
- amp-bind Permitted Attribute Bindings
Product information
- Title: AMP: Building Accelerated Mobile Pages
- Author(s):
- Release date: October 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786467317
You might also like
video
Applying and Measuring Your CSS Against Your Style Guide
Maintaining the CSS for any web site or app can be extremely challenging as the product …
video
GenAI Essentials for Everyone - Overview
Our team of experts has hand-selected and organized the most crucial concepts and practical applications of …
book
Developing for Apple Watch
The Apple Watch offers the closest connection yet between your app and users. But you can't …
article
Have ChatGPT Ask You Questions
ChatGPT Shortcuts shows future prompt engineers how to harness the full potential of the state-of-the-art AI …