Real-time reactive web architecture for Elixir 1.17, Phoenix 1.7+, LiveView HTML-over-WebSockets, OTP supervision trees, and Ecto.
Standardized production guidelines for Elixir, Phoenix LiveView, and PostgreSQL.
Yes — AGENTS.md is the open, cross-tool standard read by Cursor, Claude Code, Windsurf, and 30+ other agents. A dedicated .mdc file is also included for Cursor's native .cursor/rules format.
Phoenix LiveView calls mount/3 twice: once during the initial static HTTP render (disconnected, for fast first paint and SEO), and again after the WebSocket connection is established. Subscribing to PubSub topics or starting expensive processes during the disconnected pass wastes work that gets thrown away, so that setup should only happen once connected?(socket) is true.
Ecto.Multi composes a sequence of named operations — inserts, updates, function calls — into a single atomic transaction with clear, inspectable steps and per-step error attribution. A raw Repo.transaction/1 with imperative code inside makes it much harder to tell which specific operation failed when a multi-step mutation rolls back.
Production guidelines for Django 5 enterprise applications, PostgreSQL connection pooling, Redis caching, and Celery async workers.
Production guidelines for FastAPI, Pydantic v2 validation, Async SQLAlchemy 2.0 (asyncpg), Alembic migrations, and PostgreSQL/Redis.
Production guidelines for Laravel 11 monoliths, Livewire reactive components, Eloquent ORM query discipline, and queued job workers.
Enterprise backend architecture guidelines for NestJS modular design, PostgreSQL connection pooling, Redis BullMQ background jobs, and DTO validation.