mardi 31 janvier 2017

How to pass values from database to UI without using domain specific objects

recently I watched some of Robert C. Martins lectures, and in one he mentions that NO domain specific objects should be passed to UI, and that UI shouldnt have knowledge about domain specific objects and business logic. My question is how to pass all the data one domain object should have in its fields without passing domain object to UI? Should I use collecions or arrays or something else?

Thanks

Aucun commentaire:

Enregistrer un commentaire