Moving Side Effects Out of Requests with Symfony Messenger
Decouple slow side effects from HTTP requests by dispatching intents with Symfony Messenger, configuring an async transport, and processing them with supervised workers and retry middleware.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Decouple slow side effects from HTTP requests by dispatching intents with Symfony Messenger, configuring an async transport, and processing them with supervised workers and retry middleware.
Sulu zones let editors compose flexible page regions, but unbounded nesting and vague block definitions create Twig complexity and inconsistent layouts. Learn how to define zones deliberately, map custom blocks to templates, and verify the result.
When to move work out of the HTTP request with Symfony Messenger, how to keep the message payload untrusted, and which failure modes at-least-once delivery makes normal.
Sulu’s Content Types can be defined in YAML, giving teams version control, auditability, and CI/CD speed. Learn how to write a YAML schema, generate migrations, and avoid sync pitfalls with a concrete example.
Keep async Symfony Messenger processing resilient by configuring retry strategies and a failure transport so exhausted messages are preserved and retryable.
A task guide to registering a Sulu Smart Content data provider that exposes Doctrine ORM entities to templates, with SQL pagination and admin-facing configuration.
Learn how to enable Sulu’s Headless API, expose JSON content for React/Vue frontends, and keep the Sulu admin UI while addressing the need to re‑implement Twig‑based presentation logic.
Decide between Symfony's global form themes and manual Twig rendering to balance development speed with design precision. Learn how to override blocks for consistent UI.
Sulu defines custom content types as XML page templates in config/templates/pages, not YAML. A worked blog_post example, cache-clearing steps, rendering, JSON options, and pitfalls.