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

---
title: Space - the Final Straw | daily.dev
description: Framework-driven folder structures (organizing by technical type like Controllers, Entities, Commands) work initially but become unmaintainable as projects...
canonical: https://daily.dev/posts/y9szhn6nm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Space - the Final Straw | daily.dev
og:description: Framework-driven folder structures (organizing by technical type like Controllers, Entities, Commands) work initially but become unmaintainable as projects...
og:url: https://daily.dev/posts/y9szhn6nm
og:image: https://api.daily.dev/og/posts/Y9sZHn6NM.png
og:image:alt: Post cover image
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.

# Space - the Final Straw

**[PHP Dev](https://daily.dev/sources/phpdev)** · [@damienseguy](https://daily.dev/damienseguy) · 2 upvotes · 0 comments

## Summary

Framework-driven folder structures (organizing by technical type like Controllers, Entities, Commands) work initially but become unmaintainable as projects grow. This organizational approach spreads features across directories, encourages broken windows, and lacks clear boundaries. The solution is organizing code by topic or domain (modules/packages) rather than technical categories. Each module should be self-contained with its own integration logic, creating firewalls against code rot. A lib folder can incubate reusable libraries. Static analysis tools can enforce these architectural boundaries, preventing the inevitable entropy that comes with every code change.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.dantleech.com/blog/2026/01/30/space-the-final-straw/>

## Similar posts on daily.dev

- [How I Learned to Structure React Projects Around Change, Not Folders](https://daily.dev/posts/how-i-learned-to-structure-react-projects-around-change-not-folders-ccelaqkhn) · Medium · 121 upvotes · 4 comments
- [The Vertical Codebase](https://daily.dev/posts/the-vertical-codebase-kioev85i9) · TkDodo · 73 upvotes · 5 comments
- [Modular Monolith and Microservices: Modularity is what truly matters](https://daily.dev/posts/modular-monolith-and-microservices-modularity-is-what-truly-matters-alztxj5cq) · Hacker News · 29 upvotes · 1 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#php](https://daily.dev/tags/php), [#technical-debt](https://daily.dev/tags/technical-debt)

[View this post on daily.dev](https://daily.dev/posts/y9szhn6nm)

```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":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/y9szhn6nm","headline":"Space - the Final Straw","text":"Shared: Space - the Final Straw","url":"https://daily.dev/posts/y9szhn6nm","datePublished":"2026-02-01T22:17:07.944Z","dateModified":"2026-02-01T22:17:49.322Z","author":{"@type":"Person","name":"Damien seguy","url":"https://daily.dev/damienseguy","image":"https://media.daily.dev/image/upload/s--nPbjKqol--/f_auto,q_auto/v1698422671/avatars/avatar_G85JhYcDxAg024Omc8Rlp","description":"PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it","worksFor":{"@type":"Organization","name":"Exakat","logo":"https://media.daily.dev/image/upload/s--ibtl6fze--/f_auto/v1749051132/companies/exakat"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":42310}},"image":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/Rp10ke6Kn"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/phpdev","name":"PHP Dev"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PHP Dev","item":"https://daily.dev/squads/phpdev"},{"@type":"ListItem","position":3,"name":"Space - the Final Straw"}]}
```

