I am trying to write web app in NodeJS that would take xml file from external url, turn it into json and then depending on user selections display some of the fields. Where would be the correct place in MVC to fetch and process the data? Should I fetch the data in the controller and send to model to process and hold prepared values? Or maybe do everything in model and leave only get method in the controller? What would be the best approach?
via JulioBordeaux
No comments:
Post a Comment