Introduction to Angular

Introduction to Angular

Mishel Shaji
Mishel Shaji

What is Angular?

Angular is a framework developed by Google for developing client-side applications using HTML, CSS, and JavaScript. The first version of angular was released in 2016.

What is web application?

For a large time, websites were just some static content delivered by a server. But later, after the boom of internet, smartphone and other powerful devices, static websites became old-fashioned and dynamic websites took it's place.

A dynamic website performs all the dynamic computational tasks like digging content from database or generating content, Validating data, Calculations like this kind of stuff in the server. It is not a hard-coded content.

Web application is an application you use over the internet with a web browser. Client-side program code (UI and client side logic) of a web-app is stored on a remote server and delivered to the clients via internet. The client side program code displays the content and communicates with the server using JavaScript when some events are triggered.

what is a web app

Why should we use Angular?

Many novice developers ask why we should use frameworks like Angular to develop client-side applications instead of using JQuery or plain JavaScript? Well, the answer is simple.

If we use JavaScript to develop applications, it will become difficult to maintain and test the code as the application grows. Also, you will have to write everything from scratch. But angular comes with everything you need to create single page applications. It has a clearly defined way to create web apps. Therefore, we can say that using Angular:

  • Gives a clean structure for our application.
  • Makes it easy to maintain and modify the code.
  • Makes it easier to test and debug our applications.
  • Makes development easier.

Angular gives a clean structure for your applications.

What is angular and AngularJS?

Angular JS was released in 2010, and it is the first version of Angular. It was based on JavaScript and can be added to an HTML page with the script tag.

But the Framework was complex and it needed many improvements. So, the angular theme decided to rebuild the framework.

As a result, in 2016, angular 2 was released. It was a complete rewrite of the framework and was entirely different from Angular JS with several breaking changes. We can even consider it as an entirely different framework. The new framework uses Typescript (a language that compiles to JavaScript) instead of JavaScript. After 2016, many new versions of Angular were released with minor changes.

So, we have two generations of Angular.

  • Angular 1x – Known as AngularJS
  • Angular 2x + – Known as Angular.

Enough talk. Now let’s start building your first Angular application.

Next post >