Posts

Showing posts from November, 2020

Why Do We Need In Angular Day 12

Image
Lecture 12 : Why Do We Need In Angular What is Angular : Angular is an open-source front-end framework developed by Google for creating dynamic, modern web apps. First introduced in 2009, the framework has gained huge traction over the years for eliminating unnecessary code and ensuring lighter & faster apps. Why do we Need in Angular : We have listed the reasons below : 1)  Supported by Google : The best part about it is Google’s Long-Term Support (LTS). This sheds light on Google’s plan to stick with it and further scale up the Angular ecosystem. Google apps also use this framework and their team is very optimistic about Angular’s stability, Other Angular developers also get a golden opportunity to learn from certified professionals. 2) TypeScript : Angular applications are built using TypeScript language, a superscript for JavaScript, which ensures higher security as it supports types (primitives, interfaces, etc.). It helps catch and eliminate errors

Understanding Concept of TypeScript Day 11

Image
Lecture 11 : Understanding Concept of TypeScript Abstract Classes : Abstract class is a half defined parent class. Abstract classes are base classes from which other classes can extend.They cannot be instantiated themselves. The two key characteristics of an abstract class in TypeScript are: 1) They can implement methods of their own. 2) They can define methods that inheriting classes must implement. For this reason, abstract classes can conceptually be considered a combination of an interface and a class. Interfaces : Interface is a CONTRACT, LEGAL <, ENFORCEMENT - impact analysis. An interfaces specifies a list of fields and functions that may be expected on any class implementing the interface. Conversely, a class cannot implement an interface unless it has every field and function specified on the interface. Need Of Interfaces : The primary benefit of using interfaces, is that it allows one to use objects of different types in a polymorphic way. This is because any