Laravel Basics Course (How To)
Offered By: Treehouse
Course Description
Overview
This course will show you how to build the Treehouse course catalog using Laravel, one of the most popular PHP frameworks. You could easily use this project to create your own basic Laravel application using the MVC design pattern.
What you'll learn
- Connect database environment variables
- Create Laravel Routes and Closures
- Extend Views using Blade templating
- Produce database Models and Seeders
- Migrate and seed your application database
Syllabus
Getting Started With Laravel
A framework, like Laravel, provides helpful tools that simplify development tasks like security, working with databases, templating, error handling, and a lot more. In this stage, you'll learn how to create a Laravel application, create a database in PHPMyAdmin then add the environment credentials to your new Laravel application. Finally, we'll review the folder structure of Laravel applications and review the final project, the Treehouse course library.
Chevron 6 steps-
Introducing Laravel
2:40
- instruction
Create a Laravel 6 Project
-
Creating a Laravel Project
3:34
-
Create Database and Add Environment Credentials
3:38
-
Overview of a Laravel Project
4:20
-
Laravel Basics Review
6 questions
Application Navigation (Routing)
Application navigation in Laravel is achieved using routes. A route maps all user requests to the appropriate controller, much like an air traffic controller would route airplane traffic. In this stage, you'll learn to use routes and other tools such as Closures and Artisan CLI, to create seamless navigation for your Laravel application.
Chevron 4 steps-
Introduction to Web Routes
5:20
-
Closures in Routes
3:38
-
Artisan CLI
3:31
-
Application Navigation Review
5 questions
MVC (Controller)
In this stage you'll learn all about Controllers and Resource Controllers, which you'll use to build CRUD operations. Resource Controllers make building CRUD functionality a snap, and the Artisan CLI makes it even easier to implement.
Chevron 4 steps-
Introduction to Controllers
2:40
-
Using Controllers to Return Views
3:12
-
Resource Controllers
2:22
-
Controller Review
5 questions
MVC (View)
Now that we’ve covered routes and Controllers, in this stage, you'll start building your application's Views using templating. Views, by design, are created using the blade templating engine that comes packaged with Laravel and contain the HTML, CSS, and JavaScript that are served by your application. Let’s navigate to the resources/views directory and take a closer look at how Views work.
Chevron 4 steps-
Creating a Blade
3:26
-
Using Includes to stay DRY
3:26
-
Extending Blade Templates
4:24
-
Review the View
5 questions
MVC (Model)
Now that we’ve covered Routing, Controllers, and Views, in this stage, you'll learn all about the M in MVC, the Model and how to connect your Laravel application to the data in your database.
Chevron 4 steps-
Intro to Models
3:14
-
Intro to Tinker
3:47
-
Deploying Migrations
6:43
-
Review the Model
4 questions
Taught by
Abrahm Overcast
Related Courses
API Testing Using Rest Assured Test Automation ToolCoursera Project Network via Coursera API Testing Using Rest Sharp (with C#) Test Automation Tool
Coursera Project Network via Coursera Create a C# Application to process MongoDB Data
Coursera Project Network via Coursera CRUD Operations using MongoDB NoSQL
Coursera Project Network via Coursera Database Operations in MariaDB Using Python From Infosys
Coursera Project Network via Coursera