Doctrine, Symfony & the Database

Go to class
Write Review

Doctrine, Symfony & the Database provided by SymfonyCasts is a comprehensive online course, which lasts for 2-3 hours worth of material. Doctrine, Symfony & the Database is taught by Ryan Weaver. Upon completion of the course, you can receive an e-certificate from SymfonyCasts. The course is taught in Englishand is Paid Course. Visit the course page at SymfonyCasts for detailed price information.

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:databaseDatabase ConfigurationCreating (and updating) Entities with make:entityGenerating & using migrationsInserting new dataFetching & Querying for dataDoctrine RepositoriesCustom queries and the query builderFixtures (Dummy data) using FoundryRelationships & Associations

Syllabus
    • 01. Installing Doctrine
    • 02. make:docker:database
    • 03. docker-compose & Exposed Ports
    • 04. docker-compose Env Vars & Symfony
    • 05. doctrine:database:create & server_version
    • 06. Entity Class
    • 07. Migrations
    • 08. Persisting to the Database
    • 09. Fetching Data & The Repository
    • 10. Entity objects in Twig
    • 11. "5 Minutes Ago" Strings
    • 12. Custom Repository Class
    • 13. DQL & The Query Builder
    • 14. Reusing Query Logic & Param Converters
    • 15. Automatic Controller Queries: Param Converter
    • 16. Smarter Entity Methods
    • 17. Request Object & POST Data
    • 18. Update Query & Rich vs Anemic Models
    • 19. Data Fixtures
    • 20. Foundry: Fixture Model Factories
    • 21. Foundry Tricks
    • 22. Sluggable: Doctrine Extensions
    • 23. Timestampable & Failed Migrations