during: 2003

Once Upona Time In The West

My friends are all geeky, so many of them were looking forward to the day in November 2003 when the extended DVD of The Two Towers came out (and among my friends the extended DVD was the only one worth having.) But for me that day marked another release that was in many ways just as important, Sergio Leone's great western finally made it onto DVD.

by Martin Fowler

26 Dec 2003

Read more…

bliki

diversions

Published Interface

Published Interface is a term I used (first in Refactoring) to refer to a class interface that's used outside the code base that it's defined in. As such it means more than public in Java and indeed even more than a non-internal public in C#. In my column for IEEE Software I argued that the distinction between published and public is actually more important than that between public and private.

Derived Information

How do you represent derived information in the UML?

by Martin Fowler

25 Dec 2003

Read more…

bliki

uml

Keyring Laptop

A laptop on a keyring, well in many ways this can only an exaggeration, but the idea has been intriguing me recently. The catalyst was coming across Knoppix.

by Martin Fowler

24 Dec 2003

Read more…

bliki

tools

P O J O

An acronym for: Plain Old Java Object.

by Martin Fowler

8 Dec 2003

Read more…

bliki

programming environments

Sticky Timeline

A project timeline is a valuable thing to produce during a project retrospective. A timeline should show the various events that occurred during the project, and how they affected the project.

by Martin Fowler

2 Dec 2003

Read more…

bliki

collaboration

Provide Service Stub

An important thought for anyone building services for a service oriented architecture. When you build your service, also build a service stub that your clients can use to test against. Such a stub should provide canned responses to a fixed set of requests, simulate error conditions, and be runnable on a client's machine. You'll need to ensure that the stub mimics the true systems behavior properly. By providing a stub for your clients, you make it much easier for your clients to use your service; which of course means that your service is more likely to be used.

by Martin Fowler

2 Dec 2003

Read more…

bliki

application integration

Testing Language

I'm currently sitting in a session at XP day where Owen Rogers and Rob Styles are talking about the differences between XP's unit and acceptance tests. This triggered a thought in my mind - what should a language for writing acceptance tests be?

by Martin Fowler

2 Dec 2003

Read more…

bliki

testing

Anemic Domain Model

This is one of those anti-patterns that's been around for quite a long time, yet seems to be having a particular spurt at the moment. I was chatting with Eric Evans on this, and we've both noticed they seem to be getting more popular. As great boosters of a proper Domain Model, this is not a good thing.

Command Oriented Interface

The most common style of interface to a module is to use procedures, or object methods. So if you want a module to calculate a bunch of charges for a contract, you might have a BillingService class with a method for doing the calculation, calling it like this

aBillingService.calculateCharges(aContract)

A command oriented interface would have a command class for each operation, and be called with something like this

CalculateChargeCommand.new(aContract).run()

by Martin Fowler

23 Nov 2003

Read more…

bliki

API design

History Of Iterative Development

Most of the clients I run into have not heard of iterative development, or consider it to be a new and relatively untried phenomenon. In contrast iterative development has been around for a long time under various names. A recent article by Craig Larman and Vic Basili in IEEE Software summarizes an effort to capture this history and gives you a good idea on the long story of successful projects that use iterative development approaches.

by Martin Fowler

6 Nov 2003

Read more…

bliki

computer history

Unwanted Modeling Language

The UML means different things to different people, which is why I find the notion of people using a different UmlMode useful. Most people I talk to are interested in UmlAsSketch and this group isn't very impressed with UML 2.

by Martin Fowler

3 Nov 2003

Read more…

bliki

uml

Data Access Routines

A common part of encapsulation, particularly with object-oriented systems, is hiding data structures. Yet it's also common to expose much of this data behind data access routines. In this column I cover some guidelines for writing data access routines. However don't forget that if you can leave the data hidden, that's usually better.

by Martin Fowler

Nov 2003

Read more…

ieeeSoftware

C- Refactory

So far refactoring tools have appeared for a number of languages. After Smalltalk's lead, we've seen several tools for Java and a couple for C#. One language conspicuous by its absence is C++, despite appeals. All this despite the fact that the first refactoring thesis was done by Bill Opdyke, who's background is in C++.

by Martin Fowler

18 Oct 2003

Read more…

bliki

refactoring

Presentation Domain Separation

One of the most useful design principles that I've found and followed is that of keeping a good separation between the presentation aspects of a program (the user interface) and the rest of the functionality. Over the years where I've seen this done, I've seen plenty of benefits:

by Martin Fowler

9 Oct 2003

Read more…

bliki

application architecture front-end

Enterprise Architecture

Just recently I've picked up a couple of bad reviews on Amazon for P of EAA because there is nothing in the book about enterprise architecture. Of course there's a good reason for that - the book is about enterprise application architecture, that is how to design enterprise applications. Enterprise architecture is a different topic, how to organize multiple applications in an enterprise into a coherent whole.

Local Variables In Class Diagrams

How do you show local variables (parameters, temps etc) on UML class diagrams?

by Martin Fowler

6 Oct 2003

Read more…

bliki

uml

Principles of XP

Every XP aficionado knows about the 4 values and 12 practices, but how many people know about the 15 principles? I'll confess I didn't when Kent talked about them at JAOO last week. After the talk I asked Kent about them: “were they in the White Book“. “Yes”, he replied, “cunningly hidden in a chapter called 'Basic Principles'”.

by Martin Fowler

4 Oct 2003

Read more…

bliki

extreme programming

Moving Away From Xslt

All of this site is written in simple XML documents and transformed to HTML. I find this works really well, and means I never have to worry about dealing with HTML formats. (Not that fancy layout is my style, as you can tell.) I've even written a whole book that way.

by Martin Fowler

20 Sep 2003

Read more…

bliki

writing

Dependency And Association

What is the difference between dependency and association?

by Martin Fowler

17 Sep 2003

Read more…

bliki

uml

Platform Independent Malapropism

One of the big claims about Model Driven Architecture (MDA) is that it allows you to develop a system in a Platform Independent Model (PIM) that can then be transformed into Platform Specific Models (PSM) for technologies such as .NET or Java. An alert reader should say to this: “hang on a moment, isn't the whole point of Java to be platform independent? So why would I want some platform independent technology that generates another platform independent technology?”

by Martin Fowler

12 Sep 2003

Read more…

bliki

uml

Seedwork

In the very earliest days of Object-Orientation, the OO advocates like me put a lot of attention into arguing in favor of reuse. Early on we talked about reusing of classes. Then we discovered that reusing individual classes, while it worked in some cases, didn't work so well elsewhere. So we got into reusable frameworks, which got us part-built applications of functionality.

by Martin Fowler

11 Sep 2003

Read more…

bliki

evolutionary design

Application Boundary

One of the undecided problems of software development is deciding what the boundaries of a piece of software is. (Is a browser part of an operating system or not?) Many proponents of Service Oriented Architecture believe that applications are going away - thus future enterprise software development will be about assembling services together.

I don't think applications are going away for the same reasons why application boundaries are so hard to draw. Essentially applications are social constructions:

Etymology Of Refactoring

Where did the word refactoring come from?

by Martin Fowler

10 Sep 2003

Read more…

bliki

refactoring

Cannot Measure Productivity

We see so much emotional discussion about software process, design practices and the like. Many of these arguments are impossible to resolve because the software industry lacks the ability to measure some of the basic elements of the effectiveness of software development. In particular we have no way of reasonably measuring productivity.

by Martin Fowler

29 Aug 2003

Read more…

bliki

productivity metrics project planning estimation

Currency As Value

There are many common examples of ValueObject, my favorite is Money - and one closely linked to Money is currency.

by Martin Fowler

26 Aug 2003

Read more…

bliki

domain driven design

Use Cases And Stories

What is the difference between a UseCase and XP's UserStory?

by Martin Fowler

18 Aug 2003

Read more…

bliki

requirements analysis uml

Pleasing The Customer

All agile methods stress the importance of direct interaction between the developers of a system and customers who are its eventual beneficiaries. The agile manifesto said “Business people and developers must work together daily throughout the project”, which is there to stress the high frequency of interaction. Extreme Programming stresses this through its practice of OnsiteCustomer.

by Martin Fowler

15 Aug 2003

Read more…

bliki

agile collaboration

Building Architect

When people use the term 'software architect' they are using a metaphor from building construction to help people understand the architect's role.Ironically in doing this they misunderstand the actual role of a building architect.

by Martin Fowler

14 Aug 2003

Read more…

bliki

process theory collaboration

Multiplicity Not Cardinality

When data modeling methods talk about relationships, they use the term cardinality to indicate how many entities may be linked together. So you might have a relationship between order and customer and say that the cardinality of the relationship is one-to-many. Or you might hear that the cardinality of customers for an order is 0-to-many.

by Martin Fowler

12 Aug 2003

Read more…

bliki

uml

Fixed Length String

Look at most libraries that talk between application programming languages and relational databases, and you'll notice that they map the string type in the database (char or varchar) to a string type in the programming language. Simple, obvious, but perhaps it's wrong.

by Martin Fowler

11 Aug 2003

Read more…

bliki

application architecture

Patterns Are Nothing New

A common complaint about patterns books is that they have nothing new to tell experienced developers. (I've had a few of these recently in amazon reviews and on The Server Side, so perhaps I'm feeling sensitive at the moment.) Not just is this true, but it's the whole point of patterns.

by Martin Fowler

31 Jul 2003

Read more…

bliki

writing

Singing Detective

The Singing Detective is a TV series (6 one hour episodes) produced by the BBC in the 1980's. Many people, including me, consider it the finest piece of television they've ever seen. It's a complex piece, possibly one of the most original pieces of art ever made for television. As such it isn't everybody's cup of tea, but I've watched it many times. It's most noticeably associated with the writer Dennis Potter, who made many challenging television programs. It's recently become available on DVD.

by Martin Fowler

30 Jul 2003

Read more…

bliki

diversions

Fixed Price

Many people belive that you can't do a fixed price contract in an agile project. Since the whole point of an agile process is that you cannot predict the future, this isn't an unreasonable supposition. However this doesn't mean you can't come up with a fixed price agile contract, what it really means is that you can't come up with a fixed scope contract.

Multiple Canonical Models

Scratch any large enterprise and you'll usually find some kind of group focused on enterprise-wide conceptual modeling. Most commonly this will be a data management group, occasionally they may be involved in defining enterprise-wide services. They are enterprise-wide because rather than focusing on the efforts of a single application they concentrate on integrating multiple applications.

by Martin Fowler

21 Jul 2003

Read more…

bliki

application integration

History Is Not Bunk

History is more or less bunk

-- Henry Ford

I recently got an unhappy email from a reader of UML Distilled. It's never a good start to my day when an irate reader regrets buying, let alone reading, my words of occasional wisdom. But there was something particularly interesting about this reader's beef. His concrete complaint was about my 'unnecessary history'.

by Martin Fowler

15 Jul 2003

Read more…

bliki

requirements analysis legacy modernization

The Difference between Marketecture and Tarchitecture

When we think about software architecture, we usually think about its technical architecture. But there's also another important architecture - the one we use to communicate with the customers of the software: the marketing architecture. Neglecting this “marketecture”, and its relationship with the “tarchitecture”, can get development projects into a lot of trouble.

by Luke Hohmann

Jul 2003

Read more…

ieeeSoftware

Who Needs an Architect?

What is architecture, and who exactly is an architect? These are questions that seem to get everyone very heated. So in this IEEE Software column, I let Ralph Johnson explain about architecture: with a definition that matches all others in a way that nobody agrees with. I also talk about two sub-species of architect: Architectus Reloadus and Architectus Oryzus.

by Martin Fowler

Jul 2003

Read more…

ieeeSoftware

Swebok

This is the month for review of the IEEE's Software Engineering Book of Knowledge. This is an attempt to define the body of knowledge of our profession, in a way that can lay the groundwork for a licensed profession.

by Martin Fowler

24 Jun 2003

Read more…

bliki

certification process theory

Agiledox

My colleague Joe Walnes pointed me to a fascinatingly simple tool developed by our colleague Chris Stevenson. TextDox (part of AgileDox) is a tool to automatically generate documentation from JUnit test cases. Sounds ridiculous, but then that's what Wardish ideas are like.

by Martin Fowler

23 Jun 2003

Read more…

bliki

testing tools

Typed Collection

When people are starting to work with objects, particularly in a strongly typed language, a common question is whether they should have specific collection classes for different domain types. So if you have a company class which stores a collection of employees, should you use a regular collection class from your libraries, or should you create a specific EmployeeList class - a typed collection.

by Martin Fowler

17 Jun 2003

Read more…

bliki

API design

Security And Design

This last week I had the pleasure of wandering around Florida speaking with Dan Sandlin and David LeBlanc at a series of Microsoft architecture councils. For those who don't know David LeBlanc wrote the very popular book Writing Secure Code with Michael Howard. At each of the session I would do a talk / q&a on P of EAA (which got a JavaWorld award this week) and David would follow on security.

by Martin Fowler

14 Jun 2003

Read more…

bliki

team organization security

Making Stubs

A common problem with test-enhanced designs is how to create Service Stubs in test mode while letting the real thing be there for production (and for some tests). A couple of my colleagues have shared their ideas.

by Martin Fowler

10 Jun 2003

Read more…

bliki

testing

Uml2

Last week the OMG adopted the superstructure document for UML 2. In practice this means that UML 2 is agreed on. There are numerous changes to the UML in UML 2 - it represents the biggest overhaul to the UML since the UML was originally agreed on. For general users the most obvious changes are probably:

by Martin Fowler

8 Jun 2003

Read more…

bliki

uml

Include And Extend

UML use case diagrams define a bunch of relationships between use cases. The two best known are include and extend. There seem to be more questions on these two relationships than on any other part of use cases, perhaps even anything in the UML.

by Martin Fowler

5 Jun 2003

Read more…

bliki

uml

Harvested Platform

To build a platform by harvesting, you start by not trying to build a platform, but by building an application. While you build the application you don't try to develop generic code, but you do work hard to build a well-factored and well designed application.

by Martin Fowler

3 Jun 2003

Read more…

bliki

API design platforms

Foundation Platform

A Foundation Platform is a that is built prior to any application that are built on top of it. The idea is that you analyze the needs of the various applications that need the platform, then you build the platform. Once the platform is complete you then build applications on top of it. The point is that the platform really needs to have a stable API before you start work on the applications, otherwise changes to the platform will be hard to manage due to their knock-on effects with the applications.

by Martin Fowler

3 Jun 2003

Read more…

bliki

API design platforms

Refactoring Cringely

A recent piece by Robert Cringely caused a small stir in the refactoring community recently, as he criticized refactoring. Phlip summed the response on the refactoring mailing list with an unusually restrained '...he sounds like a “skeptic” who writes reviews of books he has no intention of reading.'

by Martin Fowler

3 Jun 2003

Read more…

bliki

refactoring

Uml As Sketch

In this UmlMode developers use the UML to help communicate some aspects of a system. As with blueprints you can use sketches a forward engineering or reverse engineering direction. Forward-engineering draws a UML diagram before you write code, while reverse-engineering builds UML from existing code in order to help understand it.

by Martin Fowler

28 May 2003

Read more…

bliki

uml

Uml As Programming Language

If you can detail the UML enough, and provide semantics for everything you need in software, you can make the UML be your programming language. Tools can take the UML diagrams you draw and compile them into executable code.

The promise of this is that UML is a higher level language and thus more productive than current programming languages.

by Martin Fowler

28 May 2003

Read more…

bliki

uml

Uml As Blueprint

For a long time engineering influenced software processes have looked for a way to express software designs in such a way that the designs can be handed off to a separate group to write the code, much as blueprints are used in building bridges. This would allow rare and expensive software designers to concentrate on the blueprints while many cheaper coders concentrate on construction.

by Martin Fowler

28 May 2003

Read more…

bliki

uml

Uml Mode

While I was looking at UML 2, it occurred to me that people differ about what should be in the UML because there are differing fundamental views about what the UML should be. As I thought about this, I came up with three primary classifications for thinking about the UML: UmlAsSketch, UmlAsBlueprint, and UmlAsProgrammingLanguage. (Interestingly Steve Mellor independently came up with the same classifications.)

by Martin Fowler

28 May 2003

Read more…

bliki

uml

What Isa Bliki

I've been watching the blog scene develop for a while, and it's impossible to not want to join in. But there are things I'm not so keen about blogs. For a start the name, as my colleague Mike Two puts it, “blog sounds like something I should pay a physician to remove”. Beyond the name, however, there's the very ephemeral nature of blog postings. Short bursts of writing that might be interesting when they are read - but quickly age. I find writing too hard to want to spend it on things that disappear.

by Martin Fowler

26 May 2003

Read more…

bliki

website

Language For Learning Objects

If I want to teach people object-orientation, which language should I use?

by Martin Fowler

23 May 2003

Read more…

bliki

language feature programming environments ruby

Platform Building

Can you use refactoring to build a platform?

by Martin Fowler

18 May 2003

Read more…

bliki

refactoring

Aggregation And Composition

Few things in the UML cause more consternation than aggregation and composition, in particular how they vary from regular association.

by Martin Fowler

17 May 2003

Read more…

bliki

uml

What Is Failure

CHAOS report says only 34% of projects succeed.

The Standish Group's CHAOS report has been talking of billions of wasted dollars on IT projects for many years. The 34% success rate is actually a improvement over 2001's figure of 28%. But what do we really mean by 'failure'?

by Martin Fowler

15 May 2003

Read more…

bliki

metrics process theory

Protected Data

Is it good OO design to have data in my classes with the protected AccessModifier?

by Martin Fowler

14 May 2003

Read more…

bliki

encapsulation language feature

Access Modifier

Object-oriented languages divide a program into modules called classes. Each class contains features, which consist of data (fields) and methods. (Not all languages use these terms, but they'll do for this.) Languages have various rules about what other classes can access the features of a class, these are often based on access modifiers that apply to a class.

by Martin Fowler

13 May 2003

Read more…

bliki

encapsulation language feature

Collections On Class Diagrams

Lets say you have an album class which has an ArrayList of tracks. How do you show this in a UML class diagram?

by Martin Fowler

12 May 2003

Read more…

bliki

uml

Large Agile Projects

A common question is whether large projects can be done with agile techniques. After all many agile approaches are designed for smaller projects and the heavyweight ideas that they resist are more needed on bigger projects.

Components and the World of Chaos

Why chaos theory suggests that component assembly may not be as easy as it's cracked up to be.

by Rebecca Parsons

May 2003

Read more…

ieeeSoftware

Errant Architectures

Software Development magazine adapted chapter 7 (Distribution Strategies) of my book Patterns of Enterprise Application Architecture as an article in their magazine. I suspect they liked it due to its tone and the inclusion of the First Law of Distributed Object Design.

by Martin Fowler

1 Apr 2003

Read more…

application architecture

Patterns

My IEEE column on the valuable contributions that patterns can make to understanding software design.

by Martin Fowler

Mar 2003

Read more…

ieeeSoftware writing

Canadian Workshop on Scaling XP/Agile Methods

As XP and other Agile methods gain popularity, questions are beginning to surface regarding how to scale XP beyond teams of 10-12 people. In mid February 2003 a workshop dedicated to the subject was held in Banff Alberta Canada. In this article we report on the keynote speeches from Ken Schwaber, and Martin Fowler, as well as other leading practitioners.

by Jonathan Rasmusson and Jim McDonald

Mar 2003

Read more…

article

agile conferences process theory

Domain Logic and SQL

Over the last couple of decades we've seen a growing gap between database-oriented software developers and in-memory application software developers. This leads to many disputes about how to use database features such as SQL and stored procedures. In this article I look at the question of whether to place business logic in SQL queries or in-memory code, considering primarily performance and maintainability based on an example of a simple, but rich SQL query.

by Martin Fowler

Feb 2003

Read more…

article

database

Writing with XML

For quite a while now, I've been doing most of my writing using XML - even to the point of writing my last book in XML. As I've mentioned this to people they've asked me a number of questions about my experiences, and that's been enough to prompt this little article on the whole thing.

by Martin Fowler

Jan 2003

Read more…

article

writing

When to Make a Type

Guidelines on when to make a new user defined type (or class) for values.

by Martin Fowler

Jan 2003

Read more…

ieeeSoftware programming style


All tags

API design · agile · agile adoption · analysis patterns · application architecture · application integration · bad things · board games · build scripting · certification · collaboration · computer history · conference panels · conferences · continuous delivery · covid-19 · data analytics · data mesh · database · design · dictionary · distributed computing magazine · diversions · diversity · documentation · domain driven design · domain specific language · domestic · encapsulation · enterprise architecture · estimation · event architectures · evolutionary design · experience reports · expositional architectures · extreme programming · front-end · gadgets · generative AI · ieeeSoftware · infodecks · internet culture · interviews · language feature · language workbench · lean · legacy modernization · legal · metrics · microservices · mobile · noSQL · object collaboration design · parser generators · photography · platforms · podcast · popular · presentation technique · privacy · process theory · productivity · programming environments · programming style · project planning · recruiting · refactoring · refactoring boundary · requirements analysis · ruby · security · talk videos · team environment · team organization · technical debt · technical leadership · test categories · testing · thoughtworks · tools · travel · uml · version control · web development · web services · website · writing

2024 · 2023 · 2022 · 2021 · 2020 · 2019 · 2018 · 2017 · 2016 · 2015 · 2014 · 2013 · 2012 · 2011 · 2010 · 2009 · 2008 · 2007 · 2006 · 2005 · 2004 · 2003 · 2002 · 2001 · 2000 · 1999 · 1998 · 1997 · 1996

All Content