
Collections in domain models
The Eric Normand Podcast
00:00
Object-Oriented Modeling: One to Many Relationships
If you wrap up the pizza operations, the operations on a pizza, like adding an ingredient, removing an ingredient, and just say, well, we're just gonna treat it not like an array, but like this topping list. There's different kinds of collections that maintain the order or don't maintain the order. I also in this episode wanna talk about many to many relationships. These are typically hard to do with something like a bunch of pointers, a bunch of references and an object-oriented model. It's basically they have equal toppings. And does my data model represent that? And am I really counting the states properly that I consider different states? Okay, we'll get to that
Transcript
Play full episode