Uploaded November 2022 | Updated November 2026, 3 hours ago
In this video we do a little bit more refactoring where we make our controllers thin by refactoring the validation to its own classes. We use factory design pattern to implement validator object creation.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!
🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - https://1.envato.market/c/2937311/298927/4662
LESSON P.9
Starting Source Code - github.com/ggelashvili/expennies/tree/P9_Start
Ending Source Code - github.com/ggelashvili/expennies/tree/P9_End
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
TABLE OF CONTENTS
00:00 - Intro
00:20 - Refactor User Registration
06:45 - Refactor Validation to Request Validator Classes
08:50 - Factory Design Pattern
15:12 - Overview & Test in Browser
16:59 - Outro
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
In this video we do a little bit more refactoring where we make our controllers thin by refactoring the validation to its own classes. We use factory design pattern to implement validator object creation.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!
🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - https://1.envato.market/c/2937311/298927/4662
LESSON P.9
Starting Source Code - github.com/ggelashvili/expennies/tree/P9_Start
Ending Source Code - github.com/ggelashvili/expennies/tree/P9_End
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
TABLE OF CONTENTS
00:00 - Intro
00:20 - Refactor User Registration
06:45 - Refactor Validation to Request Validator Classes
08:50 - Factory Design Pattern
15:12 - Overview & Test in Browser
16:59 - Outro
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.










