It’s time to start adding a bit more structure to our application. We’ve been very focused on framework code – which isn’t a bad thing – but it meant that we’ve neglected some of the fundamental things we need to start building a proper website.
Most websites have forms. Let’s make it easier to build and use them to capture user input! First, we’ll need to make an alternative to keeping all of our application code inside the routes file…
What Are Controllers?
We’ve already covered much of the “View” portion of MVC, and we’re going to take a deep dive ...