What is Angular and when to use it?

Drag to rearrange sections
Rich Text Content

Angular is a powerful Javascript framework, very suitable for developing modern, medium, or high complexity frontend applications. The type of Javascript application that is developed with Angular is of the SPA (Single Page Application) style or also the so-called PWA (Progressive Web App).

The Angular framework offers a basis for the development of robust, scalable, and optimized applications, which also promotes best practices and a highly modular and homogeneous coding style.

Although primarily offering a foundation for front-end development, client-side Javascript programming also addresses back-end development techniques for Server Side Rendering implementation. 

Development in Angular is done using TypeScript (although it could also be developed with Javascript, all the guides and recommendations are based on using TypeScript), a superset of the Javascript language that offers many additional tools to the language, such as static typing or decorators.

Angular and TypeScript

Angular is a Javascript framework but uses TypeScript for programming. TypeScript is an extension of the Javascript language, which adds important features for business applications, such as data typing or decorators.

At the launch of the Angular framework, the successor to AngularJS, various doubts were raised in the community about the use of TypeScript, and even several people tried to use Angular only with native Javascript, avoiding using TypeScript. Today this controversy can be said to be completely settled, as TypeScript has been shown to be useful in maintaining application code and obtaining help from the editor at the development stage, along with early detection of errors. In summary, Angular developers have adopted this Javascript superset and have appreciated all that TypeScript contributes in their daily work as developers.

Compilation of TypeScript to Javascript compatible with browsers is done by means of Angular CLI tools, so it does not add any difficulties in the development flow.

When to use Angular

Angular is a complete Javascript framework with which to develop modern frontend applications. Angular offers a series of common modules in the development of web projects that you do not have to develop from scratch and, at the same time, allow you to organize a project in an optimal, maintainable and scalable way. It also contains a series of tools to facilitate startup and development, as well as the production of applications.

All the advantages that Angular offers us we can assess more positively in the context of a medium or large web application. These types of applications are the ones that will most appreciate all the utilities that Angular offers us and the practices that it promotes for quality development.

Angular is therefore not suitable for all types of projects. For example, a PSD to angular conversion for a WordPress website (to put a clear example) would not be a good candidate to include Angular in the technology stack. You have to realize that Angular is not a library for the development of dynamic graphical interface components, but a whole framework for the development of a complete and more or less complex application.

The type of applications that are suitable for Angular are SPAs and PWAs. But even if you want to make a small application with very limited functionality, it is possible that a little Javascript and a micro-library will solve your needs, so perhaps Angular would not be the solution either unless the developer or The developer team is very familiar with the tool, in which case they will take advantage of Angular for the simple fact that it offers many already fully developed parts and allows a refined flow of development.

Drag to rearrange sections
Rich Text Content

Page Comments

No Comments

Add a New Comment:

You must be logged in to make comments on this page.