Your SlideShare is downloading. ×
0
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Single responsibility principle
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Single responsibility principle

23,207

Published on

Single responsibility principle

Single responsibility principle

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
23,207
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Design patterns: TheSingle-Responsibility Principle Grzegorz Wilczyński 11th november 2012
  • 2. SOLIDThe principles when appliedtogether intend to make it morelikely that a programmer willcreate a system that is easy tomaintain and extend over time.http://en.wikipedia.org/wiki/Solid_(object-oriented_design)
  • 3. SOLIDSingle responsibilityOpen-closedLiskov substitutionInterface segregationDependency inversionhttp://en.wikipedia.org/wiki/Solid_(object-oriented_design)
  • 4. BIBLEhttp://www.amazon.com/Agile-Principles-Patterns-Practices-C/dp/0131857258
  • 5. Rule #1A class should have only onereason to change."Agile Principles, Patterns, and Practices in C#" Robert C. Martin
  • 6. Rule #2A class should have only onereason to change."Agile Principles, Patterns, and Practices in C#" Robert C. Martin
  • 7. So please dont...http://3.bp.blogspot.com/-FQZ4VT_gbRY/T8RvXLTPWMI/AAAAAAAABP0/JCckSpENM88/s640/SingleResponsibilityPrinciple.jpg
  • 8. Step 1http://www.remondo.net/wp-content/uploads/2012/03/SingleResponsibilityPrincipleRadio.png
  • 9. Step 2http://www.remondo.net/wp-content/uploads/2012/03/SingleResponsibilityPrincipleRadioManagers.png
  • 10. Homework$ git branch gw-solid-1end time: 16.11.2012

×