Timeline for When to use entity and when to use DTOs
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 25, 2023 at 12:36 | comment | added | The Dembinski | Gave this an upvote - this line could be better: "An entity is a back-end object that represents the data stored in a database" It inherently 'couples' things unnecessarily and will lead engineers into toxic thought patterns, specifically the database row 'is the business object' - the data in the database is better thought of as stuff that could power/hydrate. Decoupling the 'database row' from the 'business object' a bit more frees the minds of developers to implement better decisions organically. | |
| Apr 12, 2021 at 20:54 | comment | added | John Douma | Why the downvote? This answer is correct. | |
| Apr 12, 2021 at 19:17 | history | answered | John Douma | CC BY-SA 4.0 |