Patterns in Polymer

Patterns in

Patterns in Polymer

Reusable web components in glorious isolation

Polymer lets you create your own <HTML> tags in complete isolation from what the rest of the web page is doing. The result is rock-solid, reusable code that just works™. Learn how to get the most out of this exciting new platform.

See Formats & PricingMultiple DRM-free formats

Blueprints for ‹web-components›
in the real world.

As web application complexity spirals out of control, next generation browser features that cut through the craziness remain out of reach.
What if you could use next generation features today?

Patterns in Polymer

A book to make the future web work for you.

See Formats & PricingMultiple DRM-free formats

Create your own HTML elements.

HTML is great for presentation. The modern web is the application. Learn to enclose presentation, logic, or both inside of HTML elements that you control.

Beyond the introduction.

You've read the excellent Polymer project documentation. You've created your first Polymer elements. So now what? This book is the book that you read next to build great Polymer elements.

Rock solid.

Don't just create applications and HTML elements. Build them to last. Your customers want applications that will stand the test of time and so do you. This book will give you real world tips and techniques so that your Polymer elements work. Perfectly. Every time.

Two languages, two books.

From the outset, there are two versions of Patterns in Polymer. Not two books in one, but two books. You can read it in Dart, JavaScript or both!

Edition 1.5 Pricing*

Covers PolymerJS 1.6+ and Polymer Dart 0.16.



  • Get the JavaScript version!
  • Get the Dart version!
  • Three DRM-free formats:
    • PDF
    • ePub
    • Kindle
  • Private GitHub repository access to see how it's done.

I Only Like One

  • Still get access to the private GitHub repository!
  • I love language X and only want that one!
  • Three DRM-free formats:
    • PDF
    • ePub
    • Kindle
  • Save a couple of bucks.


  • Get the multi-language pack plus…
  • Screencasts of TDDing a Polymer element.
    • 3 Screencasts in both Dart and JavaScript!
  • The warm feeling of helping produce the book.
  • Inclusion in the supporters section of the book.
  • Chris's undying love.
  • More...?

* The 1.5 edition contains 15 chapters and is approximately 125 pages. You never have to pay when new updates or new editions are available. Ever! And you have a no questions asked, money-back guarantee.

Table of Contents

  1. The Polymer Pattern
  2. Model Driven Views
  3. Passing Data to Child Polymer Elements
  4. Passing Data from Child Polymer Elements
  5. Internationalization in Polymer
  6. Hooking into Container Events
  7. Normalizing Events
  8. 3rd Party Libraries
  9. Watching Attribute Changes
  10. Testing
  11. Page Objects for Better Testing
  12. Wrapping SVG
  13. Working with Native HTML Forms
  14. Angular and Polymer
  15. Live Reload

The list and order of the chapters is the same in both the Dart and JavaScript versions of the book. The goal is to identify patterns that are truly Polymer patterns, transcending the two languages.

About the author.

From the hepcat that brought you The SPDY Book, the co-author of the fabulous Backbone.js book, Recipes with Backbone, the author of Dart for Hipsters and the guy that brought JavaScript to the kids in 3D Game Programming for Kids.

Chris Strom