ANGULAR BEST PRACTICES

WalkingTree Technologies
1 min readDec 6, 2018

--

In this blog, I have consolidated some of the important Best Practices for Angular development. This blog aims at providing a quick checklist of the best practices to keep in mind during development and review of Angular Projects.

PREREQUISITE

Knowledge of Angular.

BEST PRACTICES — QUICK REFERENCE LIST

  1. It is always recommended to use the Angular CLI tool while working with the Angular project as it not only increases productivity but also does the basic set of tasks when using the tool to create a new project or for generation of modules, services, components, directives and pipes.
  2. Develop Angular apps in a modular fashion by splitting the application into the core, shared and feature modules.
  • Core module consists of components (i.e. header, main navigation, footer) that will be used across the entire app, which typically are part of the AppModule(RootModule). This also makes the AppModule leaner and lighter.
  • A shared module can have components, directives and pipes that will be shared across multiple modules and components, but not the entire app necessarily.
  • A feature module delivers a cohesive set of functionality focused on a specific application need such as a user workflow, routing, or forms or some specific domain specific functionality.

Read More: https://walkingtree.tech/angular-best-practices/

--

--

WalkingTree Technologies
WalkingTree Technologies

Written by WalkingTree Technologies

WalkingTree is an IT software and service provider recognized for its passion for technology.

No responses yet