79

I'm thinking of buying Martin Fowler's "Patterns of Enterprise Application Architecture".

From what I can see it seems like a great book, an architectural book with bias towards enterprise Java -- just what I need.

However, in computer years, it is quite old. 2003 was a long time ago, and things have moved on quite a bit since that time.

So I'm wondering if anyone can tell me: is this book still relevant, and worth the read?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Jack Singleton
  • 901
  • 1
  • 6
  • 5
  • 3
    People still tend to cite GoF. – Tom Hawtin - tackline Mar 28 '09 at 12:11
  • 9
    A programming language book from 2003 would be outdated. But PEAA is not about a programming language, it is about object-oriented design. Unless you've moved onto the next big thing (such as functional programming, or model programming with M) this book is every bit as relevant today as it was the day it was released. – G-Wiz Mar 10 '10 at 08:05
  • 2
    How is functional programming the Next Big Thing? It dates back to the 50's with LISP (1958), and even to the thirties if considering Lambda Calculus, but let's not nitpick. Yes, it's still alive and kicking. But the Next Big Thing... then alphabet is the next big thing :D – Kheldar Sep 05 '11 at 15:58
  • Note that the book was published in November 2002, not in 2003. However, it is very relevant - it's about principles and ideas, not about the code. The proof of concept code inside is rather deprecated, but if you know C# or Java you can easily update these code snippets. – lmsasu Oct 10 '11 at 10:31
  • 2
    @gWiz "How is functional programming the Next Big Thing?" - it is the next big thing because it is becoming more widely accepted. "Next thing" is not a matter of chronology. It is a matter of ascendancy (as observed from the current time.) It doesn't matter if a paradigm, regardless of virtuous, is old or new. What matters is its ubiquituousness. Old, but practically unknown by most, and now becoming widely used? Next thing it is then. – luis.espinal Aug 03 '13 at 16:33
  • I mean the guy talks about building your own ORM, who does this these days? Or the part about how immature NoSQL is ... You be the judge. – hyankov Jun 11 '20 at 21:34

9 Answers9

86

Yes, it is still very relevant and an excellent resource.

Mitch Wheat
  • 295,962
  • 43
  • 465
  • 541
28

This book, and Eric Evans book about Domain-Driven Design, are my books of the year - every year ;) ...

mjn
  • 36,362
  • 28
  • 176
  • 378
17

It's very relevant. I frequently refer other developers to particular patterns from that book, as links to his site (http://www.martinfowler.com/eaaCatalog/), such as Data Transfer Object and Service Layer.

The latter is one I thought I had "invented" until I saw that Fowler had already written about it.

John Saunders
  • 160,644
  • 26
  • 247
  • 397
10

Given that the answers to this question are now three years old, I felt it important to restate the relevance of Martin Fowler's patterns.

The GOF design patterns book was first published in 1994, and many of its patterns are still considered relevant. We may have come to a deeper understanding of them and produced subtle variants, but they are there as the foundation of any good OO design.

Modern languages increasingly implement some of the patterns behind the scenes so that the developer in theory doesn't have to know about them (an example is the Iterator pattern through the yield statement in C#). But, the developer is a better one for knowing them.

Moving on the Martin's book - this absolutely is still relevant. Its true that many libraries now support these patterns in the background, once again abstracting them away from the developer, but again they are at the core of enterprise application software development.

They solve problems that occurr again and again, regardless of language, system, or platform.

James Wiseman
  • 29,946
  • 17
  • 95
  • 158
7

It's currently the textbook used at my university's Principles of Information Systems Design course.

Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
6

I disagree with the "bias towards Java" statement. Patterns, by their nature, are language-agnostic. They're defined as solutions to common problems. The copy of Fowler's book has examples in both Java and C#, so I can't see where the "bias" comes in. They're the most common object-oriented languages, and he's talking about object-oriented solutions to enterprise problems.

The GoF book has examples in Smalltalk and C++. Why are they so "biased" against Java and C#? Hint: the languages didn't exist when that book was written, but the patterns are as relevant as ever.

duffymo
  • 305,152
  • 44
  • 369
  • 561
  • Well, I haven't read the book, so I don't really know... I didn't mean bias in a bad way. It probably would have been more correct to say "the common object-oriented languages used in the enterprise", but I'm a Java guy -- when I think "object-oriented language used in the enterprise" I think Java. – Jack Singleton Mar 28 '09 at 22:31
  • Agreed, but other people reading your comment might think you had read it and shy away because they aren't Java folk. I wanted to clarify. – duffymo Mar 29 '09 at 14:15
  • That's inherently not true. All languages you states were imperative languages. You need functional patterns in functional languages, imperative patterns in imperative languages etc. Think about it, patterns that rely on mutation won't work in a pure functional language. Probably no patterns we usually use would work with prolog or Erlang. Just saying, to a reasonable extent - it matters. – Jono Nov 06 '14 at 21:33
5

Absolutely!

The book is a classic. I've just been re-reading it to help with some work on event-driven accounting systems.

Fowler has been revisiting some of the patterns since and you can see his works in progress.

Andy Dent
  • 17,578
  • 6
  • 88
  • 115
5

Very relevant, and certainly not chained to one language. Witness the upcoming Rails move to Merb, in a very real sense a move from one pattern in POEAA (ActiveRecord) to another (DataMapper).

Many other concepts, from ORM strategies to session management, are both relevant and language-agnostic. I'm still floored when I read this how vast Fowler's influence is. He didn't invent all of the concepts here, but he certainly codified and put names to these ideas in such an concise and accessible way as to make them common parlance across the industry. Still essential.

Dave Sims
  • 5,060
  • 3
  • 24
  • 26
2

Yes the book is still relevant. You can pickup used copies on Amazon if you are worried about its value and sell it through the same channel.

McGovernTheory
  • 6,556
  • 4
  • 41
  • 75