YoVDO

Doctrine & the Database in Symfony 4

Offered By: SymfonyCasts

Tags

Doctrine Courses Web Development Courses Entity Framework Courses Database Management Courses

Course Description

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

  • Installing Doctrine
  • Creating an Entity Class
  • Database Migrations
  • Saving Entities
  • Querying for Data!
  • Fun with Twig Extensions!
  • ago Filter with KnpTimeBundle
  • Service Subscriber: Lazy Performance
  • All about Entity Repositories
  • Custom Queries
  • Query Logic Re-use & Shortcuts
  • Updating an Entity with New Fields
  • Updating an Entity
  • Fixtures: Seeding Dummy Data!
  • Using Faker for Seeding Data
  • Sluggable & other Wonderful Behaviors
  • When Migrations Fail
  • Activating Timestampable

Taught by

Ryan Weaver

Related Courses

Symfony API Platform with React Full Stack Masterclass
Udemy
Symfony PHP Framework Tutorial - Full Course
freeCodeCamp
Doctrine Relationships in Symfony 5 Framework - One to One, One to Many, Many to Many + More. MySQL, Postgres, Oracle
YouTube
Intro to Web Application Development with Symfony
Zenva via YouTube
Curso de Symfony
Zenva via YouTube