YoVDO

Doctrine, Symfony & the Database

Offered By: SymfonyCasts

Tags

Doctrine Courses Web Development Courses Docker Courses Symfony Courses Database Management Courses Database Migration Courses

Course Description

Overview

It's database time! After the first two courses, we are primed and ready to take our app up a level... or 10!

This tutorial is all about Doctrine: a powerful ORM that will allow us to talk to a database from inside our Symfony app. Historically, Doctrine has sometimes had a reputation for being hard to learn. But with recent changes in the Symfony world, that's gone. You are going to love what Doctrine will let you do! Let's go!

  • Booting a database with Docker via make:docker:database
  • Database Configuration
  • 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

Syllabus

  • Installing Doctrine
  • make:docker:database
  • docker-compose & Exposed Ports
  • docker-compose Env Vars & Symfony
  • doctrine:database:create & server_version
  • Entity Class
  • Migrations
  • Persisting to the Database
  • Fetching Data & The Repository
  • Entity objects in Twig
  • "5 Minutes Ago" Strings
  • Custom Repository Class
  • DQL & The Query Builder
  • Reusing Query Logic & Param Converters
  • Automatic Controller Queries: Param Converter
  • Smarter Entity Methods
  • Request Object & POST Data
  • Update Query & Rich vs Anemic Models
  • Data Fixtures
  • Foundry: Fixture Model Factories
  • Foundry Tricks
  • Sluggable: Doctrine Extensions
  • Timestampable & Failed Migrations

Taught by

Ryan Weaver

Related Courses

Datenmanagement mit SQL
openHPI
Programming Cloud Services for Android Handheld Systems
Vanderbilt University via Coursera
Getting and Cleaning Data
Johns Hopkins University via Coursera
Ruby مدخل إلى برمجة مواقع الإنترنت باستخدام لغة
Rwaq (رواق)
MongoDB for .NET Developers
MongoDB University