Skip to main content
00:00/00:00
Lecture 3 of 52

Understand the MVC architecture

Download Course (Free)

Course Content

0 / 52 completed
Section 1: Introduction4 videos

Meet Laravel

2m

What you should know

1m

Understand the MVC architecture

1mNow Playing

Using Codespaces with this course

4m
Section 2: Laravel Basics Routes, Views, and Controllers7 videos

Serve the application

3m

Handle routing

3m

Creating a view

4m

Challenge Create a controller and a view, then add a route

1m

Solution Create a controller and a view, then add a route

2m

Building layouts with Blade

7m

Working with controllers

3m
Section 3: Laravel Basics Configuration, Database, Migrations, and Eloquent6 videos

Understand Laravel configuration

4m

Working with the database

6m

Challenge Create a migration to add a column and update a row

1m

Creating and running migrations

3m

Creating models and using Eloquent

4m

Solution Create a migration to add a column and update a row

3m
Section 4: Starting Your Project7 videos

Understand the project requirements

3m

Add authentication with Laravel Breeze

5m

Create the first model, migration, controller, and routes

3m

Register resource routes

6m

Adding styles to the project

8m

Challenge Create a new resource

1m

Solution Create a new resource

2m
Section 5: Creating, Indexing, and Showing9 videos

Add an index method to fetch all notes

5m

Create an index view to display all notes

5m

Add pagination and clean up the index view

5m

Add a store action to save the data

7m

Add a create method and view to show a form

11m

Add a show action and view to display single note

7m

Challenge Add index and create methods for a new resource

1m

Create a unique ID for each note

4m

Solution Add index and create methods for a new resource

5m
Section 6: Editing, Updating, and Deleting6 videos

Add an edit method and view to allow editing of the note

5m

Add an update method to update edited data

3m

Add a destroy method to delete a note

4m

Show flash data to users

5m

Challenge Update notes with a new resource

1m

Solution Update notes with a new resource

10m
Section 7: Relationships5 videos

What are Eloquent relationships

1m

Define relationships

2m

Challenge Define a new relationship and use it

1m

Query and save relationships

5m

Solution Define a new relationship and use it

3m
Section 8: Soft Deleting5 videos

Enable soft delete

4m

Query soft deleted models

7m

Permanently delete models

6m

Restore soft deleted models

4m

Show soft deleted model

8m
Section 9: Conclusion3 videos

Optional Set up a local development environment

4m

Next steps

1m

Quick summary

1m