Application Architecture - The Case For Layers
Note: This article was originally published at Planet PHP
on 7 June 2012.
Very often when we look at a class diagram for a new application, it's quite overwhelming. There are tons of classes, all interacting with each other. These interactions are everywhere. It actually resembles a spider web of interaction. Trying to decode this web to figure out what the application is doing can be a lesson in futility for some applications.A How then, can we design an application such that it's easy to follow? How can we build an application that's easy to understand on all levels? The answer isA deceptivelyA simple: by using layers. Let's explore how we can use layers to help build our applications in a clean, easy to follow and maintainable manner.Read more A»


