<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hexagonal on cassiobotaro</title><link>https://cassiobotaro.dev/en/tags/hexagonal/</link><description>Recent content in Hexagonal on cassiobotaro</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 09 Aug 2026 19:50:58 -0300</lastBuildDate><atom:link href="https://cassiobotaro.dev/en/tags/hexagonal/index.xml" rel="self" type="application/rss+xml"/><item><title>Hexagonal architecture in a single file</title><link>https://cassiobotaro.dev/en/posts/hexagonal-architecture-single-file/</link><pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate><guid>https://cassiobotaro.dev/en/posts/hexagonal-architecture-single-file/</guid><description>&lt;p&gt;&lt;img src="https://cassiobotaro.dev/images/hexagonal.png" alt="Hexagonal architecture" title="Ports and adapters"&gt;&lt;/p&gt;
&lt;p&gt;Every time someone brings up hexagonal architecture, a diagram with fifteen folders shows up, &lt;code&gt;domain&lt;/code&gt;, &lt;code&gt;application&lt;/code&gt;, &lt;code&gt;infrastructure&lt;/code&gt;, and the conversation turns into where to put files. The pattern is not that.&lt;/p&gt;
&lt;p&gt;I spent a while studying the subject to put together a &lt;a href="https://canva.link/233m7mdrtzzc2c5" class="external-link" target="_blank" rel="noopener"&gt;talk&lt;/a&gt; (in Portuguese), and the two code examples here came straight from it.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;💡 The pattern is Alistair Cockburn&amp;rsquo;s. The quotes throughout come from his original article and his book.&lt;/p&gt;</description></item></channel></rss>