Book Description
Explore the features of this innovative open source language in depth, from working with the type system through object-orientation to understanding the runtime and the TypeScript compiler. This fully revised and updated second edition of Steve Fenton’s popular book covers everything you need to discover this fascinating language and transform your experience of JavaScript development.
What’s New in This Edition
- Coverage of major changes to modules, namespaces, and module loading
- New guidance on how to use inference to reduce the effort of using TypeScript
- Recommendations on compiler options
- A wide range of feature updates from intersections and tuples to async/await and the new approach to mixins
What You’ll Learn
- Understand the TypeScript type system, and how to use it effectively
- Apply object-oriented design using TypeScript
- Use modules effectively to manage large programs
- Integrate existing frameworks and libraries into your TypeScript program
Who This Book Is For
Web developers looking for a modern approach to JavaScript development
Table of Contents
Chapter 1: TypeScript Language Features
Chapter 2: Code Organization
Chapter 3: The Type System
Chapter 4: Object Orientation in TypeScript
Chapter 5: Understanding the Runtime
Chapter 6: Running TypeScript in a Browser
Chapter 7: Running TypeScript on a Server
Chapter 8: Exceptions, Memory, and Performance
Chapter 9: Using JavaScript Libraries
Chapter 10: Automated Testing
Appendix 1: JavaScript Quick Reference
Appendix 2: TypeScript Compiler
Appendix 3: Bitwise Flags
Appendix 4: Coding Katas
中文:
书名:Pro TypeScript: Application-Scale JavaScript Development, 2nd Edition
深入探讨这种创新的开放源码语言的特性,从使用类型系统到面向对象,再到理解运行库和类型脚本编译器。这本完全修订和更新的Steve Fenton畅销书的第二版涵盖了您发现这种迷人的语言并改变您的JavaScript开发体验所需的一切。
此版本中的新功能
- 介绍对模块、命名空间和模块加载的主要更改
- 关于如何使用推理来减少使用打字稿的工作量的新指导
- 关于编译器选项的建议
- 范围广泛的功能更新,从交集和元组到异步/等待,以及混合的新方法
你会学到什么
- 了解打字打字系统,以及如何有效使用它
- 使用打印脚本应用面向对象的设计
- 有效使用模块来管理大型程序
- 将现有框架和库集成到您的打字程序中
这本书是为谁写的
Web开发人员正在寻找一种现代的方法来进行JavaScript开发
Table of Contents
Chapter 1: TypeScript Language Features
Chapter 2: Code Organization
第三章:类型系统
第四章:打字稿中的面向对象
第5章:了解运行时
第6章:在浏览器中运行类型脚本
第7章:在服务器上运行TypeScrip
第8章:异常、内存和性能
Chapter 9: Using JavaScript Libraries
第10章:自动化测试
Appendix 1: JavaScript Quick Reference
附录2:打字脚本编译器
附录3:按位标记
附录4:编码ATA
评论前必须登录!
注册