Ogres Have Layers... Onions Have Layers...
I apologize for the obscure Shreck reference but that scene from the movie pops into my head every-time I start thinking about all of the different layers we code into our applications. I was thinking recently about how many different layers we use and I started to wonder, are we doing this because it truly makes our applications better or simply because we can?
As ColdFusion has progressed as a language, lots of these concepts have started to surface from other types of programming. Seven years ago, no-one was talking about building service layers and domain models in the ColdFusion community, we were so focused on frameworks and trying to increase code re-use. Now its not uncommon for an application to use a framework and MVC to separate the views from the model and use a controller to tie it all together, then throw in a service layer as your model which points to a data access layer and processing logic layer and, well you get the point.
Russ Johnson
