Doctrine, Symfony 6 & the Database
Offered By: SymfonyCasts
Course Description
Overview
After the first two courses, we're going to turn the volume to 11! Yup, it's database time!
This tutorial is all about Doctrine: a powerful ORM that will allow us to talk to a database from inside our Symfony app. With the power of PHP 8 & tools inside Symfony, Doctrine is not only the most powerful ORM in PHP, it's also a joy to work with. You are going to love it!
- Booting a database with Docker via the Flex recipe system
- Database config
- Creating (and updating) Entities with make:entity
- Generating & using migrations
- Inserting new data
- Fetching & Querying for data
- Doctrine Repositories
- Custom queries and the query builder
- Fixtures (Dummy data) using Foundry
- Relationships & Associations
SELECT * FROM doctrine_knowledge.
Syllabus
- Installing Doctrine
- docker-compose & Exposed Ports
- Docker & Environment Variables
- The "symfony console" Command & server_version
- Entity Class
- Migrations
- Adding new Properties
- Persisting to the Database
- Querying the Database
- Custom Entity Methods & Twig Magic
- The Query Builder
- Querying for a Single Entity for a "Show" Page
- Param Converter & 404's
- The Request Object
- Updating an Entity
- Flash Message & Rich vs Anemic Models
- Doctrine Extensions: Timestampable
- Clean URLs with Sluggable
- Simple Doctrine Data Fixtures
- Foundry: Fixtures You'll Love
- Pagination
- Forever Scroll with Turbo Frames
Taught by
Ryan Weaver
Related Courses
A Hands-On Look at Amazon Q Business ExpertAmazon Web Services via AWS Skill Builder Amazon Aurora - Cloud SQL DB Essentials
A Cloud Guru Amazon DynamoDB Data Modeling
A Cloud Guru AWS Certified Database - Specialty (DBS-C01)
A Cloud Guru Database Essentials
A Cloud Guru