9781788391474
Learning TypeScript 2.x Second Edition
Develop and maintain captivating web applications with ease
by: Remo H. Jansen
ISBN-10: 1788391470
ISBN-13: 9781788391474
Edition 版次: 2nd Revised edition
Publication Date 出版日期: 2018-05-09
Print Length 页数: 437
Book Description
By finelybook
TypeScript is an open source and cross-platform statically typed superset of JavaScript that compiles to plain JavaScript and runs in any browser or host.
This book is a step-by-step guide that will take you through the use and benefits of TypeScript with the help of practical examples. You will start off by understanding the basics as well as the new features of TypeScript 2.x. Then,you will learn how to work with functions and asynchronous programming APIs. You will continue by learning how to resolve runtime issues and how to implement TypeScript applications using the Object-oriented programming (OOP) and functional programming (FP) paradigms. Later,you will automate your development workflow with the help of tools such as Webpack. Towards the end of this book,you will delve into some real-world scenarios by implementing some full-stack TypeScript applications with Node.js,React and Angular as well as how to optimize and test them. Finally,you will be introduced to the internal APIs of the TypeScript compiler,and you will learn how to create custom code analysis tools.
Contents
1: INTRODUCING TYPESCRIPT
2: WORKING WITH TYPES
3: WORKING WITH FUNCTIONS
4: OBJECT-ORIENTED PROGRAMMING WITH TYPESCRIPT
5: WORKING WITH DEPENDENCIES
6: UNDERSTANDING THE RUNTIME
7: FUNCTIONAL PROGRAMMING WITH TYPESCRIPT
8: WORKING WITH DECORATORS
9: AUTOMATING YOUR DEVELOPMENT WORKFLOW
10: NODE.JS DEVELOPMENT WITH TYPESCRIPT
11: FRONTEND DEVELOPMENT WITH REACT AND TYPESCRIPT
12: FRONTEND DEVELOPMENT WITH ANGULAR AND TYPESCRIPT
13: APPLICATION PERFORMANCE
14: APPLICATION TESTING
15: WORKING WITH THE TYPESCRIPT COMPILER AND THE LANGUAGE SERVICES
What You Will Learn
Understand TypeScript in depth,including its runtime and advanced type system features
Master the core principles of the object-oriented programming and functional programming paradigms with TypeScript
Save time using automation tools such as Gulp,Webpack,ts-node,and npm scripts
Develop robust,modular,scalable,maintainable,and adaptable applications with testing frameworks such as Mocha,Chai,and Sinon.JS
Put your TypeScript skills to practice by developing full-stack web applications with Node.js,React and Angular
Use the APIs of the TypeScript compiler to build custom code analysis tool
Authors
Remo H. Jansen
Remo H. Jansen is originally from Seville,Spain,but he currently lives in Dublin,Ireland,where he works as a web engineer at Stellwagen Technology and as a part-time lecturer at CCT College Dublin.
Remo is a Microsoft MVP and an active member of the TS community. He organizes the Dublin TypeScript and Dublin OSS meetups,writes a blog,and maintains InversifyJS on GitHub.