← akash maurya

Low Level Design

Basics Of LLD

img1

class diagrams

they reflect the real world problem in terms of classes, their relationship w other classes, responsibility of every class in terms of class methods and functions, and the data and info those classes hold in terms of class attributes.

diagram

uml sequence diagrams

help in understanding how different instances of classes are interacting with each other, what messages they are passing to each other in what order, etc.

uml sequence

designing low-level apps using objects and classes

OOP != OOD : OOP can be done while violating OOD principles

inheritance

inheritance 1 inheritance 2

Design Principles

SOLID

S - Single Responsibility Principle

O - Open/Closed Principle

Liskov Substitution Principle

Interface Segregation Principle

Dependency Inversion Principle

DRY

Design Patterns

Creational

creational 2

Behavioral

Structural

Sources