DDD Value Objects and Entity Without ORM Mapping in PHP
问题 First, as I know, Entity in DDD is almost same with Value Object except Entity has identity. Every article I have read say same thing that entity id has ORM mapping with any ORM tool. But I don’t want to use ORM mapping in Entity. Instead, I would like to do database operation with Repository Interfaces without mapping. And, in this case, I am stuck on how I should do this. I will explain in my mind with an example below Let’s assume I have a TODO application and there are some questions in