Why is this one of the hardest things for software architects to get right , yet it is the simplest?
Putting Service layers in place to hide the implementation of the Domain is one of the easiest ways to make a solution scalable. Example in (Model View Controller)MVC the controller looks after the page , but does not expose any detail implementation. There are countless more examples such as Service Layer , Data Gateway and Facade to name but a few.
IInterface was one of the most interesting discoveries I made soon after my first encounter with OO principles. Lets define a contract and make everyone adhere to it. What could be simpler, Web UI , Windows UI Web Service API and even when my application provides a service to another application. The contract sets the contract.
Can you remove one component of your solution and replace it with another without major rework. If you cannot change the Database provider from MS SQL to say MY SQL, you have not done it properly. There might be no requirement for this , but when you are creating a product and have to consider licensing this might make a lot of sense.
public
{
}
All in one go, now that was not too hard !
Powered by: newtelligence dasBlog 1.9.6264.0
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2008, PeterVerster.co.uk
E-mail