Domain Objects and Value Objects - are they equal?
问题 By looking to the example of a Domain Object into Zend Quickstart tutorial, and other examples considering a DAO/VO patterns, they both seem to be very similar. Can we deduce that to say "Value Object" is the same as to say "Domain Object" ? If not, can you please clarify the differences between those? What is the function of one, and what if the function of another ? I'm asking this because, both are composed by getters and setters and nothing more then that. It seems that, they do the same