๐ป Looking to boost your PHP dev on VS Code? Check out TemPHPest! ๐ฅ
A powerful extension that rivals PHPStorm, with autocompletion, refactoring, and more!
๐ก Tested and approved on Laravel! ๐
(French content with subtitles)
youtu.be/RK9UjWwCfPc?si=lspMhJhVNxkh_pwT
Ludovic
@LaravelJutsu
Software engineer โ Creator of Laravel Jutsu. Magic player. ๐ฒ
โข โข 56 Posts โข 3K Views
๐ New Video Alert!
Dive into the Action Design Pattern โ a concept we heard about often this week. ๐ปโจ
I break it down step by step and show you how I implemented it in a real-world Laravel application.
๐ English subtitles included for everyone!
youtu.be/VatvAVDx8pY
๐น New video is out! ๐
I'm showcasing how I built an email campaign system in a professional project: patterns used, technical choices explained, and a dive into the code. ๐ป๐ฏ
๐ Check it out here: youtu.be/aSF2WycnwoA
Looking forward to your feedback! ๐
Things have changed.
- CreateCampaignAction is solely responsible for creating a Campaign and handling only the processes that occur when a Campaign is created.
- CampaignMailerService manages the logic for properly sending emails and is used in other parts of the app.
Every time you need to query something, it's usually better to start with the model you're talking about.
If you begin querying from another model, you may end up with 'unique/distinct' function because the joins will have duplicated them.
Keep it simple.