Getting Started with Laravel (PHP Framework) 7 - The Basics
Frameworks like Laravel support you when building web applications that scale. This course teaches the basics about Laravel, how it works, how to use views, controllers and models, and how to connect it all.
What you'll learn
When building anything but very simple web applications, vanilla PHP will quickly be the limiting factor. Instead of re-inventing the wheel over and over again, frameworks like Laravel help you with handling basic yet important tasks like sessions, authentication, or input validation. This course, Getting Started with Laravel (PHP Framework) - The Basics, teaches you how Laravel works and how to use it. You will start with understanding the theory behind Laravel. Then, you'll learn how to create and render views, as well as handling requests and inputs. Finally, you will connect your business logic to the page showing up in the browser using a Model-View-Controller (MVC) approach. After finishing this course, you'll be able to go back to the application you were stuck on and rebuild it in less time whilst only focusing on your core business logic.
Table of contents
- Version Check 0m
- Introduction 1m
- What is Laravel? 2m
- MVC vs Non-MVC 2m
- MVC and the Structure of This Course 4m
- Additional Courses 2m
- Course Prerequisites 1m
- Setting up a Laravel Project 7m
- Understanding the Folder Structure 5m
- A Quick Intro to the Artisan Command Line Interface 1m
- Using This Course with Other Laravel Versions 1m
- Introduction 2m
- Views and Templating Engines 2m
- Why Use Templating Engines? 2m
- Blade - Displaying Data and Using Layouts 3m
- Demo: Using Layouts 5m
- Demo: Displaying Data 2m
- Blade - Partials 1m
- Demo: Partials 3m
- Blade - Control Structures 1m
- Demo: Control Structures 3m
- Blade - XSS Protection 1m
- Demo: XSS Protection 1m
- Adjusting the Course Project 4m
- Facades and Finishing Touches 3m
- Introduction 1m
- The Laravel Request Flow 5m
- What's the Job of a Router? 2m
- Creating Routes 4m
- Demo: Project Routes and Views 3m
- Navigation and Route Names 3m
- Demo: Adding Navigation to the Project 1m
- Passing Route Parameters 2m
- Creating and Using POST Routes 4m
- Structuring Routes with Route Groups 2m
- Wrap Up 1m
- Introduction 1m
- Handling Requests and Sending Responses 3m
- Demo: Extracting Data from a GET Request 2m
- Demo: Sending Data to a View 6m
- Handling POST Requests with Dependency Injection 4m
- Dependency Injection vs Facades 1m
- Demo: Using Dependency Injection 2m
- Protecting Against CSRF Attacks 3m
- Demo: CSRF Protection 1m
- Using Sessions to Show Temporary Data 5m
- A Case for User Input Validation 1m
- Demo: Implementing Input Validation 5m
- Demo: Showing Validation Errors 3m
- Demo: Outsourcing Error Messages into Partials 1m
- Wrap Up 1m
- Introduction 2m
- Controllers and Models - Overview 2m
- Demo: Creating the Post Model 3m
- Demo: Adding Methods to the Model 3m
- Demo: Creating the Post Controller 4m
- Connecting Controller Actions and Routes 3m
- How Laravel Finds the Controller 1m
- Alternative Route Syntax 1m
- Demo: Finishing the Post Model 1m
- Demo: Finishing the Controller 2m
- Using Validation in Controllers 2m
- Finishing the Course Project & Wrap Up 6m