ManzoorTheTrainer
1,806 views
28 slides
Feb 27, 2018
Slide 1 of 28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
About This Presentation
Yes! TypeScript is the base for Angular2+ , If you want to enter into the world of Angular2, 4, 5, ... then the first step is to understand TypeScript.
I am going to make it very simple for you to learn and implement it.
Size: 1.57 MB
Language: en
Added: Feb 27, 2018
Slides: 28 pages
Slide Content
Learn TypeScript From Scratch Mohd Manzoor Ahmed ( Microsoft Certified Trainer | 15+yrs Exp )
What Are We Going To Cover? Prerequisite To Type Script Introduction To TypeScript Variable Declarations Basic Types Complex Types Control Structures (for..of) Functions Like Classes Classes And Objects Object As A Parameter Overloading Public & Private Members Inheritance Protected Members Abstract Class Namespaces (Internal Modules) External Modules export & import JQuery In TypeScript Real Time Page Conclusion
Prerequisite To TypeScript You should have some basic understanding of JavaScript and OOPs. Or You should have completed one of my courses i.e., Learn JavaScript From Scratch
Enroll Now For $10 : https://goo.gl/Z6AUXj
Why TypeScript ? We need strongly typed Script. We need easy implementation of OOPs in Script.
Strongly Type d
Easy OOPs
What is TypeScript ? T yped superset of javascript which compiles to plain javascript. - (Microsoft) Easy OOPs In JavaScript. (ManzoorTheTrainer) app.ts app.js Compiles Note : We add reference of app.js in the html file.
Getting Started With TypeScript Visual Studio 2017 http://www.typescriptlang.org/ Let’s go for implementation of “Hello Digital World” DEMO
Declarations var is function scoped let is block scoped DEMO
Basic Types number string boolean
Complex Types Arrays Tuple Enum
Control Structures Conditional I f if else else if ladder s witch case Loops f or while do..while for..in for..of
Enroll Now For $10 : https://goo.gl/Z6AUXj
Functions Defining A Function Calling A Function Using Function as Class DEMO
Class Defining A Class Defining Properties Defining Constructor Defining Methods Creating Objects Calling Methods DEMO
Object As A Parameter DEMO
Overloading DEMO Constructor Method
Public & Private Members DEMO
Enroll Now For $10 : https://goo.gl/Z6AUXj
Inheritance DEMO Protected Members super() constructor Method Overriding super Object
Enroll Now For $10 : https://goo.gl/Z6AUXj
Abstract Classes DEMO
namespace DEMO Internal modules or namespaces Code division export keyword