Learning TypeScript(Paperback)

Remo H. Jansen

  • 出版商: Packt Publishing
  • 出版日期: 2015-09-30
  • 售價: $1,890
  • 貴賓價: 9.5$1,796
  • 語言: 英文
  • 頁數: 320
  • 裝訂: Paperback
  • ISBN: 1783985542
  • ISBN-13: 9781783985548
  • 相關分類: JavaScriptTypeScript
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Exploit the features of TypeScript to develop and maintain captivating web applications with ease

About This Book

  • Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript
  • Create object-oriented JavaScript that adheres to the solid principles efficiently
  • A comprehensive guide that explains the fundamentals of TypeScript with the help of practical examples

Who This Book Is For

If you are a JavaScript developer aiming to learn TypeScript to build beautiful web applications, then this book is for you. No prior knowledge of TypeScript is required.

What You Will Learn

  • Learn the key TypeScript language features and language runtime
  • Develop modular, scalable, maintainable, and adaptable web applications
  • Create object-oriented code that adheres to the solid principles
  • Save time using automation tools like Gulp and Karma
  • Develop robust applications with testing (Mocha, Chai and SinonJS)
  • Put your TypeScript skills in practice by developing a single-page web application framework from scratch
  • Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript

In Detail

TypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. It allows developers to use the future versions of JavaScript (ECMAScript 6 and 7) today. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications.

This book is a step-by-step guide that will get you started with TypeScript with the help of practical examples. You start off by understanding the basics of TypeScript. Next, automation tools like Grunt are explained followed by a detailed description of function, generics, callbacks and promises. After this, object-oriented features and the memory management functionality of TypeScript are explained. At the end of this book, you will have learned enough to implement all the concepts and build a single page application from scratch.

Style and approach

This is a step-by-step guide that covers the fundamentals of TypeScript with practical examples. Each chapter introduces a set of TypeScript language features and leads the readers toward the development of a real-world application.

商品描述(中文翻譯)

利用TypeScript的功能輕鬆開發和維護引人入勝的網絡應用程式

關於本書
- 通過利用TypeScript,學習開發模塊化、可擴展、易於維護和適應的網絡應用程式
- 創建符合SOLID原則的面向對象的JavaScript
- 通過實際示例詳細解釋TypeScript的基礎知識

本書適合對象
- 如果你是一名JavaScript開發人員,想要學習TypeScript來構建漂亮的網絡應用程式,那麼本書適合你。不需要事先了解TypeScript。

你將學到什麼
- 學習關鍵的TypeScript語言特性和語言運行時
- 開發模塊化、可擴展、易於維護和適應的網絡應用程式
- 創建符合SOLID原則的面向對象的代碼
- 使用Gulp和Karma等自動化工具節省時間
- 使用測試(Mocha、Chai和SinonJS)開發強大的應用程式
- 通過從頭開始開發單頁網絡應用程式框架來實踐你的TypeScript技能
- 使用TypeScript今天就使用未來版本的JavaScript(ES6和ES7)

詳細內容
TypeScript是一個開源的、跨平台的、編譯為任何瀏覽器或主機上運行的純JavaScript的類型超集。它允許開發人員今天就使用未來版本的JavaScript(ECMAScript 6和7)。TypeScript添加了可選的靜態類型、類和模塊到JavaScript,以實現出色的工具和更好的結構化大型JavaScript應用程式。

本書是一本逐步指南,通過實際示例幫助你入門TypeScript。你將首先了解TypeScript的基礎知識。接下來,將解釋自動化工具如Grunt,然後詳細描述函數、泛型、回調和承諾。之後,將解釋TypeScript的面向對象特性和內存管理功能。在本書結束時,你將學到足夠的知識來實現所有的概念,並從頭開始構建一個單頁應用程式。

風格和方法
這是一本逐步指南,通過實際示例介紹TypeScript的基礎知識。每一章介紹一組TypeScript語言特性,並引導讀者開發一個真實世界的應用程式。