CG数据库 >> Doctrine Collections: ManyToMany, Forms & other Complex Relations

Doctrine Collections: ManyToMany, Forms & other Complex Relations的图片1

Duration: 2h 35m | Video: h264, 1280x720 | Audio: AAC, 48kHz, 2 Ch | 837 MB

Genre: eLearning | Language: English | Project Files

Tip: This course is built on Symfony 3, but most of the concepts apply just fine to Symfony 4.

With the basic of Doctrine relations behind us, it's time to dive deeper and get our hands dirty with some real-world, but complex collections. Honestly, this is the hardest part of Doctrine: so let's get it right:

Creating ManyToMany associations

Querying on ManyToMany relations

Mapping the inverse (collection) side of a relation

(bonus) Using DoctrineExtension for clean URL slugs

Keeping the owning & inverse sides in-sync

Using orphanRemoval to delete items in a collection

Using cascade to save items in a collection

Counting collections in the EXTRA_LAZY way

Rendering relationship data from both sides

Filtering collections efficiently with Criteria (mind will be blown)

Dealing with complex collection forms

Adding "extra" data to the "join table"

Doctrine relationships take a little bit more work to get setup. So let's master this stuff, setup our relationships to win, and get back to work.

Doctrine Collections: ManyToMany, Forms & other Complex Relations的图片2

Password/解压密码

-0daydown

Doctrine Collections: ManyToMany, Forms & other Complex Relations的图片1
Doctrine Collections: ManyToMany, Forms & other Complex Relations的图片2
Doctrine Collections: ManyToMany, Forms & other Complex Relations的图片3
Doctrine Collections: ManyToMany, Forms & other Complex Relations的图片4

发布日期: 2018-09-11