Chapter 4
Adding CRUD Features to Your Laravel Application
Section 1
Working with Laravel Resource Controller and Implementing CRUD Operations
In this section, we will have the real development of the Laravel application. We will first start with adding CRUD operations to the Laravel application. This way you will a have good understanding of Laravel resource controller, models, and Laravel views and routes. Next, you will understand how HTTP request and HTTP response work in the Laravel application, what is its structure, and what is the content of request and response. Then, we will see the basics of validations using Laravel validators with forms and request to handle input data in your Laravel application. We will use default validators and will add some basic validations in CRUD operations. Next, we will see how to add pagination to get data in smaller chunks in case you are dealing with a large dataset. After that you will understand sessions, how session works in Laravel, what the various session configuration options are, and how you can manage data inside a session.