<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/driven-development-we9oonqib" -->

---
title: Driven Development | daily.dev
description: A cautionary tale about dogmatic adoption of Domain-Driven Design (DDD). Through a real-world code example, it illustrates how a team claiming to follow DDD...
canonical: https://daily.dev/posts/driven-development-we9oonqib
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Driven Development | daily.dev
og:description: A cautionary tale about dogmatic adoption of Domain-Driven Design (DDD). Through a real-world code example, it illustrates how a team claiming to follow DDD...
og:url: https://daily.dev/posts/driven-development-we9oonqib
og:image: https://api.daily.dev/og/posts/We9ooNqib.png
og:image:alt: Driven Development
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Driven Development

**[The Daily WTF](https://daily.dev/sources/thedailywtf)** · 2 min read · 1 upvotes · 0 comments

## Summary

A cautionary tale about dogmatic adoption of Domain-Driven Design (DDD). Through a real-world code example, it illustrates how a team claiming to follow DDD best practices produced a 'domain' repository interface that violates every DDD principle — performing authentication checks, handling cookies, managing session state, and coupling tightly to CakePHP — demonstrating that buzzword-driven development is worse than no methodology at all.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thedailywtf.com/articles/driven-development>

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#php](https://daily.dev/tags/php), [#domain-driven-design](https://daily.dev/tags/domain-driven-design)

[View this post on daily.dev](https://daily.dev/posts/driven-development-we9oonqib)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Driven Development","url":"https://daily.dev/posts/driven-development-we9oonqib","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/driven-development-we9oonqib"},"datePublished":"2026-06-09T10:43:04.864Z","dateModified":"2026-06-09T10:43:22.905Z","description":"A cautionary tale about dogmatic adoption of Domain-Driven Design (DDD). Through a real-world code example, it illustrates how a team claiming to follow DDD...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"The Daily WTF","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Daily WTF","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d21a6aa61a7244d893a3b3284df8e2ef","url":"https://daily.dev/sources/thedailywtf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/driven-development-we9oonqib","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,php,domain-driven-design","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Daily WTF","item":"https://daily.dev/sources/thedailywtf"},{"@type":"ListItem","position":3,"name":"Driven Development"}]}
```

