Master the TypeScript language and its latest features. Explore modern application frameworks and utilize industry best practices in TDD, OOP and UI Design.
Key Features
Learn the key features of TypeScript 3 and explore advanced language features through in-depth discussions.
Use TypeScript with modern frameworks including Backbone, Angular, Aurelia, React, and Node.
Explore TDD practices, OOP techniques, and industry best practices to create high-quality, modular, and adaptable applications.
Book DescriptionTypeScript is both a language and a set of tools to generate JavaScript. It was designed by Anders Hejlsberg at Microsoft to help developers write enterprise-scale JavaScript.
Starting with an introduction to the TypeScript language, before moving on to basic concepts, each section builds on previous knowledge in an incremental and easy-to-understand way. Advanced and powerful language features are all covered, including asynchronous programming techniques, decorators, and generics.
This book explores many modern JavaScript and TypeScript frameworks side by side in order for the reader to learn their respective strengths and weaknesses. It will also thoroughly explore unit and integration testing for each framework.
Best-of-breed applications utilize well-known design patterns in order to be scalable, maintainable, and testable. This book explores some of these object-oriented techniques and patterns, and shows real-world implementations.
By the end of the book, you will have built a comprehensive, end-to-end web application to show how TypeScript language features, design patterns, and industry best practices can be brought together in a real-world scenario.
What you will learn
Gain insights into core and advanced TypeScript language features
Integrate existing JavaScript libraries and third-party frameworks using declaration files
Target popular JavaScript frameworks, such as Angular, React, and more
Create test suites for your application with Jasmine and Selenium
Organize your application code using modules, AMD loaders, and SystemJS
Explore advanced object-oriented design principles
Compare the various MVC implementations in Aurelia, Angular, React, and more
Who this book is forThis guide to the TypeScript that starts with basic concepts, and then builds on this knowledge to introduce more advanced language features and frameworks. No prior knowledge of JavaScript is required, although some prior programming experience is assumed. If you are keen to learn TypeScript, this book will give you all of the necessary knowledge and skills to tackle any TypeScript project. If you are already an experienced JavaScript or TypeScript developer, then this book will take your skills to the next level. Learn how to use TypeScript with a multitude of modern frameworks, and choose the best framework for your project requirements. Investigate techniques for Test Driven Development, explore industry-standard design patterns, and learn how to put together a full production-ready TypeScript application.
Auflage
Sprache
Verlagsort
Zielgruppe
Editions-Typ
Maße
Höhe: 235 mm
Breite: 191 mm
Dicke: 38 mm
Gewicht
ISBN-13
978-1-78953-670-6 (9781789536706)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Klassifikation
Nathan Rozentals has been building commercial software for over 30 years and has been programming for a lot longer than that. Before the Internet even existed, he was building statistical analysis programs on mainframes. Like many programmers at that time, he helped save the world in the year 2000. He has worked with (and tried to master) many object-oriented languages, starting by implementing object-oriented techniques in plain old C. Having spent many years working with C++, chasing obscure thread-locking issues and recursive routines causing memory leakage, he decided to simplify his life by embracing automatic garbage collection in Java and then C#. As the world moved from thick-client and n-tier to web technologies, his focus turned to modern web programming, and so to JavaScript. In TypeScript, he found a language in which he could bring all of the object-oriented design patterns and principles he had learned over the years to JavaScript. If it were not for extreme programming techniques, agile delivery, test-driven development, and continuous integration, he would have lost his mind many years ago. When he is not programming, he is thinking about programming. To stop thinking about programming, he goes windsurfing, plays soccer, or simply watches the professionals play soccer. They are so much better at it than he is.
Table of Contents
TypeScript - Tools and Framework Options
Types, Variables, and Function Techniques
Interfaces, Classes, and Inheritance
Decorators, Generics, and Asynchronous Features
Declaration Files and Compile Options
Third-Party Libraries
TypeScript Compatible Frameworks
Test Driven Development
Testing Typescript Compatible Frameworks
Modularization
Object-Oriented Programming
Dependency Injection
Building Applications
Let's Get Our Hands Dirty