Hi, I've been looking at Doctrine and it seems like a good way to manage models in my OO PHP application.
I would like to create Models that have some optional properties. Rather than having null values in my database, I would like to create separate tables for some (all?) of these properties and give them a foreign key of the node which they relate to. Then when querying the data, perform outer joins on the optional values.
Is there a way to implement something like this in Doctrine?
I've not looked at the documentation thoroughly yet but can one model effectively be defined within multiple tables? The examples I've seen did not appear to mention this.
I hope that makes sense!
Any advice appreciated.
Thanks.