Mastering TypeScript, 2nd Edition
- Length: 651 pages
- Edition: 2nd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2017-03-06
- ISBN-10: 1786468719
- ISBN-13: 9781786468710
- Sales Rank: #618427 (See Top 100 Books)
Key Features
- Start with the basics, then enhance your knowledge with in-depth discussions on language features, third-party libraries, design patterns and more
- Practical examples that show how to use TypeScript with popular frameworks, including Backbone, Angular 2, React, Aurelia, Node and others
- Focus on test-driven development to build high quality applications that are modular, scalable and adaptable
Book Description
The TypeScript language, compiler and open-source development toolset brings JavaScript development up to the enterprise level. It allows us to use ES5, ES6 and ES7 JavaScript language features today – including classes, interfaces, generics, modules and more. It’s simple typing syntax enables building large, robust applications using object-oriented techniques and industry standard design principles.
Packed with practical, real-world examples, this book is a guide to bringing the benefits of strongly typed, object-oriented programming and design principles into the JavaScript development space. Starting with core language features, and working through more advanced topics such as generics and asynchronous programming techniques, you will learn how to gain maximum benefit from your JavaScript development with TypeScript. With a strong focus on test-driven development, and coverage of many popular and in-demand JavaScript frameworks, you can fast-track your TypeScript knowledge to a professional level. By the end of this book, you will be able to confidently build TypeScript applications, whether you are targeting Angular 2, Aurelia, React, Backbone, Node or any other JavaScript framework.
What you will learn
- Gain an insight into core and advanced TypeScript language features including inheritance, generics, asynchronous programming techniques, promises, decorators and more
- Integrate your existing JavaScript libraries and third-party frameworks by writing and using declaration files
- Target popular JavaScript frameworks such as jQuery, Backbone, Angular 2, Aurelia, React, Node and Express
- Create extensive test suites for your application, including unit testing, integration testing and browser automation with Jasmine, Protactor and Selenium
- Organize your application code using modules, AMD loaders, Require and SystemJs
- Explore advanced object-oriented design principles including Dependency Injection and Domain Events
- Understand and compare the various MVC implementations in Aurelia, Angular 2 and React
- Build a complete single-page web application that incorporates css animations to enhance your customer’s browsing experience
Table of Contents
Chapter 1. TypeScript – Tools and Framework Options
Chapter 2. Types, Variables, and Function Techniques
Chapter 3. Interfaces, Classes, and Inheritance
Chapter 4. Decorators, Generics, and Asynchronous Features
Chapter 5. Writing and Using Declaration Files
Chapter 6. Third-Party Libraries
Chapter 7. TypeScript Compatible Frameworks
Chapter 8. Test Driven Development
Chapter 9. Testing Typescript Compatible Frameworks
Chapter 10. Modularization
Chapter 11. Object-Oriented Programming
Chapter 12. Dependency Injection
Chapter 13. Building Applications
Chapter 14. Let’s Get Our Hands Dirty
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Mastering TypeScript, 2nd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.