0
OOP – Back to Basic! Gøran Hansen Seniorkonsulent, Capgemini http://blog.goeran.no [email_address] Twitter.com/goeran
 
 
 
 
<ul><li>” Vi kan  unngå spagettikode  ved å bry oss om  kvaliteten på koden vi skriver !” </li></ul>
<ul><li>What does these have in common? </li></ul>.NET VB.NET C# Ruby Python Silverlight Flash Java ASP.NET MVC Ruby on Ra...
 
<ul><li>Object Orientation! </li></ul>
<ul><li>Encapsulation, Inheritance, Polymorphism </li></ul>
<ul><li>Loose Coupling </li></ul>
 
 
<ul><li>Cohesion </li></ul>
 
 
<ul><li>Design Principles </li></ul>
<ul><li>Single Responsibility Principle – SRP ”There should never be more than  one reason  for the class  to change ” – T...
<ul><li>Dependency Inversion Principle – DIP ”High level modules should not depend upon low level modules. Both  should de...
<ul><li>Open-Closed Principle – OCP </li></ul><ul><li>” Should be  open for extensions  but  closed for modification ” – B...
<ul><li>SRP </li></ul><ul><li>DIP </li></ul><ul><li>OCP </li></ul>
<ul><li>S . O .L.I. D </li></ul>
<ul><li>” Vi kan  unngå spagettikode  ved å bry oss om  kvaliteten på koden vi skriver !” </li></ul>
 
<ul><li>Recommended reading </li></ul>
<ul><li>http://www.objectmentor.com/resources/publishedArticles.html </li></ul><ul><li>http://msdn.microsoft.com/en-us/mag...
OOP – Back to Basic! Gøran Hansen Seniorkonsulent, Capgemini http://blog.goeran.no [email_address] Twitter.com/goeran
Upcoming SlideShare
Loading in...5
×

OOP - Back to Basic

798

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
798
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Transcript of "OOP - Back to Basic"

    1. 1. OOP – Back to Basic! Gøran Hansen Seniorkonsulent, Capgemini http://blog.goeran.no [email_address] Twitter.com/goeran
    2. 6. <ul><li>” Vi kan unngå spagettikode ved å bry oss om kvaliteten på koden vi skriver !” </li></ul>
    3. 7. <ul><li>What does these have in common? </li></ul>.NET VB.NET C# Ruby Python Silverlight Flash Java ASP.NET MVC Ruby on Rails WPF Azure
    4. 9. <ul><li>Object Orientation! </li></ul>
    5. 10. <ul><li>Encapsulation, Inheritance, Polymorphism </li></ul>
    6. 11. <ul><li>Loose Coupling </li></ul>
    7. 14. <ul><li>Cohesion </li></ul>
    8. 17. <ul><li>Design Principles </li></ul>
    9. 18. <ul><li>Single Responsibility Principle – SRP ”There should never be more than one reason for the class to change ” – Tom DeMarco </li></ul><ul><li>http://www.objectmentor.com/resources/articles/srp.pdf </li></ul>
    10. 19. <ul><li>Dependency Inversion Principle – DIP ”High level modules should not depend upon low level modules. Both should depend upon asbtractions ” </li></ul><ul><li>” Abstractions should not depend upon details. Details should depend upon abstractions ” </li></ul><ul><li>- Robert C. Martin (Unclebobmartin) </li></ul><ul><li>http://www.objectmentor.com/resources/articles/dip.pdf </li></ul>
    11. 20. <ul><li>Open-Closed Principle – OCP </li></ul><ul><li>” Should be open for extensions but closed for modification ” – Bertand Meyer (1988) </li></ul><ul><li>http://www.objectmentor.com/resources/articles/ocp.pdf </li></ul>
    12. 21. <ul><li>SRP </li></ul><ul><li>DIP </li></ul><ul><li>OCP </li></ul>
    13. 22. <ul><li>S . O .L.I. D </li></ul>
    14. 23. <ul><li>” Vi kan unngå spagettikode ved å bry oss om kvaliteten på koden vi skriver !” </li></ul>
    15. 25. <ul><li>Recommended reading </li></ul>
    16. 26. <ul><li>http://www.objectmentor.com/resources/publishedArticles.html </li></ul><ul><li>http://msdn.microsoft.com/en-us/magazine/cc546578.aspx </li></ul><ul><li>http://blog.objectmentor.com/ </li></ul><ul><li>http://codebetter.com/blogs/jeremy.miller/ </li></ul>
    17. 27. OOP – Back to Basic! Gøran Hansen Seniorkonsulent, Capgemini http://blog.goeran.no [email_address] Twitter.com/goeran
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×