Building Polyfills
Web Platform APIs for the Present and Future
Publisher: O'Reilly Media
Final Release Date: February 2014
Pages: 170

Add custom features to browsers old and new by writing polyfill libraries, JavaScript plugins that take browsers beyond their native capabilities. In this practical fieldbook, author Brandon Satrom introduces principles and guidelines for polyfill development, and then walks you through the steps for building a complex, real-world HTML5 polyfill.

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyBuilding Polyfills
 
4.3

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Pros

  • Easy to understand (3)

Cons

No Cons

Best Uses

No Best Uses
    • Reviewer Profile:
    • Developer (3)

Reviewed by 3 customers

Displaying reviews 1-3

Back to top

 
4.0

Extremely good introduction

By François

from Belgium

About Me Developer

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand

Cons

  • Lack Practical Challenges

Best Uses

  • Intermediate
  • Novice
  • Student

Comments about oreilly Building Polyfills:

The book itself is insightful & easy-to-read, and expose concepts in a very nice way; that being said I was expecting a bit more practical examples of how you should build a polyfill (there are some in the book, but I guess I just wanted some more of them).

 
5.0

Learn By Doing

By Burke

from Nashville, TN

About Me Developer, Educator

Pros

  • Accurate
  • Comprehensive
  • Easy to understand
  • Helpful examples

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Building Polyfills:

    I followed this book from start to finish and found it extremely comprehensive and well written. If you don't know what things like Grunt or Karma or some of these other tools are, you will by the time you get done with this book. Not only does this book talk about building pollyfills and how to do it, you get a sick amount of peripherall JavaScript build tooling in the process of actually building out the sample pollyfill. This book seriously ups your JS game - several notches.

    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.

    (1 of 1 customers found this review helpful)

     
    4.0

    A Fun Read for JavaScript Developers

    By rhephner

    from Charlottesville, VA

    About Me Designer, Developer

    Verified Reviewer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Not comprehensive enough

    Best Uses

    • Expert

    Comments about oreilly Building Polyfills:

    Building Polyfills is a fun book to read. It's about how to contribute to the Polyfill community and build something that can make life easier for other JavaScript developers. Brandon Satrom the purpose and history of polyfills and then walks the reader through building a polyfill for HTML 5 Forms using Kendo UI. What makes this book interesting is its scope. This book covers the creation of a polyfill from picking a suitable subject to publishing it through Modenizr and Github. It covers how to decipher the W3C documentation, the basics of git, the merits of various popular JavaScript frameworks, and even experimental Polyfills that can enhance a developer's toolkit. The book contains code that is both clear and relevant. In the process of learning how to build a Polyfill, the reader is introduced to Kendo UI. All of this information is great for JavaScript developers whether or not they're interested in building their own Polyfills. The only drawback to this book may be that it has an expiration date. Eventually browsers will even themselves out and Polyfills will no longer be necessary. In the meantime, this is a good read for JavaScript Developers.

    Displaying reviews 1-3

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $16.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook:  $21.99
    Print:  $19.99