Archive

Posts Tagged ‘S.O.L.I.D’

S.O.L.I.D Principle

January 22, 2010 1 comment

Hi guys, this post I am not going to write anything my own but to share with you the object-oriented principles, namely S.O.L.I.D by Robert Martin who has been a software professional since 1970.  Generally, S.O.L.I.D is a set of object-oriented design principle that guide us to write application that can sustain changes. As we all know, in the IT industries, the changes are constant. For e.g. business requirements changes, technology changes,  policy changes and etc. All these changes will affect the way the application operates. If the application design and codes can’t sustain these changes, then it will be a very big problem because any change in any part of the application will have a ripple effect throughout the rest of the application. At the end, a whole application rewrite is the only solution.

I have come across a series of short 10 – 20 minutes video posts on dimecasts that demonstrates the S.O.L.I.D principle in a very easy to understand and intuitive way. So, I would like to share with you. I would encourage  those fresh developers who do the object-oriented programming to go through the video. Even if you are a very experienced developer and you never heard of these principles, it is no harm to have a look.

Here the links for the video that tell all;

S  -  Single Responsibility Principle

http://www.bestechvideos.com/2009/03/18/dimecasts-net-88-creating-solid-code-single-responsibility-principle-srp

O – Open/Closed Principle

http://www.bestechvideos.com/2009/03/18/dimecasts-net-90-creating-solid-code-open-closed-principle-ocp

L – Liskov Substitution Principle

http://www.bestechvideos.com/2009/03/18/dimecasts-net-92-creating-solid-code-liskov-substitution-principle

I – Interface Segregation Principle

http://www.bestechvideos.com/2009/03/20/dimecasts-net-94-creating-solid-code-interface-segregation-principle

D – Dependency Inversion Principle

http://www.bestechvideos.com/2009/03/27/dimecasts-net-96-creating-solid-code-dependency-inversion-principle

This will end my post.  I am in the midst of preparing my next post on Dependency Injection with Unity and Common Service Locator Library. Stay tune and bye…

Categories: Pattern & Practices Tags:
Follow

Get every new post delivered to your Inbox.