Symfony 6 Microservice - Pub-Sub/ Command patterns | Queues (Messenger & RabbitMQ) | Data validation

Опубликовано: 03 Октябрь 2024
на канале: Tanya WebDev
443
15

We will build a simple microservice that sends emails. We will use pub-sub and command patterns to decouple the email sending logic from the rest of the application. We will use queues to asynchronously send emails, and we will use the Validation bundle to validate user data before sending emails.

This video is for developers who want to learn how to send emails from a Symfony 6 microservice using advanced techniques.

⬅ Previous video here:    • Symfony 6 Microservice in DDD style -...  

💡 You can support the channel on Patreon:   / tatyana_webdev  

💾 The code of the project is available in the repository: https://github.com/Tanya-WebDev/mail-...

⭐️ Tutorial Contents ⭐️

◆ (00:00) Let's start

◆ (00:27) Theoretical part

◇ (01:34) Publisher-Subscriber pattern
◇ (04:10) Pub-Sub pattern with Messenger component
◇ (04:49) Command pattern

◆ (06:36) Installation of the Messenger bundle

◆ (07:02) Separating microservice logic into Command & CommandHandler

◆ (17:59) Data validation with Symfony Validation bundle

◆ (24:06) Queues and asynchronous message processing via Symphony Messenger bundle with RabbitMQ as a message broker

___
You can find me on:
LinkedIn:   / tatyana-webdev  

#TanyaWebDev #coding #php #symfony #symfony6 #ddd #SymfonyMailer #MailerBundle #pubsub #commandPattern #SymfonyMessenger