Machine Words
Published in

Machine Words

Separation of Concerns

Engineering Insights

Some Example Separations

  • Style and presentation — the visual appearance of the site.
  • Business Logic — the way that the site behaves in response to user actions.
  • Content — the actual data being presented, such as blog posts or articles.
  • Input layer —responsible for accepting input HTTP requests, validating them for proper authentication and format, and then dispatching them to the correct logic function.
  • Logic layer — contains the algorithms which operate on the data in response to user input.
  • Data access layer — responsible for reading and writing in-memory representations of records to and from the database, as well as performing complex queries over the data.

Making your own rules

Scaling and Scope

Cross-cutting concerns

Debugging and Concerns

Conclusion

See also

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store