TypeScript Programming By Example

PE Press
3.5
11 ulasan
e-Buku
121
Halaman
Layak

Perihal e-buku ini

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

Temukan lagi

Rating dan ulasan

3.5
11 ulasan

Berikan rating untuk e-Buku ini

Beritahu kami pendapat anda.

Maklumat pembacaan

Telefon pintar dan tablet
Pasang apl Google Play Books untuk Android dan iPad/iPhone. Apl ini menyegerak secara automatik dengan akaun anda dan membenarkan anda membaca di dalam atau luar talian, walau di mana jua anda berada.
Komputer riba dan komputer
Anda boleh mendengar buku audio yang dibeli di Google Play menggunakan penyemak imbas web komputer anda.
eReader dan peranti lain
Untuk membaca pada peranti e-dakwat seperti Kobo eReaders, anda perlu memuat turun fail dan memindahkan fail itu ke peranti anda. Sila ikut arahan Pusat Bantuan yang terperinci untuk memindahkan fail ke e-Pembaca yang disokong.