DEV Community

Henri de la Hoz
Henri de la Hoz

Posted on

LIFT

LIFT

4 principles that can guide our development using Angular

Locate

We want to find or locate quickly a feature or piece of code in our project.

One way to achieve this is by organizing our code by features.

  • app
    • about-us
    • contact-us
    • footer

Identify

Recognize quickly the role a file has.

  • header.directive.ts
  • header.pipe.ts
  • header.service.ts

Flat

No more than 3 level of folders

Try DRY

Try as much as you can Do not repeating yourself

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.