Author: | Agus Kurniawan | ISBN: | 1230000213112 |
Publisher: | PE Press | Publication: | January 26, 2014 |
Imprint: | Language: | English |
Author: | Agus Kurniawan |
ISBN: | 1230000213112 |
Publisher: | PE Press |
Publication: | January 26, 2014 |
Imprint: | |
Language: | English |
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
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