Home » TypeScript Programming By Example by Agus Kurniawan
TypeScript Programming By Example Agus Kurniawan

TypeScript Programming By Example

Agus Kurniawan

Published January 25th 2014
ISBN :
Kindle Edition
98 pages
Enter the sum

 About the Book 

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 HTMLMoreTypeScript 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 TypeScript1.1 Installation1.2 Development Tools1.3 Hello World1.4 Hello TypeScript with Visual Studio2. TypeScript Programming Language2.1 Common Rule2.2 Declaring Variable2.3 Assigning Variables2.4 Comment2.5 Arithmetic Operations2.6 Mathematical Functions2.7 Comparison Operators2.8 Logical Operators2.9 Increment and Decrement2.10 Decision2.10.1 if..then2.10.2 switch..case2.11 Iterations2.11.1 For2.11.2 While3. TypeScript Collections and JSON3.1 Array3.1.1 Create Array Object3.1.2 Insert Data3.1.3 Access Data3.1.4 Update Data3.1.5 Remove Data3.2 Array of Array3.3 TypeScript JSON3.3.1 Create JSON Object3.3.2 Display Data3.3.3 Access Data3.3.4 Edit Data3.4 JSON Array3.4.1 Create JSON Array3.4.2 Display Data3.4.3 Access Data3.4.4 Edit Data3.5 Check JSON Attribute4. Functions4.1 Creating Function4.2 Function with Returning Value4.3 Function with Parameters and Returning Value4.4 Optional Parameters4.5 Arrow Function Expression4.6 Anonymous Function4.7 Overloading Function4.8 Callback Function5. Classes, Interfaces, and Enums5.1 Classes5.1.1 Constructor5.1.2 Properties/Fields5.1.3 Methods5.1.4 Inheritance5.2 Interfaces5.2.1 Implementation Interface on Class5.2.2 Interface as Object5.2.3 Interface as Indexable Object5.3 Enums6. String Operations6.1 Concatenating Strings6.2 String To Numeric6.3 Numeric to String6.4 String Parser6.5 Check String Data Length6.6 Copy Data6.7 Upper and Lower Case Characters6.8 Getting String Index6.9 Exploring Characters7. Error Handling8. TypeScript and HTML Interaction8.1 Hello HTML TypeScript8.2 Working with HTML Input8.3 TypeScript and jQuery9. TypeScript and Node.js Interaction9.1 Getting Started TypeScript and Node.js9.2 Building Simple HTTP Server9.3 Working with External Node.js Module - MongoDB10. Modules10.1 Internal Modules10.2 Extended Internal Module