Angular project structure / folder structure / architecture

Shared Module: The Shared module should contain components, directives, pipes, and services that can be reused across multiple other modules in the application. It typically includes: Reusable components: UI components that are used in multiple parts of the application, like buttons, input fields, or navigation elements. Common directives: Custom directives that are used in several ... Read more

DevOps

Typical .gitlab-ci.yml Gitlab CI script: .gitlab-ci.yml Sample CI file: Examples: Reuse code inside of .gitlab-ci.yml file Manual deploy only from hotfix or feature branches Show RAM and storage: Angular unit testing in Gitlab

Angular ngFor

Basic syntax html: Syntax with local variables: html: Syntax without markup: html:

Python Duck Typing, LBYL, EAFP

Duck Typing A programming style which does not look at an object’s type to determine if it has the right interface; instead, the method or attribute is simply called or used (“If it looks like a duck and quacks like a duck, it must be a duck.”) By emphasizing interfaces rather than specific types, well-designed ... Read more