The engineering notebook
RSS feed#architecture
Articles, practical guides, and engineering notes on architecture.
By Ashish Bhakhand 108 published articles
Explore the articles
34 articles
Reset filtersWhy My Lambda Handlers Only Wire Dependencies
Keep handlers focused on transport concerns and dependency wiring so application behavior stays reusable and easy to test.
Designing a Reliable Flutter HTTP Layer with Dio
Centralize configuration, authentication, error mapping, cancellation, and retries without allowing Dio details to spread through the app.
Deterministic Tests by Injecting Time and IDs
Replace hidden calls to the clock and random UUID generator with tiny dependencies that make Jest tests exact and repeatable.
Building One Flutter Core for Multiple Apps
Share complete Flutter features across apps without forcing routing, branding, and app-shell decisions into the common package.
Background Audio in Flutter Is More Than Pressing Play
Build one reliable Flutter audio system for the app, lock screen, notification controls, interruptions, and background playback.
Who Owns the Transaction in a FastAPI Application?
Place transaction boundaries around complete business operations without pushing orchestration into routes or hiding it inside unrelated queries.
Building Event-Driven Features Without Losing Consistency
Use ownership, durable events, idempotent consumers, and rebuildable projections to keep asynchronous features understandable.
When Manual Dependency Injection Stopped Scaling in My Flutter Apps
How get_it and injectable help organize services, repositories, use cases, and BLoCs without hiding ownership or lifecycle decisions.
FastAPI Lifespan: Managing Databases, Schedulers, and Shared Clients
Give long-lived resources clear startup and shutdown ownership instead of constructing them inside requests.