Building Polyfills (Paperback)

Brandon Satrom

  • 出版商: O'Reilly
  • 出版日期: 2014-03-25
  • 定價: $700
  • 售價: 8.0$560
  • 語言: 英文
  • 頁數: 170
  • 裝訂: Paperback
  • ISBN: 144937073X
  • ISBN-13: 9781449370732
  • 相關分類: HTMLJavaScript
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

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

商品描述(中文翻譯)

這本實用的實戰手冊由作者Brandon Satrom介紹了撰寫polyfill程式庫的原則和指南,並引導讀者逐步建立一個複雜的、真實世界的HTML5 polyfill。通過撰寫polyfill程式庫,您可以為新舊瀏覽器添加自定義功能,將瀏覽器的能力提升到超越其本身的範圍。

您還將探索polyfill的未來,即prollyfill,這將使您能夠在瀏覽器供應商之前測試和使用新興概念。通過閱讀本書,您將獲得所需的工具和實踐經驗,以構建可靠的polyfill,以滿足當今和未來的Web需求。

本書內容包括:
- 了解polyfill的現狀,包括shims、opt-ins和drop-ins
- 使用原則和實踐方法來構建負責任的polyfill,使整個Web開發社區受益
- 為HTML5表單polyfill程式庫構建多個功能
- 配置構建環境並運行自動化的跨瀏覽器測試
- 優化性能,處理邊緣情況,調整polyfill的速度
- 獲得推動Web界限的prollyfill程式庫示例
- 撰寫一個示例prollyfill並將其與當前的polyfill版本進行比較