Route Model Binding Improvements
Route Model Binding is one of the coolest and most used features of Laravel. Laravel 7 comes with some welcomed changes which include the new key customization and automatic scoping in nested routes. Let's take a look at some concrete example of how it works.
Final Project Part 4 (Questionnaire/Survey App)
For a final project on this course, let's build an App for creating questionnaires (surveys). In part 4, we take care of 3 loose ends. Let's start with the home view and display all questionnaires. Then, let's use relationships to delete questions and answers. Lastly, let's show, in percentage, how many people have selected each answer.
Final Project Part 3 (Questionnaire/Survey App)
For a final project on this course, let's build an App for creating questionnaires (surveys). In part 3, we will create a view to give us the ability to view the questionnaires. Then, let's create the flow necessary to have someone actually answer our questionnaire. We will call this concept a survey and survey response.
Routes are the way that we let Laravel know how to respond to a requested URI in the browser. Let's take a look with the route that ships with Laravel and create our own new route.