Book Image

Building Pro Web Apps with TypeScript 2.x [Video]

By : Patrick Desjardins
Book Image

Building Pro Web Apps with TypeScript 2.x [Video]

By: Patrick Desjardins

Overview of this book

<p><span id="description" class="sugar_field">Writing large applications in JavaScript is a challenge. TypeScript brings JavaScript down to earth by providing optional static typing and future JavaScript features today. It gives developers instant feedback on the code they are writing in order to catch mistakes earlier in the development process.<br /></span></p> <p><span id="description" class="sugar_field">In this course, you will take a basic game application and enhance it to provide a better user experience. You will start by learning how to incorporate Object Oriented Programming concepts within your application such as inheritance in classes. You will also learn to extend your classes and work with interfaces and TypeScript's newly introduced mixin classes. You will then learn to play with TypeScript's types, enforce efficient typing with TypeGuard, and trigger your application in different ways using function overload. After that you will explore how to use Asynchronous code to work with image data in your applications, and use class decorators to add exciting JavaScript features within your application. Finally you will learn to improve the quality of your code with the help of different method such as unit testing and code coverage.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">In-depth content balanced with tutorials that put the theory into practice. The focus of this course is on giving you both the understanding and the practical examples that will allow you indulge in the art web development with TypeScript 2.x while taking you through core programming concepts.</span></span></p>
Table of Contents (4 chapters)
Chapter 4
Decorator
Content Locked
Section 3
Modifying the Data on Read with Accessor and Property Decorator
Decorator can be applied to many parts of you code. This video shows how to create and apply decorator on accessor and property. - Create the accessor decorator - Create the property decorator - Apply the accessor and property decorator