Search
Lessons (40)
- What Is Clean Code?
Clean code is code that another person can read, understand and change safely. Here is why that matters …
- Onion Architecture & Clean vs Hexagonal vs Onion
Jeffrey Palermo's Onion Architecture layer by layer, then a clear side-by-side comparison of Clean, Hexagonal …
- Clean Architecture
… dependencies always point inward](/img/clean-code/clean-architecture.svg) 💡 The one rule to remember, the Dependency Rule …
- Clean Error Handling
… balance; }  Rule 3 …
- Clean Architecture in Depth
… of Clean Architecture and the Dependency Rule](/img/architecture/clean-circles.svg) 📘 The Dependency Rule: source code dependencies …
- Choosing an Architecture
… Q2["2️⃣ Code organisation<br/ How is code structured INSIDE each deployable?"] -- A2["Layered · Clean · Hexagonal ·<br/ Onion …
- Big Data: ETL, Warehouses and Streaming
… A small code change in the cleanup step counts each purchase twice . 2. Yesterday's revenue report shows …
- Preparing for Technical Interview Rounds
… oop), [Design Patterns](/learn/design-patterns), [Clean Code & SOLID](/learn/clean-code) Know your own projects deeply Expect …
- Your First Terraform Project
… Terraform detects the missing file and proposes creating it. Clean up bash terraform plan -destroy -out=cleanup.tfplan …
- YAGNI: You Aren't Gonna Need It
… Clean, tested code is what lets you change safely later. - Do think ahead for decisions that are expensive …
- What Is Software Architecture?
… subgraph Code["Organising code inside an app"] L[Layered / N-tier] M[MVC · MVP · MVVM] C[Clean Architecture …
- Production Capstone and Interview Practice
… Add scheduled drift detection with explicit handling of exit code 2. Step 5: rehearse recovery and cleanup Change …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… For every file, the server must: - pull the text out of the PDF, - clean it up, - cut it …
- Layered (N-Tier) Architecture
… Changes cut across every layer "Add a discount code field" touches the controller, the DTO, the service, the …
- Jenkins: From Install to Your First Pipeline
… A build that fills the disk or runs untrusted code should never be able to break or read …
- Finding Service Boundaries with DDD
… auth, email, payments"] -- GenHow["Buy / use SaaS"] Put your best engineers and cleanest design into the core ; buy …
- Jenkins in Production: Deploys, Docker and Scaling
… code workflow-aggregator git github-branch-source ssh-agent docker-workflow credentials-binding lockable-resources ws-cleanup Now …
- AWS Security Building Blocks
Add user sign-in with Cognito, keep credentials out of code, and understand the simple role of KMS …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… The AWS SDK discovers the temporary credentials automatically, so your code does not change ; you just leave AWS …
- OOP Mistakes and Interview Questions
… depend on abstractions, not concrete classes. (See the Clean Code & SOLID section for a full lesson on each …
- Hexagonal Architecture (Ports & Adapters)
… Exactly the same rule as Clean Architecture, drawn differently. A complete example: a library loan system 1. The …
- Data Preparation and Model Training
… made. mermaid flowchart LR R[Raw sources] -- C[Clean and validate] C -- L[Define labels and time window …
- Domain-Driven Design: Strategic Design
… in conversations, documents, tests and the code itself . mermaid flowchart LR subgraph Without["❌ Translation everywhere"] E1["Expert: 'The …
- Python Fundamentals
… print("Always runs") A context manager ( with ) guarantees cleanup even when an error happens: python from pathlib import …
- DRY: Don't Repeat Yourself
… one source of truth instead of many copies that drift apart](/img/clean-code/dry.svg) DRY = Don …
- KISS: Keep It Simple, Stupid
… a light switch beats a Rube Goldberg machine](/img/clean-code/kiss.svg) KISS = Keep It Simple, Stupid …
- D — Dependency Inversion Principle
… The key to swappable, testable code. The big idea Your lamp doesn't have a wire soldered directly …
- Comments & Formatting
… headline first, details later.  💡 Rule of thumb: If you …
- Small Functions That Do One Thing
… focused functions are like a chef's knife set, not a Swiss Army knife](/img/clean-code/one …
- Go Fundamentals
… The code is sometimes a little longer, but anyone on the team can read anyone's code . Think …
- Behavioral Patterns I: Observer, Strategy, Command, State
… who talks to whom, who decides what, and how to change behaviour without rewriting code. --- 1. Observer (Pub …
- DSA Interview Patterns Cheat Sheet
… Optimise<br/ name the pattern"] -- C["5️⃣ Code<br/ clean names"] -- T["6️⃣ Test<br/ walk through"] -- X …
- Deploying & Operating Microservices
… code is in production, flag off)"] -- Staff["👩💻 Staff only"] -- Ten["10% of users"] -- All["100% ✅"] All -- Clean["🧹 …
- Users, Permissions & sudo
… The cleaner can enter every floor but not the safe. An accountant can open the finance room. Only …
- Node.js and Express
… a new listener and timer per connection, never cleaned up io.on("connection", (socket) = { bus.on("price", (p …
- Resilience, Disaster Recovery and Multi-Region Design
… everything as code (CloudFormation, CDK, Terraform) and container images replicated with ECR cross-region replication ; AMIs copied to …
- Practical Project: Deploy a Real CRM App on EKS
Take a containerized CRM (DemoCRM) from source code to a secure AWS deployment: ECR images, an EKS cluster …
- Vertical Slice Architecture & the Modular Monolith
Organise code by feature instead of by technical layer, and split a monolith into well-bounded modules that …
- L6 Production Debugging Casebook
… Random bugs in app code don't keep a clock. How to investigate: 1. Put these on one …