Description
In this course, you will :
- Learn about MVC architecture, the Laravel framework, routes and controllers, Blade files, models, and best practises for database interaction.
- Learn how to use various Laravel components as you create your own simple note-taking app.
- Find out why the latest version, Laravel 9.0, allows you to build web apps quickly and easily, no matter where you are on your coding journey, from user authentication and routing to CRUD operations and database relations.
Syllabus :
1. Installation and Setup
- Choose the right tool
- Prerequisites for Windows OS
- Install Docker Desktop
- Create your first Laravel application
2. Laravel Basics
- Handling routing
- Creating a view
- Building layouts with Blade
- Working with controllers
- Understanding Laravel configuration
- Working with the database
- Creating and running migrations
- Using Eloquent
3. Starting Your Project
- Understanding project requirements
- Setup a new project
- Add authentication with Laravel Breeze
- Add styles to the project
- Create the first model with migration
- Register resource routes
- Create resource controller actions
4. Creating, Indexing, and Showing
- Add an index method to fetch all notes
- Create an index view to display all notes
- Add pagination and clean up the index view
- Add a create method and view to show a form
- Add a store action to save the data
- Add a show action and view to display single note
- Create a unique ID for each note
- Use route model binding
5. Editing, Updating, and Deleting
- Add an edit method and view to allow editing of the note
- Add an update method to update edited data
- Add a destroy method to delete a note
- Show flash data to users
6. Relationships
- What are Eloquent relationships?
- Define relationships
- Query and save relationships
7. Soft Deleting
- Enable soft delete
- Query soft deleted models
- Show soft deleted model
- Restore soft deleted models
- Permanently delete models