TypeScript Programming By Example

PE Press
3,5
11 ressenyes
Llibre electrònic
121
Pàgines
Apte

Sobre aquest llibre

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

Descobreix-ne més

Puntuacions i ressenyes

3,5
11 ressenyes

Puntua aquest llibre electrònic

Dona'ns la teva opinió.

Informació de lectura

Telèfons intel·ligents i tauletes
Instal·la l'aplicació Google Play Llibres per a Android i per a iPad i iPhone. Aquesta aplicació se sincronitza automàticament amb el compte i et permet llegir llibres en línia o sense connexió a qualsevol lloc.
Ordinadors portàtils i ordinadors de taula
Pots escoltar els audiollibres que has comprat a Google Play amb el navegador web de l'ordinador.
Lectors de llibres electrònics i altres dispositius
Per llegir en dispositius de tinta electrònica, com ara lectors de llibres electrònics Kobo, hauràs de baixar un fitxer i transferir-lo al dispositiu. Segueix les instruccions detallades del Centre d'ajuda per transferir els fitxers a lectors de llibres electrònics compatibles.