<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Juan Hurtado on Medium]]></title>
        <description><![CDATA[Stories by Juan Hurtado on Medium]]></description>
        <link>https://medium.com/@juanhurtado10?source=rss-5e3cb5e86535------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GWCtDKTFEEOJ7UC2Q7n0fw.jpeg</url>
            <title>Stories by Juan Hurtado on Medium</title>
            <link>https://medium.com/@juanhurtado10?source=rss-5e3cb5e86535------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:19:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@juanhurtado10/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Domain Driven Design for monoliths]]></title>
            <link>https://medium.com/@juanhurtado10/domain-driven-design-for-monoliths-1f386e125d35?source=rss-5e3cb5e86535------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f386e125d35</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[domain-driven-design]]></category>
            <category><![CDATA[monolith]]></category>
            <category><![CDATA[ddd]]></category>
            <dc:creator><![CDATA[Juan Hurtado]]></dc:creator>
            <pubDate>Fri, 03 Aug 2018 16:56:44 GMT</pubDate>
            <atom:updated>2018-08-03T17:13:21.892Z</atom:updated>
            <content:encoded><![CDATA[<h4>Reach a manageable state for your app in 5 domain-driven steps</h4><p>Let’s face it, using a framework to start a project is the easy way to-go, we can query the database directly, we can call functions from any part of the code, we don’t have to think too much about the organization because we are already plugged in into an “architecture”. However, the time progresses your codebase grows exponentially with your business needs and it becomes in something difficult to maintain. The convention-over-configuration design principles that some frameworks use, at some point, will hurt your feelings when you look at your code converted into a <strong>Big Ball of Mud.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl41m2I1kf1OLr6vok%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmashable-l41m2I1kf1OLr6vok&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl41m2I1kf1OLr6vok%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/6768756fb009c41ca0f51144d2bb4db6/href">https://medium.com/media/6768756fb009c41ca0f51144d2bb4db6/href</a></iframe><h3><strong>Alert symptoms</strong></h3><ol><li><strong>Refactoring</strong> is difficult and tedious, methods and classes depend on other classes.</li><li><strong>Changing code</strong> in one area produces side effects in other areas of the code.</li><li><strong>Your business objects</strong> are growing up fast and is difficult to keep them in your head.</li></ol><h3>DDD to the Rescue</h3><p>The Domain Driven Design approach aims to help with complex business logic, the key principle in <strong>DDD</strong> is that the software you build must closely mirror of business. We need then, do the homework and understand how our business domain works.</p><h3>From Legacy to DDD</h3><h4>1 — Draw a context map</h4><p>A diagram that mixes business objectives and implementations of software systems. It’s useful for visualizing dependencies between components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*Inl5YhvuH_uLqAh9CmgLZQ.png" /></figure><h4>2 — Understand your Domain</h4><p>A Domain is what the business does, and the context of how it does it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*oQ5ZZZLqFDyiop0H73krNQ.png" /></figure><p>Review your context map!. If multiple business domains are converging into your code it’s time for letting the “microservices” act.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*kQZDJCjglu8x_t1a3Oechg.png" /></figure><h4>3 — Define the bounded contexts</h4><p>Define Bounded Contexts that fulfills the goals of the business in the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*7pwzauG6EsDlaKaU2QsWzQ.png" /></figure><h4>4— Embrace the code</h4><p>Group your code to visualize your app in it’s constituent components.</p><h4>5 — Escape from frameworks</h4><p>Let the framework deal only with the HTTP requests.</p><p>Good luck. You can do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QpaU-P2zs3xFkQPX.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f386e125d35" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>