Hey folks ! I've recently began doing some backend stuff and I used to do mainly Android projects. Currently I have made my Account model with a field School, which is just a reference key to a school object. Now I came to the point, in my front end (Android) where my model Account has school as a String, and whenever I want to display the school with other details it seems I need to chain a lot of observables. So my question would be, should I just be storing in my backend model Account the ref and when i need to return to the client, just send him the whole object or is it better practice to send the id and let the client do more getters ?
Submitted January 04, 2017 at 10:28PM by SirBhoppsAlot
No comments:
Post a Comment