#Framework

129 posts

Django Advanced #5: Signals in depth and post-transaction work
8 min read

Django Advanced #5: Signals in depth and post-transaction work

transaction.on_commit, savepoints, custom signals, mute_signals, Celery integration — every tool you need to use signals safely.

Angular Advanced #4 RxJS in depth — custom operators and Schedulers
10 min read

Angular Advanced #4 RxJS in depth — custom operators and Schedulers

On top of the RxJS basics from Intermediate, we cover the advanced topics that actually make a difference in practice. Higher-order Observables, concurrency-control operators, custom operators, Schedulers, and marble testing.

Django Advanced #4: Caching — per-view / template fragment / low-level
9 min read

Django Advanced #4: Caching — per-view / template fragment / low-level

From Redis backend setup to cache_page, template fragments, low-level cache.set/get, ETag, and stampede — every layer of Django caching.

Angular Advanced #3 Dynamic components and ViewContainerRef
10 min read

Angular Advanced #3 Dynamic components and ViewContainerRef

A walk-through of patterns for creating components dynamically at runtime. From ViewContainerRef and createComponent to @defer, ngComponentOutlet, CDK Portal, dynamic injectors, and memory management — all in one go.

Django Advanced #3: Query optimization — N+1, select_related, EXPLAIN, indexes
9 min read

Django Advanced #3: Query optimization — N+1, select_related, EXPLAIN, indexes

From the anatomy of N+1 to select_related/prefetch_related, only/defer, EXPLAIN, indexes, bulk_*, and select_for_update — the performance toolbox of Django ORM.

Angular Advanced #2 Signals in depth — computed, effect, model
10 min read

Angular Advanced #2 Signals in depth — computed, effect, model

A deep dive into Signals, Angular's new reactive model. We bring computed, effect, input/output/model, linkedSignal, and the cooperation with RxJS together in one place.

Django Advanced #2: Custom management commands
8 min read

Django Advanced #2: Custom management commands

From what manage.py actually is, to BaseCommand subclassing, argument parsing, cron integration, call_command, and testing — the full picture of custom commands as one axis of Django operations.

Angular Advanced #1 Change Detection — Default, OnPush, Zoneless
9 min read

Angular Advanced #1 Change Detection — Default, OnPush, Zoneless

A walk-through of Change Detection — the heart of Angular performance — from start to finish. We cover the Default and OnPush strategies, the role of NgZone and zone.js, and Zoneless Angular, which arrived on the back of Signals.

Django Advanced #1: Async views and ASGI
8 min read

Django Advanced #1: Async views and ASGI

Django's async camp — async def view, ORM's a-prefixed methods, async middleware, sync_to_async/async_to_sync, and ASGI servers.

Angular Intermediate #7: Testing — TestBed and Component Tests
10 min read

Angular Intermediate #7: Testing — TestBed and Component Tests

Verifying Services and components with Angular's standard test environment, TestBed, plus mock injection, the HttpTestingController pattern, and ComponentHarness.

Django Intermediate #7: Testing — Django TestCase, fixtures, pytest-django
8 min read

Django Intermediate #7: Testing — Django TestCase, fixtures, pytest-django

TestCase and Client, fixtures vs factory_boy, the fixture model of pytest-django — Django ecosystem testing tools, all in one place.

Angular Intermediate #6: Guards and Resolvers
9 min read

Angular Intermediate #6: Guards and Resolvers

Angular's Guards and Resolvers — tools that intercept the flow before a route is entered. Function-based canActivate, canMatch, canDeactivate, plus Resolvers that pre-fetch data.