Book Image

Beginning Laravel [Video]

By : Hiren J. Dave
Book Image

Beginning Laravel [Video]

By: Hiren J. Dave

Overview of this book

<p><span id="description" class="sugar_field">Using Laravel's PHP framework, it's easy to create complex business applications, but its strict system requirements confuse most beginners. This course will help you understand those system requirements and set them up in your preferred development environment, including Windows, Mac, and Linux, so you can start developing with Laravel.</span></p> <p><span id="description" class="sugar_field">You will start by understanding necessary system requirements for Laravel, and how you can install Laravel for Windows, Mac, and Linux systems. Then you will look into creating and configuring your first Laravel application. You will learn about the Laravel Directory Structure, as well as dependencies, packages, and installation with Composer. After that you will learn all about the Laravel MVC structure: routes, controllers, models, views, and templates. Finally, you will apply all you have learnt to create a simple Web application with Laravel, with CRUD operations and basic validations. </span></p> <h2><span class="sugar_field">Style and Appraoch</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">A fast-paced guide that will take you on a journey through Laravel's essentials and quickly progress to meatier topics. This course will whet your appetite to learn more and progress to the next level of learning. A basic understanding of PHP is assumed.</span></span></p>
Table of Contents (4 chapters)
Chapter 4
Adding CRUD Features to Your Laravel Application
Content Locked
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.