Katana VentraIP

Polyfill (programming)

In software development, a polyfill is code that implements a feature of the development environment that does not natively support the feature. Most often, it refers to JavaScript code that implements an HTML5 or CSS web standard, either an established standard (supported by some browsers) on older browsers, or a proposed standard (not supported by any browsers) on existing browsers. Polyfills are also used in PHP and Python.[1]

For other uses, see Polyfill (disambiguation).

Polyfills allow web developers to use an API regardless of whether or not it is supported by a browser, and usually with minimal overhead. Typically they first check if a browser supports an API, and use it if available, otherwise using their own implementation.[2][3] Polyfills themselves use other, more supported features, and thus different polyfills may be needed for different browsers. The term is also used as a verb: polyfilling is providing a polyfill for a feature.

Adapter pattern

Shim (computing)

Wrapper library

Adaptive web design

Backwards compatibility

. GitHub: Modernizr project.

"List of polyfills providing HTML5 facilities"

Manian, Divya; ; Branyen, Tim; Montgomery, Connor; Verschaeve, Arthur; et al. (eds.). "HTML5 Polyfill List by Feature". HTML5 Please. The recommendations... represent the collective knowledge of developers who have been deep in the HTML5 trenches

Irish, Paul

. More on Few. Sep 5, 2013.

"What are PolyFills in Javascript?"