4

Hallo everybody

Recently I've been reading the book:

"Agile software development, Principles, Patterns and Practices" by Bob Martin

The following (S.O.L.I.D) agile-design-principles are listed within the book:

  • Single Responsibility Principle
  • Open Closed Principle Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

Because of the fact that this book quite old(2003), I have a question:

  1. Are there any other newly developed principles besides the SOLID methods?? If yes, is there any book/site covering these new emerging principles with practical code examples that you could recommend to me??

Of course I can google for some of these.

However, in stackoverflow read and write many profis, so I would like to hear their opinion too :D

mezoid
  • 28,090
  • 37
  • 107
  • 148
Harry
  • 3,592
  • 5
  • 21
  • 16

5 Answers5

4

You may want to look at books such as Code Complete and Pragmatic Programmer as they also talk about some excellent development principles.

mezoid
  • 28,090
  • 37
  • 107
  • 148
4

I like the Domain Driven Design approach from Eric Evans:

As the SOLID approach you describe, DDD is mostly sound and clean Object Orientation guidelines. DDD focus especially on creating a design which match as much as possible with the business to be implemented in the system, rather than having it guided by the technology and/or the frameworks you use. This lead to great testable design, easy to refactor.

In support to DDD, I like the Hexagonal Architecture of Alistair Cockburn. It gives you great ideas about general design of Object Oriented systems:

A more advanced and innovative approach I am currently exploring is the theory of centers, but this is not yet really documented. A presentation about it:

Bernard Notarianni
  • 909
  • 1
  • 5
  • 13
2

UncleBob's book is a SOLID start ;) I'd add his Clean Code to your reading list too. For actual code construction it is a great tome.

Kindness,

Dan

Daniel Elliott
  • 22,647
  • 10
  • 64
  • 82
  • Clean Code is the Best-Of version of Bob Martin's writings. Highly recommended if you want to get just one book that covers a lot. – Mike Reedell Aug 21 '09 at 18:11
  • Clean Code has some nice ideas, but I prefer the other books written by Uncle Bob and other Object Mentors. Clean Code does not cover SOLID solidly (though it is mentioned in the index). – DaveFar Aug 28 '11 at 09:08
0

You can find further design principles at http://www.objectmentor.com, the author's / Object Mentor's homepage. They were written around the same time as SOLID, you can find most of them at http://www.objectmentor.com/resources/publishedArticles.html.

DaveFar
  • 7,078
  • 4
  • 50
  • 90
0

This list is not for design principles only, but also an explanation of OOP, Agile architecture, design and practices, it is based on patterns of mistakes and a regular pain from my real projects, including both books and online articles:

Software Developer / Architect Recommended Reading

Grand
  • 359
  • 4
  • 6