Developing Web Components with Typescript: Native Web Development Using Thin Libraries
暫譯: 使用 TypeScript 開發網頁元件:利用輕量級函式庫的原生網頁開發
Krause, Jörg
- 出版商: Apress
- 出版日期: 2021-03-13
- 售價: $2,350
- 貴賓價: 9.5 折 $2,233
- 語言: 英文
- 頁數: 266
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1484268393
- ISBN-13: 9781484268391
-
相關分類:
JavaScript、TypeScript
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$520$411 -
$580$458 -
$580$458 -
$2,010$1,910
商品描述
Create professional and progressive web apps with the native HTML API on the latest technology stack. This book describes the basics of web components and how to create them using plain JavaScript as well as how to make professional applications based on web components using TypeScript.
Developing Web Components with TypeScript looks at APIs using examples, techniques, and tricks. You will start with a brief introduction to web components, including slots and templates, handling custom events, and styling components with or without shadow DOM. Then, it introduces TypeScript as part of the tool set. It shows the internal construction of a professional thin library. It also helps you learn how to deal with web components in real-life projects; this includes techniques such as creating a single-page app without framework code. All code samples used here are supported by all modern browsers for you to follow along. Library code and examples are available on GitHub.
What You Will Learn
- Create isolated web components using shadow DOM, slots, and templates
- Understand the advantage of an enhanced toolset, especially TypeScript
- Pick up styles and customizations
- Master professional web apps using native APIs
- Understand the life cycle of a component
Who This Book Is For
Professional developers who want to move from desktop to web and away from fat frameworks to achieve their goal.商品描述(中文翻譯)
使用最新技術堆疊的原生 HTML API 創建專業和進階的網頁應用程式。本書描述了網頁元件的基本概念,以及如何使用純 JavaScript 創建它們,還有如何基於網頁元件使用 TypeScript 開發專業應用程式。
使用 TypeScript 開發網頁元件 通過範例、技術和技巧來探討 API。您將從網頁元件的簡要介紹開始,包括插槽和模板、處理自定義事件,以及使用或不使用影子 DOM 來樣式化元件。接著,將 TypeScript 介紹為工具集的一部分。它展示了一個專業輕量級庫的內部結構。它還幫助您學習如何在實際項目中處理網頁元件;這包括創建無框架代碼的單頁應用程式等技術。這裡使用的所有代碼範例都受到所有現代瀏覽器的支持,方便您跟隨學習。庫代碼和範例可在 GitHub 上獲得。
您將學到什麼
- 使用影子 DOM、插槽和模板創建獨立的網頁元件
- 理解增強工具集的優勢,特別是 TypeScript
- 掌握樣式和自定義
- 使用原生 API 精通專業網頁應用程式
- 理解元件的生命週期
本書適合誰
專業開發人員,想要從桌面轉向網頁,並擺脫繁重框架以實現他們的目標。作者簡介
Jörg Krause has been working with software and software technology since the early 1980s, beginning with a ZX 81 and taking his first steps as a programmer in BASIC and assembly language. He studied information technology at Humboldt University, Berlin, but left early, in the 1990s, to start his own company. He has worked with Internet technology and software development since the early days when CompuServe and FidoNet dominated. He has worked with Microsoft technologies and software since Windows 95. In 1998, he worked on one of the first commercial e-commerce solutions and wrote his first book. Due to its wide success, he started working as a freelance consultant and author in order to share his experience and knowledge with others. He has written several books for Apress, Hanser, Addison Wesley, and other major publishers along with several self-published books--a total of over 60 titles. He also publishes articles in magazines and speaks at major conferences in Germany. Currently, Jörg works as an independent consultant, software developer, and author in Berlin, Germany.
In his occasional spare time, Jörg enjoys reading thrillers and science fiction novels and going on a round of golf.
Follow him on Twitter at @joergisgeek for updates and insights.
作者簡介(中文翻譯)
約爾格·克勞斯(Jörg Krause)自1980年代初期以來一直從事軟體及軟體技術的工作,最初使用ZX 81,並以BASIC和組合語言開始他的程式設計之路。他在柏林的洪堡大學(Humboldt University)學習資訊科技,但在1990年代早期便中途退學,創立了自己的公司。他自互聯網技術和軟體開發的早期階段便開始工作,當時CompuServe和FidoNet主導市場。他自Windows 95以來便一直在使用微軟技術和軟體。1998年,他參與了第一批商業電子商務解決方案之一的開發,並撰寫了他的第一本書。由於這本書的廣泛成功,他開始以自由顧問和作者的身份工作,以分享他的經驗和知識。他為Apress、Hanser、Addison Wesley及其他主要出版社撰寫了幾本書籍,並自費出版了幾本書籍,總計超過60本。他還在雜誌上發表文章,並在德國的主要會議上演講。目前,約爾格在德國柏林擔任獨立顧問、軟體開發人員和作者。
在偶爾的空閒時間,約爾格喜歡閱讀驚悚小說和科幻小說,並打高爾夫球。
在Twitter上關注他,獲取更新和見解,帳號為@joergisgeek。