Skip to main content
4 events
when toggle format what by license comment
Feb 24 at 15:17 comment added candied_orange @GregBurghardt exactly right.
Feb 24 at 15:16 comment added Greg Burghardt @Leksa99: you can justify either option. The separation you need is to separate concerns. You can generate HTML on the backend using an MVC framework. You can have the backend return JSON or XML to the frontend, and the frontend can have its own MVC framework. The main point of this answer is to separate the display of information from the business logic.
Feb 24 at 14:03 comment added Leksa99 Thank you! So in this context, I interpret your answer to favor the second option since it is more inline with this separation principle.
Feb 24 at 13:53 history answered candied_orange CC BY-SA 4.0