Tagged articles

model separation

2 articles · Page 1 of 1
Data Bricklaying Diary
Data Bricklaying Diary
Sep 2, 2026 · Backend Development

Independent Deployment ≠ Clean Internals: Isolating Business Rules from Technical Details

This article explains why independently deployed services can still have chaotic internal architecture, and demonstrates how to separate business rules, use cases, ports, and adapters to ensure dependencies point inward, enabling testable, evolvable systems without mechanically applying layered templates.

business rules isolationclean architecturedependency inversion
0 likes · 22 min read
Independent Deployment ≠ Clean Internals: Isolating Business Rules from Technical Details
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

Secure FastAPI Responses: Separate Input and Output Models with response_model

This article shows how FastAPI's response_model lets you define distinct input and output Pydantic models to hide sensitive fields like passwords, outlines common CRUD scenarios, demonstrates partial updates with PATCH and exclude_unset, and explains why extracting models into a dedicated file improves code organization.

FastAPIPydanticPython
0 likes · 6 min read
Secure FastAPI Responses: Separate Input and Output Models with response_model