Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    Exactly what I needed to hear. I come from the web dev world (along the one-file-scripts), so I haven't seen how non-web large scale apps are ususally structured. The system I am currently implementing goes way beyond a regular web app. So from what I've read so far, it doesn't really matter how you structure the app source, the main goal is to make it easy to navigate and maintain. I will use concepts from MVC pattern to structure my app. Thanks! Commented Jul 18, 2016 at 11:31
  • @lime ...the main goal is to make it easy to navigate and maintain. Isn't that always the goal? Commented Jul 18, 2016 at 11:34
  • @David Packer of course it is =) I was just too locked onto a concept, missing out on the real use of that concept. Commented Jul 18, 2016 at 12:55
  • 1
    Check out Bob Martin's presentation on Clean Architecture if you want to see a different, potentially better way to structure an application than the way many web frameworks do. Commented Jul 18, 2016 at 13:00
  • 1
    Don't forget that JSON, XML, and HTML are just different representations of the same resource. So whether you are straight serializing the object or generating HTML from it doesn't change the fact that they are all technically different views for the same data. It's not like you are sending the object itself, just a copy of it in a different format. Commented Aug 31, 2021 at 13:25