You’ll also explore the future of polyfilling—or prollyfilling—that will enable you to test and work with emerging concepts, often ahead of browser vendors. By the time you finish this book, you’ll have the tools and hands-on experience you need to build reliable polyfills for today’s and tomorrow’s Web.
Learn the current state of polyfills, including shims, opt-ins, and drop-ins
Use principles and practices to build responsible polyfills that benefit the entire web development community
Build out several features for an HTML5 Forms polyfill library
Configure a build environment and run automated cross-browser testing
Optimize performance, handle edge cases, and fine-tune the speed of your polyfill
Get examples of prollyfilling libraries that push the boundaries of the Web
Write a sample prollyfill and compare it to current polyfill builds
Chapter 1 The Current State of Web Polyfills
Polyfilling: Past, Present, and Future
What Is a Polyfill (and What Is It Not)?
Types of Polyfills
Why Polyfills Still Matter
Chapter 2 Principles and Practices of Polyfill Development
Building Responsible Polyfills
Principles of Responsible Polyfill Development
Chapter 3 Building Your First Polyfill, Part 1: Getting Started
The HTML5 Forms Polyfill
Setting Up Your Polyfill Project
Specifying the API
Deciding What to Build
Adding Basic Features
Beefing Up Your Polyfill with Additional Features
Building Utility Polyfills
Polyfilling Visual Features With CSS
Testing Your Work Across Browsers
Chapter 4 Building Your First Polyfill, Part 2: Build Workflows and Cross-Browser Testing
Setting Up Your Project Workflow
Jump-Starting Your Workflow
Adding Unit Tests to Your Polyfill
Automating Cross-Browser Polyfill Testing
Configuring Cross-Browser Tests with Karma
The Bottom Line: Use What Works for You!
Chapter 5 Building Your First Polyfill, Part 3: Performance and Edge-Case Testing
The animal on the cover of Building Polyfills is a beech marten (Martes foina), a smallmammal native to Europe and central Asia. It is also known as a stone marten or whitebreastedmarten. It is very adaptable: it lives in both open and forested habitats, and isomnivorous. While plants, nuts, and fruit make up a high percentage of their diet, beechmartens also eat eggs, mice, rats, and small birds. Occasionally, they will hunt domesticchickens and rabbits.
Beech martens have coarse brown fur and a white patch on their throat and chest. Notincluding their long bushy tails (which average around 10 inches long), they are usually16-19 inches long and weigh 3-5 pounds. They are about the size of a house cat, albeitwith a more slender body.
The homes of beech martens can be found in rock crevices, abandoned burrows, treeholes, and even nooks within human buildings—they do not dig their own dens. Beechmartens are nocturnal, most active between 6 p.m. to midnight. They are typically solitaryanimals, except during the summer mating season. Male territories often overlapwith those of females, allowing them access to multiple potential mates. Kits aren’t bornuntil the following spring: implantation is delayed until roughly 230 days after mating,and gestation takes another month.
In the fur trade, beech marten pelts aren’t viewed as of high a quality as related specieslike the pine marten or sable. Nevertheless, they are still hunted in areas where morevaluable furred animals aren’t present. There is a population of beech martens in NorthAmerica—particularly, the state of Wisconsin—descended from animals who escapedfrom a commercial fur farm in the 1940s.
The cover image is from A History of British Quadrupeds. The cover fonts are URWTypewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading
I learn by doing, and this book does it right. It's not just concepts and theory. This is everything you need to know about pollyfills.
Bottom Line Yes, I would recommend this to a friend