Entities vs Domain Models?
Well I've heard many times that there is a difference between an entity object and a domain object(domain model), but even now I am still somewhat confused when it comes to the distinction between them. So can anyone please elaborate thoroughly on what is an entity as compared/contrasted with a domain model? And in what circumstances would you actually use an Entity rather than a rich domain model? Or can they be used collaboratively? I know thats a lot of questions, but hopefully someone clears my confusion before I start to implement my own ORM system for my PHP application/framework. Thx, and happy new year.