TypeScript Programming By Example

PE Press
3,5
11 recensioni
Ebook
121
pagine
Idoneo

Informazioni su questo ebook

TypeScript is an open source programming language developed by Microsoft. It is a superset of JavaScript. This book helps how to get started with TypeScript, for instance preparing environment, learning programming language and interacting with HTML and Node.js.

**TOC**

1. Introduction to TypeScript

1.1 Installation

1.2 Development Tools

1.3 Hello World

1.4 Hello TypeScript with Visual Studio

2. TypeScript Programming Language

2.1 Common Rule

2.2 Declaring Variable

2.3 Assigning Variables

2.4 Comment

2.5 Arithmetic Operations

2.6 Mathematical Functions

2.7 Comparison Operators

2.8 Logical Operators

2.9 Increment and Decrement

2.10 Decision

2.10.1 if..then

2.10.2 switch..case

2.11 Iterations

2.11.1 For

2.11.2 While

3. TypeScript Collections and JSON

3.1 Array

3.1.1 Create Array Object

3.1.2 Insert Data

3.1.3 Access Data

3.1.4 Update Data

3.1.5 Remove Data

3.2 Array of Array

3.3 TypeScript JSON

3.3.1 Create JSON Object

3.3.2 Display Data

3.3.3 Access Data

3.3.4 Edit Data

3.4 JSON Array

3.4.1 Create JSON Array

3.4.2 Display Data

3.4.3 Access Data

3.4.4 Edit Data

3.5 Check JSON Attribute

4. Functions

4.1 Creating Function

4.2 Function with Returning Value

4.3 Function with Parameters and Returning Value

4.4 Optional Parameters

4.5 Arrow Function Expression

4.6 Anonymous Function

4.7 Overloading Function

4.8 Callback Function

5. Classes, Interfaces, and Enums

5.1 Classes

5.1.1 Constructor

5.1.2 Properties/Fields

5.1.3 Methods

5.1.4 Inheritance

5.2 Interfaces

5.2.1 Implementation Interface on Class

5.2.2 Interface as Object

5.2.3 Interface as Indexable Object

5.3 Enums

6. String Operations

6.1 Concatenating Strings

6.2 String To Numeric

6.3 Numeric to String

6.4 String Parser

6.5 Check String Data Length

6.6 Copy Data

6.7 Upper and Lower Case Characters

6.8 Getting String Index

6.9 Exploring Characters

7. Error Handling

8. TypeScript and HTML Interaction

8.1 Hello HTML TypeScript

8.2 Working with HTML Input

8.3 TypeScript and jQuery

9. TypeScript and Node.js Interaction

9.1 Getting Started TypeScript and Node.js

9.2 Building Simple HTTP Server

9.3 Working with External Node.js Module - MongoDB

10. Modules

10.1 Internal Modules

10.2 Extended Internal Module

Scopri di più

Valutazioni e recensioni

3,5
11 recensioni

Valuta questo ebook

Dicci cosa ne pensi.

Informazioni sulla lettura

Smartphone e tablet
Installa l'app Google Play Libri per Android e iPad/iPhone. L'app verrà sincronizzata automaticamente con il tuo account e potrai leggere libri online oppure offline ovunque tu sia.
Laptop e computer
Puoi ascoltare gli audiolibri acquistati su Google Play usando il browser web del tuo computer.
eReader e altri dispositivi
Per leggere su dispositivi e-ink come Kobo e eReader, dovrai scaricare un file e trasferirlo sul dispositivo. Segui le istruzioni dettagliate del Centro assistenza per trasferire i file sugli eReader supportati.