Hacker News new | past | comments | ask | show | jobs | submit login
Organizing Data in Long Lived Applications (eviltrout.com)
1 point by EvilTrout on May 27, 2013 | hide | past | favorite | 1 comment



Interesting. Using composition of objects like that is a sensible enough approach. What about also just implementing lazy loading in your ___domain objects. If you try to get details of a user and it's already been fetched from the server, then great. If not then fetch it from the server. I guess that's what you're doing in a way, but with lazy loading, the fetching logic would be tied to the entity class and the rest of the application doesn't need to care.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: