ANGULAR

Angular is a client-side JavaScript framework designed for developing interactive and modern web user interfaces. It also offers a rich set of development tools, including the Angular CLI, debugging support, and IDE integrations.

The first version, AngularJS (or Angular 1), was launched in October 2010 by a Google team to create single-page applications (SPAs) using HTML and JavaScript.

However, AngularJS had limitations such as performance issues due to two-way data binding, poor mobile support, reliance on plain JavaScript, and a structure based on controllers and scopes that lacked reusability and testability. It also offered minimal tooling.

To address these challenges, AngularJS was completely redesigned and replaced by Angular 2 in 2016, which introduced improved performance, TypeScript support, and a scalable component based architecture for both web and mobile applications.

Prerequisites to Learn Angular

Before diving into Angular, it is necessary to have a basic understanding of HTML, CSS, and JavaScript, and to know how the DOM works.

Why should you use Angular?

Angular Makes Simplifies the process of Building complex, interactive web user interfaces.

  • Write Declarative Code.
  • Separation of concerns via components.
  • Object oriented programming concepts and Principles.
  • Use Typescript.

What Does Declarative Means?

"Declarative" in the context of Angular means that you tell Angular what to do by writing the logic, without manually manipulating the DOM. Angular takes care of the DOM updates for you. In contrast, with vanilla JavaScript, you need to explicitly manipulate the DOM step by step using detailed instructions.

In vanilla JavaScript, we tell the DOM step by step what to do — it's an imperative approach where we manually control the rendering process.

In contrast, Angular uses a declarative approach. You define templates using HTML and directives (like *ngIf, *ngFor, etc.), and Angular internally manages DOM rendering and updates. You focus on what the UI should look like for a given state, not how to manipulate the DOM.

Click the link To Know About Creating An Angular Project : Creating An Angular Project

Post a Comment

0 Comments