Day 11 : Angular

 Now we are going to learn the angular starting with basic introduction :

Angular :-

  • Angular or AngularJS is an very popular and widely used client-side framework.
  • Angular was developed in 2011 by google corporation.
  • It was built with "MVC" (Model-View-Controller) concept and the authors often call it as MVW(Model-View-Whatever) or MV*.
  • The framework is firstly written in pure JavaScript, now it is in TypeScript.
  • The framework introduces many powerful features to developer so that developer can create a single page, rich application easily.
  • Specially it introduces the intersting concept of data-binding in which the automatic updations are done on view whenever the data(model) changes occur.


Angular 2 :-

  • Angular 2 was developed in 2016.
  • Angular 2 was very popular because its supports the web, mobile and native desktops whereas Angular not supports the mobile.
* The Angular 4 is developed in 2016 and Angular 5 is developed in 2017 *

Why Angular???

  • Angular not only provides us the tools but also provide various design patterns. It can easily understandable.
  • It is just like JS but a better version of it. We don't need to learn a completely new language.
  • It is a one framework for multiple platforms like web, mobile, desktop etc.
  • Angular is thoroughly tested i.e it supports both unit as well as end-to-end testing.

Example :

            As i said before it is specially introduces the data binding i.e it reduces the code in binding using a ngmodel keyword only. Don't understand??    See below example : 




  • In above example, the view call the view model then view model call the model then the result is shown i.e V - VM - M. But their is no need of VM in angular the model can be directly binded with view using the ngmodel. 

For more understanding watch below video :

Thank You!!!

JavaScript Day 1 : Day 1

JavaScript Day 2 Global Pollution : Day 2 Global

JavaScript Day 2  Undefined and Hoisting : Day 2 Undefined

JavaScript Day 3 : Day 3

JavaScript Day 4 : Day 4

JavaScript Day 5 : Day 5

JavaScript Day 6 : Day 6

TypeScript Day 7 : Day 7

TypeScript Day 8 : Day 8

TypeScript Day 9 : Day 9

TypeScript Day 10 : Day 10

Comments

Popular posts from this blog

Day 3 : JavaScript

SQL Concepts-1

ASP .NET Session Management