TypeScript High Performance
暫譯: TypeScript 高效能編程

Ajinkya Kher

  • 出版商: Packt Publishing
  • 出版日期: 2017-08-22
  • 售價: $1,880
  • 貴賓價: 9.5$1,786
  • 語言: 英文
  • 頁數: 230
  • 裝訂: Paperback
  • ISBN: 1785288644
  • ISBN-13: 9781785288647
  • 相關分類: JavaScriptTypeScript
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Efficiently use Data Structures, Language Constructs, & Handle Asynchrony
  • Monitor the performance, Code Quality, & Resource Optimizations
  • Build & Deploy Strategies for Large Scale TypeScript Projects

Book Description

In a world where a tiny decrease in frames per second impacts customer engagement greatly, writing highly scalable code is more of a necessity than a luxury. Using TypeScript you get type checking during development. This gives you the power to write optimized code quickly. This book is also a solid tool to those who’re curious to understand the impact of performance in production, and it is of the greatest aid to the proactive developers who like to be cognizant of and avoid the classic pitfalls while coding.

The book will starts with explaining the efficient implementation of basic data Structures, data types, and flow control. You will then learn efficient use of advanced language constructs and asynchronous programming. Further, you'll learn different configurations available with TSLint to improve code quality and performance. Next, we'll introduce you to the concepts of profiling and then we deep dive into profiling JS with several tools such as firebug, chrome, fiddler. Finally, you'll learn techniques to build and deploy real world large scale TypeScript applications.

What you will learn

  • Learn about the critical rendering path, and the performance metrics involved along the same
  • Explore the detailed inner intricacies of a web browser
  • Build a large scale front end applications and learn the thought process behind architecting such an effort
  • Understand the challenges of scalability and how TypeScript renders itself to the cause
  • Learn efficient usage of TypeScript constructs to deliver high performance and avoid common mistakes and pitfalls that can hamper performance
  • Monitor performance, resolve and detect performance bottlenecks in production, and learn the tools involved

About the Author

Ajinkya Kher is a full stack developer, currently working at Microsoft on the communications infrastructure for Skype and Microsoft teams. He is passionate about modern scalable architectural patterns, efficient problem solving, and process design. His experience and expertise is in the .NET middle tier/backend and modern HTML5 frontend frameworks.

He loves getting his hands dirty with the latest and the greatest technologies out there. In his free time, you can find him winning Hackathons, building mobile applications, and lifting weights. He has been playing tennis for more than a decade and has been an ardent fan of cricket and Sachin Tendulkar since childhood, his weekends are thus often spent playing these two sports. He also likes to practice and read about spirituality and philosophy whenever he can.

Check out his latest podcast Building Modern Web Applications using React/Redux/Angular2/RxJs on YouTube and you can also follow him on LinkedIn.

Table of Contents

  1. Efficient Implementation of Basic Data Structures and Algorithms
  2. Variable Declarations, Namespaces & Modules
  3. Efficient Usage of Advanced Language Constructs
  4. Asynchronous Programming & Responsive UI
  5. Write Quality Code & Improve Performance with TSLint
  6. Critical Rendering Path & Efficient Resource Loading
  7. Profile Deployed JS with Developer Tools & Fiddler
  8. Build & Deployment Strategies for Large Scale Projects

商品描述(中文翻譯)

#### 主要特點
- 高效使用資料結構、語言結構及處理非同步
- 監控性能、程式碼品質及資源優化
- 為大型 TypeScript 專案建立與部署策略

#### 書籍描述
在每秒幾幀的微小減少會大幅影響客戶參與度的世界中,撰寫高度可擴展的程式碼已成為必要而非奢侈。使用 TypeScript,您可以在開發過程中進行類型檢查,這使您能夠快速撰寫優化的程式碼。本書對於那些好奇了解生產環境中性能影響的人來說,也是一本堅實的工具,並且對於那些喜歡意識到並避免編碼過程中經典陷阱的主動開發者來說,幫助極大。

本書將從解釋基本資料結構、資料類型和流程控制的高效實現開始。接著,您將學習高效使用進階語言結構和非同步編程。此外,您將學習使用 TSLint 的不同配置來改善程式碼品質和性能。接下來,我們將介紹性能分析的概念,然後深入探討使用多種工具(如 firebug、chrome、fiddler)對 JS 進行性能分析。最後,您將學習構建和部署現實世界的大型 TypeScript 應用程式的技術。

#### 您將學到的內容
- 了解關鍵渲染路徑及其相關的性能指標
- 探索網頁瀏覽器的詳細內部結構
- 構建大型前端應用程式,並了解架構此類工作的思考過程
- 理解可擴展性的挑戰,以及 TypeScript 如何為此做出貢獻
- 學習高效使用 TypeScript 結構以提供高性能,並避免可能影響性能的常見錯誤和陷阱
- 監控性能,解決和檢測生產環境中的性能瓶頸,並學習相關工具

#### 關於作者
**Ajinkya Kher** 是一名全端開發者,目前在 Microsoft 工作,負責 Skype 和 Microsoft Teams 的通訊基礎設施。他對現代可擴展的架構模式、高效的問題解決和流程設計充滿熱情。他的經驗和專業知識集中在 .NET 中間層/後端和現代 HTML5 前端框架。

他喜歡親自接觸最新的技術。在空閒時間,您可以看到他參加黑客馬拉松、構建移動應用程式和舉重。他已經打了十多年的網球,並從小就是板球和 Sachin Tendulkar 的忠實粉絲,因此他的週末經常用來打這兩項運動。他也喜歡在有空時練習和閱讀靈性及哲學相關的內容。

查看他最新的播客《使用 React/Redux/Angular2/RxJs 構建現代網頁應用程式》,並可以在 LinkedIn 上關注他。

#### 目錄
1. 基本資料結構和演算法的高效實現
2. 變數聲明、命名空間與模組
3. 高效使用進階語言結構
4. 非同步編程與響應式 UI
5. 撰寫高品質程式碼與使用 TSLint 改善性能
6. 關鍵渲染路徑與高效資源加載
7. 使用開發者工具和 Fiddler 對已部署的 JS 進行性能分析
8. 大型專案的構建與部署策略