Go Pro with Doctrine Queries Legacy
You already know how to query with SQL, so learning how to do complex
queries with Doctrine should not give you a headache. In this series,
we'll learn the language Doctrine speaks (DQL), as well as the query
builder ...
Symfony 3 Doctrine the Database
With already two courses checked off, you are primed and ready to put
Symfony to work! And that's what this course is all about: making things more
interesting by talking to the database with Doctrine.
Doctrine has a ...
Doctrine Symfony the Database
... 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 ...
Doctrine the Database in Symfony 4
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 ...
Mastering Doctrine Relationships in Symfony 3
In the part 1 of the Doctrine Tutorial
we got a sweet setup with Doctrine: entities, queries, migrations and fixtures.
But, we left out one big piece: database relations. Once you've mastered these,
you'll be ...
Doctrine Symfony 7 the Database
... Woh! You're already two courses into Symfony. Time to go to warp 11 by "engaging" a database!
This tutorial is all about the database and a library called Doctrine: a powerful ORM that will allow us to talk to a ...
Go Pro with Doctrine Queries
You already know how to query with SQL, so learning how to do complex queries with Doctrine should not be a pain! In this tutorial, we'll learn about:
the language Doctrine speaks (DQL)
the QueryBuilder object
JOINs ...
Doctrine Symfony 6 the Database
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 ...
Mastering Doctrine Relations
In the part 1 of the Doctrine Tutorial we got some serious work done with Doctrine: creating entity classes, making custom queries, migrations, Docker setup & more!
But... we ignored one of the biggest part of Doctrine ...
Mastering Doctrine Relations in Symfony 4
In the part 1 of the Doctrine Tutorial we created a freakin' awesome setup: with Doctrine: entities, queries, migrations and fixtures.
But, we're missing a big, giant, huge, important piece! Database relations! And once ...
Doctrine Listeners on Update
Doctrine Listeners on Update¶
But what if a user updates their password? Hmm, our listener isn’t called
on updates, so the encoded password can never be updated. Crap!
Add a second tag to services.yml to listen on ...
Installing Doctrine
... smells like cookies, we'll
use a library called Doctrine. And while Doctrine and
Symfony are separate projects, they fit together like quantum entangled particles.
Spooky action at a distance, baby!
I'm Kevin, and I'll be ...
Doctrine Event Listeners
Doctrine Event Listeners¶
In episode 2, we created a registration form and manually encoded the user’s
plain-text password before persisting it. We even duplicated this logic
in our fixtures. Shame!
Our goal is to ...
Doctrine is in your Lifecycle with Callbacks
Doctrine is in your Lifecycle (with Callbacks)¶
Remember when we used StofDoctrineExtensions to set the Event’s slug
for us? That magic works by leveraging one of the most powerful features of
Doctrine: events ...
Installing Doctrine
... of Symfony's BFF's: an external library called
Doctrine. Doctrine has great integration with Symfony and is crazy powerful.
It also has a reputation for being a little bit hard to learn. But, a lot has
improved over the ...
Doctrine Listener Encode the User's Password
In AppBundle, create a new directory called Doctrine and a new class called
HashPasswordListener:
If this is your first Doctrine listener, welcome! They're pretty friendly. Here's the idea:
we'll create a function that ...
Doctrine DQL
Look, I know you already understand how to do queries in SQL - maybe you
dream of JOINs, orders and sub-queries. That's really dorky, but I get it.
But when you look at Doctrine, it's totally different - with its DQL ...
2729
Doctrine
Filter Results