First, if you have not, read this Uncle Bob's article.
So the question is:
How do you make your imps dance?
In the conclusion of his talk, he said:
Design your applications to behave first. Then figure out a way to bind those behaviors to the data brought into memory by your ORM.
Has some one figured it out?
What should be the best way to bind data from ORMs to my actual Bussiness Objects?
Pass in the constructor? Getters/setters? This is not what ORMs do anyway, like Doctrine? Is this wrong?
Thanks.
Aucun commentaire:
Enregistrer un commentaire