Doctrine ORM Good Practices and Tricks

Marco Pivetta (19.Feb.2016 at 16:00, 1 hr )
Talk at PHP UK Conference 2016 (English - US)

Rating: 5 of 5

Doctrine ORM Good Practices and Tricks

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 5 of 5

19.Feb.2016 at 16:26 by Giedrius Kokšta (1 comments) via Web2 LIVE

Best talk in whole event

Rating: 4 of 5

19.Feb.2016 at 16:56 by Tess Barnes (13 comments) via Web2 LIVE

Having used EntityFramework with mySQL in the past I found this a really interesting talk. I liked the emphasis on thinking domain first. I took a lot of tips from this talk as well so great value. Thank you!

Rating: 5 of 5

19.Feb.2016 at 17:11 by Mark Suliga (7 comments) via Web2 LIVE

Good stuff, interesting concepts useful for non-Doctrine users too.

Rating: 5 of 5

19.Feb.2016 at 18:41 by Lee Davis (18 comments) via Web2 LIVE

My man gandalPHP just smashed it.

Really good talk from Marco that helped confirm a lot of my thoughts and taught me a few things about overly depending on the DB to provide behaviours you should really encapsulate yourself (to keep your entities in a valid state). He detailed a number of tips to help achieve this, as well as highlighting common code smells that many will do without even thinking about.

Great little point from him: Can you build your entire application object graph and persist it to a text file? - Interesting challenge that will inevitably highlight what behaviours you're not explicitly catering for in your model layer.

I think there was definitely some assumed knowledge on this talk (chap behind me whispered "what's DDD?"), but wasn't too bad that you couldn't follow along. As for the challenge to add something to the talk; I struggled on this, but, maybe:
- covering hydration - when it makes to use it.
- when to use object references rather than (possibly) forcing a DB round trip

I think this will be one a few people re-watch when the video is released.

Bravo Marco.

Rating: 5 of 5

19.Feb.2016 at 19:35 by Liam Shepherd (3 comments) via Web2 LIVE

A checklist of everything we are doing with Doctrine is wrong. An interesting talk from someone who clearly knows what they're talking about.

Rating: 5 of 5

20.Feb.2016 at 13:22 by Jakub Zalas (45 comments) via Web2 LIVE

Doctrine's full of features that are often abused or used in a wrong way. Marco gave lots of valuable advice on many Doctrine aspects, that will help you to use this ORM in a more effective way.

A must see talk for any doctrine user.

Rating: 5 of 5

20.Feb.2016 at 13:29 by Martin Hearn (2 comments) via Web2 LIVE

Really interesting and packed with massive amount of information, lots of food for thought - definitely going to be reviewing the slides + talk when it's made available.

Rating: 5 of 5

20.Feb.2016 at 14:55 by Leszek Prabucki (84 comments) via Web2 LIVE

I saw this presentation second time and it was awesome again ;)

Rating: 4 of 5

20.Feb.2016 at 19:47 by Jo Carter (22 comments) via Web2 LIVE

Although I disagreed with some of the content, I agree that this was a well thought out and presented talk.

A couple of mini points:
- Make it clear on your slides which things are "to avoid" and which are "do this" - because it wasn't always clear - and sometimes I missed this due to the fast pace of the talk (not too fast, but after lots of talks it was a lot to take in)
- Clearly the result of a language barrier, as English is probably the only language that doesn't gender it's nouns - but please use "they" instead of "he" when referring to developers and DBAs etc, thank you.

Rating: 5 of 5

20.Feb.2016 at 20:24 by John Noel (12 comments) via Web2 LIVE

Unapologetically opinionated and brutally informative, this was a stand out talk from someone at the heart of the Doctrine ORM project and it managed to mix OOP best practice and reinforcing some concepts that the documentation only touches on.

Rating: 5 of 5

22.Feb.2016 at 08:07 by Giorgio Sironi (64 comments) via Web2 LIVE

Lots of content, explaining how to use (and not to use) a tool but not being imprisoned in it; from one of the best sources on the project.
To keep the information current, I would acknowledge CQRS and if it fits with the Doctrine vision (maybe for the Command side of an application), as the issue of separating OLTP and OLAP continuously came up during the talk.
Little note about UUID: I often had problems with UUID4 (randomly generated) since PHP implementations depend on the quality of random numbers on the underlying machine. There are however other types of UUID, based on time and namespaces, that can be more robust; when advising to jump in this world it's important to give some guidance on it.

Rating: 5 of 5

22.Feb.2016 at 08:39 by Stewart Walter (56 comments) via Web2 LIVE

I thoroughly enjoyed the talk with lots of information presented clearly.

Rating: 5 of 5

22.Feb.2016 at 10:13 by Tom Cameron (15 comments) via Web2 LIVE

Fantastic talk. Very rapid delivery, which definitely kept me engaged throughout. Some controversial points and definitely veering away from common wisdom, but that's exactly what I'd hope for in a conference talk! Will be re-watching this talk when I can to try and make some use of it!

Rating: 5 of 5

22.Feb.2016 at 16:33 by Pete McFarlane (49 comments) via Web2 LIVE

One of my favourite talks this conference, lots of information and best practices on OOP and persistence in general. Excellent delivery too!

Rating: 4 of 5

26.Feb.2016 at 15:24 by Nicholas Thompson (17 comments) via Web2 LIVE

Great talk; learned lots about Doctrine. Could have done with some realtime/practical demos maybe?

Speaker comment:

26.Feb.2016 at 15:26 by Marco Pivetta (109 comments)

@Nicholas I doubt so: barely managed to finish with everything in ~60 minutes, and there's still much more to say.

© 2017