[10/10] The Fat Controller

2K views Feb 14, 2023

https://codereviewvideos.com/course/symfony-3-for-beginners/video/the-fat-controller In this final video in our Beginners Guide to Symfony 3 tutorial series we cover off a few remaining issues from both code, and usability perspectives. From a code point of view we are going to look at what happens if we were to split our registerAction into a method which displays the form, and a separate method which handles the form submission. I prefer this approach in the majority of cases as these are, in my opinion, two separate concerns. However, there are issues with doing this for certain form submissions, and Registration is one of those occasions. Full write up and code sample - https://codereviewvideos.com/course/symfony-3-for-beginners/video/the-fat-controller