Design Patterns in PHP - Strategy (Implementing Laravel Validation from Scratch)

preview_player
Показать описание
🏢 Need Professional SaaS Development?
Our agency Devlob builds premium SaaS applications in weeks, not months.
- Production-ready app with 32+ enterprise features on day 1
- Starting at $2,400 + custom development
- Professional Laravel & NuxtJS development

Looking to build a serious SaaS business?

Рекомендации по теме
Комментарии
Автор

I think in 10:00 the written array is so complicated for no reason, we all know by default that the returned array is an array of errors so simply we can go with :
$errors[$field['name']][] = $error;
thanks for the video

TheDoctorFox
Автор

Every time you add a new validation type, you need to add "else if" statement in the Valodator.php class.
Doesn't it violate the "Open-Closed" principle?

riddleradarhq
Автор

how to run validator without inserting into database, i want to make jquery steps sign-up form with laravel validation on which every tab laravel validation will run

TariqSajid
visit shbcf.ru