Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I just finished watching this presentation by Uncle Bob (as well as his "Architecture" section of his "Clean Code" videos), but I'm left wondering:

Are there any examples out there of applications that implement this Entity-Boundary-Interactor (or Entity-Boundary-Controller) structure?

At one point I downloaded the source code to FitNesse (the acceptance testing project he mentions often as an example of not only high test coverage but good architecture, since they were able to defer the decision to not use a database until the very end), and based on a quick glance of it it appears even this project doesn't seem to fit this pattern.

Are there any nontrivial examples of this architecture out in the wild, or should I not bother even looking into it and chalk it up as "it would be great if you could get there, but nobody really does"?

share|improve this question

migrated from stackoverflow.com May 22 '12 at 13:00

3 Answers

up vote 14 down vote accepted

There's the payroll example in my book: "Agile Software Development: Principles, Patterns, and Practices". It follows the architecture pretty closely, though some of the nomenclature is a bit different.

share|improve this answer
2  
Figures, I have to buy a book. – Levi Morrison Aug 1 '12 at 20:41
it's an excellent book – Ray Tayek May 9 at 22:57

I've not watched the video that you've linked, but I think I saw the same presentation a couple of months ago. Although the terminology is different, I believe the various components map pretty much precisely to the components you'd find in a typical CQRS architected DDD application. Certainly what Bob described in the presentation I saw matched the main project I work on.

share|improve this answer

I was asking myself the same question afer watching the presentation a few weeks ago, and the only example I managed to find on the net was that Github repo in Ruby.

Like you said, it struck me that none of Uncle Bob's previously published code bases (whether as additional resources to his books, from his videos, articles or open source work) seem to implement that architecture. Especially when you want to dive into the implementation details of interactors and boundaries, there's very little information available - the only bits I could find are a few messages in the Clean Coders group.

I ended up taking the whole thing as good inspiration for what an architecture should ideally be rather than a strict guideline or gospel truth, and started building my own architecture to try it out, sometimes filling the gaps with my personal interpretation of things.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.