Posts

Showing posts from December, 2020

Day 13 : Angular directories

Image
In previous blog we learn the installation of angular cli... Now we are going to learn the configuration files or folder structure in angular...             We develop application or project in angular workspace. Workspace contains files for multiple projects or we can say that it allows us to organize our big applications into small and multiple projects.             When we run  > ng new project_name   command , the angular cli install all necessary angular npm packages and dependencies in a root folder project_name with new workspace.  By default, ng new creates a simple web application that is ready to run and can be easily modified.  Workspace configuration files : The workspace contains the workspace configuration file where the configuration files act as a root level application and subfolders act as a root level application source and test files.      1) e2e :      ...

Day 12 : Installation of Angular

Image
 Now we are going to see the installation of angular......             Angular is a front-end framework which is used to create a web applications. Angular has TypeScript by default or it supports TypeScript for creating functions in class.             The TypeScript not knows the browser so we need webpack . Webpack is used to compile TypeScript files into the JavaScript files. So that we can run the JavaScript file on browser. Now you know what is Webpack??           Webpack is an open source JavaScript module. Its purpose is to take all our code from application and makes it usable in browser. Angular uses webpack behind the screen. Angular CLI :                     Angular CLI is a command line interface tool that we use to initialize, develop, maintain angular applications. Angular CLI is used t...

Day 11 : Angular

Image
  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 ...