Developing Web Components with Svelte: Building a Library of Re-Usable Ui Components and Utilities

Libby, Alex

  • 出版商: Apress
  • 出版日期: 2023-02-25
  • 售價: $2,330
  • 貴賓價: 9.5$2,214
  • 語言: 英文
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484290380
  • ISBN-13: 9781484290385
  • 相關分類: 使用者介面 UI
  • 海外代購書籍(需單獨結帳)

商品描述

Leverage the power of Svelte to quickly produce the foundations of a framework-agnostic component library that can extend and develop over time. This is a project-oriented book that simplifies setting up the skeleton of the library and adding components, using little more than a text editor or free software.

You'll gain a starting baseline that can be used to develop future projects or incorporated into an existing workflow. You'll take development to the next level and can use this knowledge to create components with any framework, such as React, Angular or Vue.js, not just Svelte. Developing Web Components with Svelte is an excellent resource for getting acquainted with creating and maintaining a component library using a phased approach. It takes the view that you don't have to create something complex and unwieldy. Instead, you can start building something quickly, then extend it as needs dictate over time, without sacrificing speed or features.

You'll see how to develop cleaner components in a quick, clear and straightforward way. The components you create in this project can be made available in one of the world's most extensive component ecosystems to be usable by other frameworks, making them genuinely reusable. In short, Svelte offers plenty of opportunities as it is based on Node.js and JavaScript making Svelte a powerful package to work from.

 

What You'll Learn

 

  • Use the Svelte framework to rapidly create and deploy the foundation of a component library that is versatile and performant
  • Review developing and customizing components based on our needs
  • Work through a real-world project to help solidify skills learned from the book and put them into practice

Who This Book Is For

 

  • Website developers, familiar with JavaScript, who are keen to learn how to leverage the Svelte framework fast
  • Agile development teams, where time is of the essence, and the pressure is on to deliver results quickly
  • Developers who want to focus on simplicity, to produce efficient and optimized content in modern browsers using tools readily available

商品描述(中文翻譯)

利用 Svelte 的強大功能,快速建立一個與框架無關的元件庫的基礎,並隨著時間的推移進行擴展和開發。這是一本以專案為導向的書籍,通過僅使用文本編輯器或免費軟體,簡化了建立元件庫的骨架和添加元件的過程。

您將獲得一個起始基準,可用於開發未來的專案或融入現有的工作流程。您將提升開發水平,並可以將這些知識應用於使用任何框架(如 React、Angular 或 Vue.js)創建元件,而不僅僅是 Svelte。《使用 Svelte 開發網頁元件》是一個優秀的資源,可讓您熟悉使用分階段方法創建和維護元件庫。它認為您不必創建複雜且難以掌握的東西。相反,您可以快速開始構建,然後根據需要逐步擴展,而不會影響速度或功能。

您將學習如何以快速、清晰和簡單的方式開發更乾淨的元件。您在這個專案中創建的元件可以在全球最廣泛的元件生態系統之一中使用,以供其他框架使用,使它們真正可重複使用。簡而言之,Svelte 提供了許多機會,因為它基於 Node.js 和 JavaScript,使 Svelte 成為一個強大的開發工具。

您將學到以下內容:

- 使用 Svelte 框架快速創建和部署一個多功能且高效的元件庫
- 根據需求開發和自定義元件
- 通過實際專案來鞏固書中所學的技能並將其應用到實踐中

本書適合對 JavaScript 有一定了解的網站開發人員,他們渴望快速利用 Svelte 框架。同時也適合在時間緊迫且壓力很大的敏捷開發團隊,以及希望專注於簡單性,使用現有工具在現代瀏覽器中生成高效且優化的內容的開發人員。