TypeScript Essentials
暫譯: TypeScript 基礎精要
Christopher Nance
- 出版商: Packt Publishing
- 出版日期: 2014-10-24
- 售價: $1,450
- 貴賓價: 9.5 折 $1,378
- 語言: 英文
- 頁數: 182
- 裝訂: Paperback
- ISBN: 1783985763
- ISBN-13: 9781783985760
-
相關分類:
JavaScript、TypeScript
海外代購書籍(需單獨結帳)
相關主題
商品描述
About This Book
- Explore the key features of TypeScript to develop web applications of your own
- Take advantage of the static typing system to improve the web development experience and add stability to your code
- Discover how to effectively use type annotations, declaration files, and ECMA script integration with lots of code and examples
Who This Book Is For
The book introduces the TypeScript language and its features to anyone looking to develop rich web applications. Whether you are new to web development or are an experienced engineer with strong JavaScript skills, this book will get you writing code quickly. A basic understanding of JavaScript and its language features are necessary for this book.
What You Will Learn
- Set up the environment to install the TypeScript compiler and development tools
- Explore the features of the TypeScript language such as type annotations, interfaces, classes, and modules
- Examine the JavaScript code that has been generated by the compiler
- Create modular code that can be reused again and again
- Develop an interactive web application that can be easily extended
- Integrate with common JavaScript libraries to ease development
- Improve performance and reduce network traffic
- Focus on creating reliable code through test-driven development
In Detail
Web applications work on a range of different devices, making them one of the most common ways in which users experience the web today. However, while the flexibility of web apps are great for users, for developers creating them with JavaScript, the process can be difficult, requiring more extensive and detailed coding work. TypeScript helps make the development of web apps easier, allowing you to quickly create scalable applications that will reach desktops, tablets, and mobiles. With TypeScript, your code becomes much more manageable and your work much more efficient. Its additional features, such as static typing, facilitate IDE support and further tooling.
This quick and insightful guide will provide you with an easy way into TypeScript. You will discover the features of the TypeScript language and gain hands-on experience in creating a web application with reusable components. You will explore the compiler and learn how to manipulate the resulting output to fit specific needs.
商品描述(中文翻譯)
**使用 TypeScript 開發大規模響應式網頁應用程式**
## 本書介紹
- 探索 TypeScript 的關鍵特性,以開發您自己的網頁應用程式
- 利用靜態類型系統來改善網頁開發體驗並為您的程式碼增添穩定性
- 發現如何有效使用類型註解、聲明檔案以及與 ECMA script 的整合,並提供大量的程式碼和範例
## 本書適合誰
本書向任何希望開發豐富網頁應用程式的人介紹 TypeScript 語言及其特性。無論您是網頁開發的新手,還是擁有強大 JavaScript 技能的經驗工程師,本書都將幫助您快速編寫程式碼。對 JavaScript 及其語言特性的基本理解是本書的必要條件。
## 您將學到什麼
- 設定環境以安裝 TypeScript 編譯器和開發工具
- 探索 TypeScript 語言的特性,如類型註解、介面、類別和模組
- 檢查編譯器生成的 JavaScript 程式碼
- 創建可重複使用的模組化程式碼
- 開發一個可以輕鬆擴展的互動式網頁應用程式
- 與常見的 JavaScript 函式庫整合以簡化開發
- 改善性能並減少網路流量
- 專注於通過測試驅動開發創建可靠的程式碼
## 詳細內容
網頁應用程式在各種不同的設備上運行,使其成為用戶當今體驗網路的最常見方式之一。然而,雖然網頁應用程式的靈活性對用戶來說非常好,但對於使用 JavaScript 創建它們的開發者來說,這個過程可能會很困難,需要更廣泛和詳細的編碼工作。TypeScript 有助於簡化網頁應用程式的開發,讓您能夠快速創建可擴展的應用程式,並能在桌面、平板和手機上運行。使用 TypeScript,您的程式碼變得更易於管理,您的工作效率也大幅提升。其附加特性,如靜態類型,促進了 IDE 支援和進一步的工具開發。
這本快速且具洞察力的指南將為您提供進入 TypeScript 的簡單途徑。您將發現 TypeScript 語言的特性,並獲得創建可重用組件的網頁應用程式的實踐經驗。您將探索編譯器,並學習如何操作生成的輸出以滿足特定需求。