O'Reilly logo

Refactoring with Microsoft Visual Studio 2010 by Peter Ritchie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Refactoring to Layers

In the previous chapter, we detailed refactoring to a loosely-coupled design by having classes communicate between each other by means of an abstract interface. We want to refactor to loosely-coupled in order to componentize regions of our software system and be able to modify or enhance a component and minimize the effects on other components.

In this chapter, we take the concept of decoupling to the next level and delve into layers. This journey will include the following destinations:

  • What are layers?
  • Model View Presenter pattern
  • Business Logic and Domain Layers
  • Data layers
  • Plain Old CLR Objects (POCOs)
  • Repository pattern

Layers

So far we've concentrated on abstractions at low-level physical boundaries. We've seen how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required