Description
In this course, you will :
- Creating a sophisticated and interactive social web project.
- Learn how to create web projects with the Symfony Framework.
- Use the most recent PHP 8 version.
- Create a practical project to learn Tailwind CSS.
Syllabus :
1. Symfony 101
- Starting a New Symfony Project
- How Symfony Works?
- Routing Using PHP 8 Attributes
- Route Parameter Requirements / Optional Parameters
- Twig Templates
- Twig Template Inheritance
- Twig Control Structures (if/for)
- Twig Filters & Functions
- Twig Functions - Including Partial Templates
- Generating Links to Routes
- Symfony Maker (Generating Boring Code)
- Symfony Profiler (Debugging Your Project)
2. Databases and Doctrine ORM
- Databases and Doctrine
- What is Docker
- Running MySQL Server and Connecting from Symfony
- Generating and Understanding Entities
- Doctrine Migrations
- Doctrine Fixtures (Fake Data)
- Doctrine Repositories (Fetching, Storing, Updating & Deleting Data)
- Param Converter (Auto Fetching Entity)
3. Forms
- Symfony Forms
- Handling Form Submission
- Flash Messages & Redirects
- Customizing Form Rendering
- Form Themes
- Edit Form
- Form Classes
4. Styling The Application
- Introduction to Tailwind CSS
- Using Tailwind CSS
- Styling the Post List
- Styling Forms
- Adding Breadcrumbs (Navigation)
- Custom Form Theme (Our Own)
- Form Validation
5. Database Relations in Doctrine
- Doctrine Relations
- One to One Relation Explained
- Working with One to One Relation
- One to Many Relation
- Working with One to Many Relation
- Many to Many Relation
6. Comments Feature - Working with One to Many
- Adding Comments
- Solving N+1 Problem
- Displaying Comments
7. Authentication & Authorization
- Introduction to Authentication & Authorization
- Hashing Passwords and Creating Users in Fixtures
- Custom Console Command Creating Users
- Authenticating Using Forms
- Logging Users Out
- Relate Posts & Comments to User
- The Unrun Migration Problem
- Getting The Current User
- User Roles Explained (In-Depth)
- Logout Button and Missing Features
- Voters (In-Depth)
8. User Registration & Verification
- Setting Up Registration Controller and Mail Catcher
- Registration Form Template
- Testing Registration & Repeating Password
- Non Verified Users Can't Post
- User Checkers and Banning Users Functionality
9. User Profiles, Likes, Following Features
- User Profile Form
- Embedding Forms
- User Profile Page
- Likes Functionality
- User Following Feature Data Model
- User Following Feature Functionality
- Using Twig Embeds to Create Tab Navigation
- Profile Page Tab Navigation
- List Of User Followers
10. More Features and Complex Database Queries
- Making Reusable Queries
- User Posts - Optimizing Query
- Post List - Tab Navigation
- Top Liked Posts - Using Group By & Having
- Getting Posts of the People You Follow (Query Example)
11. File Uploads
- Image Uploading Controller
- File Upload Form
- File Upload Form Template
- Image Upload Logic
- Image Avatar Component
- Using User Avatar Everywhere
- Extra Privacy Feature (Voter Example)
12. Services, Service Container & Dependency Injection
- Symfony Debug Command
- Services and Service Container
- Service Container in Detail
- Debugging the Service Container
- Dependency Injection