Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Doctrine & the Database in Symfony 4

via SymfonyCasts

Overview

Two episodes down! Booya! And we are super ready to put our new skills to the test! It's finally time to make up app come alive by using Doctrine to connect to a database. Doctrine is an amazing ORM that works great with Symfony and is super powerful. It also has a reputation for being hard to learn and for making you write a lot of code. But that's changing! Thanks to some recent improvements and Symfony Flex, working with Doctrine has never been easier or more rewarding. So, let's get started! 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 Faker Relationships & Associations

Syllabus

  • 01. Installing Doctrine
  • 02. Creating an Entity Class
  • 03. Database Migrations
  • 04. Saving Entities
  • 05. Querying for Data!
  • 06. Fun with Twig Extensions!
  • 07. ago Filter with KnpTimeBundle
  • 08. Service Subscriber: Lazy Performance
  • 09. All about Entity Repositories
  • 10. Custom Queries
  • 11. Query Logic Re-use & Shortcuts
  • 12. Updating an Entity with New Fields
  • 13. Updating an Entity
  • 14. Fixtures: Seeding Dummy Data!
  • 15. Using Faker for Seeding Data
  • 16. Sluggable & other Wonderful Behaviors
  • 17. When Migrations Fail
  • 18. Activating Timestampable

Taught by

Ryan Weaver

Reviews

Start your review of Doctrine & the Database in Symfony 4

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.