TypeScript Programming By Example

PE Press
3,5
11 reseñas
eBook
121
Páginas
Apto

Información sobre este 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

Descubre más

Valoraciones y reseñas

3,5
11 reseñas

Valorar este eBook

Danos tu opinión.

Información sobre cómo leer

Smartphones y tablets
Instala la aplicación Google Play Libros para Android y iPad/iPhone. Se sincroniza automáticamente con tu cuenta y te permite leer contenido online o sin conexión estés donde estés.
Ordenadores portátiles y de escritorio
Puedes usar el navegador web del ordenador para escuchar audiolibros que hayas comprado en Google Play.
eReaders y otros dispositivos
Para leer en dispositivos de tinta electrónica, como los lectores de libros electrónicos de Kobo, es necesario descargar un archivo y transferirlo al dispositivo. Sigue las instrucciones detalladas del Centro de Ayuda para transferir archivos a lectores de libros electrónicos compatibles.