Microsoft Software Factories

Build a factory per kind of application, made of domain-specific models, patterns, frameworks and code generators, so developers assemble apps instead of hand-writing them.

Who
Microsoft (Jack Greenfield, Keith Short)
When
2004 – c. 2010
Result
Influenced model-driven development and Visual Studio tooling; heavy up-front cost limited adoption
Autonomy
Level 0 of 5

What they built

Jack Greenfield and Keith Short, architects at Microsoft, published Software Factories: Assembling Applications with Patterns, Models, Frameworks, and Tools (Wiley, 2004). For each "product line" (a family of similar applications), you build a factory: a schema describing the parts, plus models, patterns, frameworks and generators for each part. Developers then assemble applications from those parts.

What worked, and what didn't

  • Worked: the ideas fed into model-driven development, domain-specific languages and Visual Studio tooling, and Microsoft shipped several "patterns & practices" factories.
  • Didn't: building a factory was a large up-front investment that only paid off over many similar applications, so few teams adopted it.

Lesson for us

Generation is only worth it when the cost of building the generator pays back. AI agents change that maths: the "generator" is general-purpose, so the up-front cost moves into context, checks and verification instead.

Sources

Follow the research

Occasional notes from the lab as the factory takes shape: what we tried, what worked, and what didn’t.