Learning TypeScript 2.x - Second Edition

Remo H. Jansen

  • 出版商: Packt Publishing
  • 出版日期: 2018-04-30
  • 定價: $1,650
  • 售價: 6.0$990
  • 語言: 英文
  • 頁數: 536
  • 裝訂: Paperback
  • ISBN: 1788391470
  • ISBN-13: 9781788391474
  • 相關分類: JavaScriptTypeScript
  • 立即出貨 (庫存=1)

商品描述

Key Features

  • Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript
  • A comprehensive guide that explains the fundamentals of TypeScript with the help of practical examples
  • Enhance your web development skills and accelerate your development using TypeScript 2.x

Book Description

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. 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 and the new features of TypeScript 2.x. Next, you will learn to automate your development workflow with tools such as Grunt. Following this, you will be explained in detail about function, generics, and callbacks. Post this, object-oriented features and the memory management functionality of TypeScript are explained in detail. Going forward, you will be introduced to Functional Programming with TypeScript and will delve into Asynchronous programming principles. Finally, you will be introduced to the performance parameters and will learn to test your application.

By the end of this book, you will have learned enough to implement all the concepts with the latest features of TypeScript to build a single page application from scratch.

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, Webpack, Ts node and Karma
  • Develop robust applications with testing (Mocha, Chai and SinonJS)
  • Put your TypeScript skills into practice by developing a single-page web application framework from scratch
  • Use the JavaScript of tomorrow (ES6 and ES7) today with TypeScript

商品描述(中文翻譯)

主要特點



  • 學習如何利用TypeScript開發模組化、可擴展、易維護和適應性強的網絡應用程式

  • 通過實際例子解釋TypeScript的基礎知識的全面指南

  • 使用TypeScript 2.x增強您的網絡開發技能並加快開發速度

書籍描述


TypeScript是一個開源的、跨平台的、編譯成任何瀏覽器或主機上運行的純JavaScript的有類型的超集。TypeScript添加了可選的靜態類型、類和模組到JavaScript,以實現更好的工具支持和更好的結構化大型JavaScript應用程式。


本書是一個逐步指南,通過實際例子幫助您入門TypeScript。您將首先了解TypeScript 2.x的基礎知識和新特性。接下來,您將學習如何使用Grunt等工具自動化開發工作流程。然後,將詳細解釋函數、泛型和回調。之後,將詳細解釋TypeScript的面向對象特性和內存管理功能。接著,您將介紹TypeScript的函數式編程並深入探討異步編程原則。最後,您將介紹性能參數並學習如何測試應用程式。


通過閱讀本書,您將學到足夠的知識,利用TypeScript的最新特性從頭開始構建單頁應用程式。

您將學到什麼



  • 學習關鍵的TypeScript語言特性和語言運行時

  • 開發模組化、可擴展、易維護和適應性強的網絡應用程式

  • 創建符合SOLID原則的面向對象代碼

  • 使用Gulp、Webpack、Ts node和Karma等自動化工具節省時間

  • 使用測試(Mocha、Chai和SinonJS)開發強大的應用程式

  • 通過從頭開始開發單頁網絡應用程式框架來實踐您的TypeScript技能

  • 使用TypeScript今天就使用未來的JavaScript(ES6和ES7)