Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Bonus material: streamlining controllers + code testing #56
By the time you complete P4, you may notice your controller files are growing quite large and wonder if there's a more optimal way can organize all this logic code.
To address this, here's a bonus video explaining one way you can streamline your controllers by outsourcing some of the logic to their own classes. I also briefly touch on testing and how re-organization can help create a more testable code base.
This info is all just FYI and while you can implement it in P4, you are not required to.
This video was recorded in a previous semester, so you may see some minor differences in the foobooks code from what we've built this semester (different variable names, slightly different approaches, etc.).