Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications

Libby, Alex

  • 出版商: Apress
  • 出版日期: 2024-04-12
  • 售價: $1,040
  • 貴賓價: 9.5$988
  • 語言: 英文
  • 頁數: 135
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868802485
  • ISBN-13: 9798868802485
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Leverage the power of the Shadow DOM API to quickly create encapsulated code that keeps markup and styles separate within websites. Using little more than a text editor or free software, this project-oriented book simplifies the process of creating and manipulating the Shadow DOM API code in the browser for websites or online applications.

You'll use a starting toolset to develop future projects, incorporate them into an existing workflow, and allow them to simplify complex components. This makes them more robust and less brittle when used in websites. You'll also see that websites do not have to convert the whole work process immediately; you can incorporate as little or as much as needed of the API, and build on this as your skills develop.

We live in an age where speed and simplicity are of the essence. Beginning Shadow DOM API shows you the perfect way to create encapsulated code that can run in multiple frameworks with a minimum of fuss.

You You'll Learn

  • Implement the Shadow DOM API in a project
  • Gain an appreciation of pointers using the Shadow DOM API
  • Manage issues and security when using the Shadow DOM API
  • Make components and code more reusable, while maintaining desired styling

Who This Book Is For

Website developers who are already familiar with frameworks that Shadow DOM API, but do not want to have to use the heavy weight of a full-sized framework to add features such as DOM encapsulation to their code.


商品描述(中文翻譯)

利用 Shadow DOM API 的強大功能,快速創建在網站中將標記和樣式分離的封裝代碼。只需一個文本編輯器或免費軟件,這本以項目為導向的書籍簡化了在瀏覽器中創建和操作 Shadow DOM API 代碼的過程,適用於網站或在線應用程序。

您將使用一組起始工具來開發未來的項目,將它們納入現有的工作流程中,並使其簡化複雜組件。這使得它們在網站中使用時更加強大且不易破碎。您還將看到,網站不必立即轉換整個工作流程;您可以根據需要將 API 的一部分或全部納入其中,並在技能發展的過程中進一步擴展。

我們生活在一個追求速度和簡潔的時代。《Beginning Shadow DOM API》向您展示了一種完美的方式,可以在多個框架中運行的封裝代碼,而不需要繁瑣的操作。

您將學到以下內容:
- 在項目中實現 Shadow DOM API
- 通過使用 Shadow DOM API 來理解指針
- 在使用 Shadow DOM API 時處理問題和安全性
- 使組件和代碼更可重用,同時保持所需的樣式

本書適合以下讀者:
- 已熟悉使用 Shadow DOM API 的框架的網站開發人員,但不想使用完整框架的沉重負擔來為代碼添加 DOM 封裝等功能。

作者簡介

Alex Libby is a frontend developer and seasoned computer book author, who hails from England. His passion for all things open-source dates back to his student days, when he first came across web development, and has been hooked ever since. His daily work involves extensive use of JavaScript, HTML, and CSS to manipulate existing website content; Alex enjoys tinkering with different open-source libraries to see how they work. He has spent a stint maintaining the jQuery Tools library, and enjoys writing about open-source technologies, principally for front-end UI development.

作者簡介(中文翻譯)

Alex Libby是一位來自英國的前端開發人員和經驗豐富的電腦書籍作者。他對所有開源事物的熱情可以追溯到他的學生時代,當時他第一次接觸到網頁開發,從那時起就一直迷戀著。他每天的工作涉及廣泛使用JavaScript、HTML和CSS來操作現有的網站內容;Alex喜歡嘗試不同的開源庫,看看它們是如何工作的。他曾經維護過jQuery Tools庫,並喜歡撰寫關於開源技術的文章,主要是為了前端UI開發。