TypeScript Quickly, Video Edition

TypeScript Quickly, Video Edition

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 90 Lessons (12h 52m) | 1.65 GB

TypeScript is JavaScript with an important upgrade! By adding a strong type system to JavaScript, TypeScript can help you eliminate entire categories of runtime errors. In TypeScript Quickly, you’ll learn to build rock-solid apps through practical examples and hands-on projects under the expert instruction of experienced web developers Yakov Fain and Anton Moiseev.

Strong typing can eliminate nearly all errors caused by unanticipated data values. With TypeScript, an enhanced version of JavaScript, you can specify types and type annotations so your code is easier to read and far less likely to fail at runtime. And because the core of TypeScript is standard JavaScript, it runs on all major browsers and can be used with frameworks like Angular, Vue, and React.

TypeScript Quickly teaches you to exploit the benefits of types in browser-based and standalone applications. In this practical guide, you’ll build a fascinating blockchain service app that takes you through a range of type-sensitive programming techniques. As you go, you’ll also pick up valuable techniques for object-oriented programming with classes, interfaces, and advanced features such as decorators and conditional types.

What’s inside

  • Mastering TypeScript syntax
  • Using TypeScript with JavaScript libraries
  • Tooling with Babel and Webpack
  • Developing TypeScript apps using Angular, React, and Vue
Table of Contents

1 Part 1. Mastering the TypeScript syntax
2 Getting familiar with TypeScript
3 Typical TypeScript workflows
4 Getting familiar with Visual Studio Code
5 Basic and custom types
6 Types in function declarations
7 Defining custom types
8 Using interfaces as custom types
9 Unions of custom types
10 Object-oriented programming with classes and interfaces
11 Static variables and a singleton example
12 Abstract classes
13 Method overloading
14 Working with interfaces
15 Programming to interfaces
16 Using enums and generics
17 Using generics
18 Creating your own generic types
19 Creating generic functions
20 Decorators and advanced types
21 Creating class decorators
22 Creating method decorators
23 Declaring your own mapped types
24 Conditional types
25 Tooling
26 The TSLint linter
27 Bundling JavaScript with Webpack
28 Bundling TypeScript with Webpack
29 Using the Babel compiler
30 Using Babel with TypeScript
31 Tools to watch
32 Using TypeScript and JavaScript in the same project
33 Type definition files and IDEs
34 A sample TypeScript app that uses JavaScript libraries
35 Introducing TypeScript in your JavaScript project
36 Part 2. Applying TypeScript in a blockchain app
37 Developing your own blockchain app
38 What a block is made of
39 A mini project with hash and nonce
40 Creating a primitive blockchain
41 Developing a browser-based blockchain node
42 Working with the blockchain web app
43 Mining blocks
44 Using crypto APIs for hash generation
45 The standalone blockchain client
46 Client-server communications using Node.js, TypeScript, and WebSockets
47 Adding a server to the blockchain
48 Configuring nodemon
49 A brief introduction to WebSockets
50 Pushing data from a Node server to a plain client
51 Reviewing notification workflows
52 Reviewing the server’s code
53 Reviewing the client’s code Part 1
54 Reviewing the client’s code Part 2
55 Developing Angular apps with TypeScript
56 Reviewing the generated app
57 Angular services and dependency injection
58 An app with ProductService injection
59 Getting started with HTTP requests
60 Getting started with forms
61 Router basics
62 Developing the blockchain client in Angular
63 Reviewing TransactionFormComponent
64 Developing React.js apps with TypeScript
65 Generating and running a new app with Create React App
66 Managing a component’s state
67 Developing a weather app
68 Fetching data with the useEffect hook in the App component
69 Using props
70 How a child component can pass data to its parent
71 Developing a blockchain client in React.js
72 What changed in the lib directory
73 Generating a new block
74 The TransactionForm presentation component
75 The PendingTransactionsPanel presentation component
76 Developing Vue.js apps with TypeScript
77 Generating and running a new app with Vue CLI
78 Developing single-page apps with router support
79 Displaying a list of products in the Home view
80 Passing data with the Vue Router
81 Developing the blockchain client in Vue.js
82 The App component
83 The TransactionForm presentation component
84 The BlocksPanel and Block presentation components
85 Modern JavaScript
86 Optional parameters and default values
87 Destructuring
88 Constructors
89 Promises
90 Modules

Homepage