<?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 Pedro Fernandes Abreu on Medium]]></title>
        <description><![CDATA[Stories by Pedro Fernandes Abreu on Medium]]></description>
        <link>https://medium.com/@pedroabreu889?source=rss-6cfea1fc9c44------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kNu3x13y_6TzqHROXxRKGg.png</url>
            <title>Stories by Pedro Fernandes Abreu on Medium</title>
            <link>https://medium.com/@pedroabreu889?source=rss-6cfea1fc9c44------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:58:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pedroabreu889/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 — OutSystems]]></title>
            <link>https://pedroabreu889.medium.com/domain-driven-design-outsystems-4ab78f566690?source=rss-6cfea1fc9c44------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ab78f566690</guid>
            <category><![CDATA[software]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[architecture-design]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Pedro Fernandes Abreu]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 19:45:37 GMT</pubDate>
            <atom:updated>2022-11-10T23:27:23.624Z</atom:updated>
            <content:encoded><![CDATA[<h3>Domain driven design — OutSystems</h3><p>We usually focus our architecture design in reference violations (cyclic references, upwards references), the architecture canvas, but is this enough to enable the full potential of the platform?</p><h3>Let’s understand the challenge…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*tDC44BAGMsrlQrHDSwo5pw.png" /></figure><p>Even though we have a clear architecture canvas, no architecture violations, naming conventions defined, as soon as our application landscape grows, we have pain points that will require our attention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*r0BFm8fOaYuoxpHVxge7mw.png" /><figcaption>*<strong>ilities</strong>, Maintainability, Scalability, Reliability, etc…</figcaption></figure><h3>Let’s compare ideas…</h3><h4>1- “Monolith”</h4><p>Although we have our canvas defined and in place, we’re still creating a big junk of software right from compilation time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*h-H3CrD3QadKWS2-_Vc8qQ.png" /></figure><h4>2- Microservices</h4><p>The most common solution that we turn ourselves into, are microservices. But are microservices really the guardian angels of monoliths ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*TaGR36Po1rn-AQjruTUH1A.png" /></figure><h4>3- Domain driven design — in between</h4><p>In this approach, we essentially try to take the best of both worlds, coupling when needed, decoupling when advantageous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*FpHihZh4lDRcdOrCTm3Owg.png" /></figure><p>As we look into this approach, we should note that we’re creating “small monoliths” — Domains and integrating across them with services. On the above example, we see that we’re defining 4 domains and using decoupled integrations (services) to integrate across them.</p><h4>But how to define a domain ?</h4><p>When we start shifting our approach to domain-driven, we should consider a rules that will help us identify where/when we should define a domain boundary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I1PbrXC6q0-K7FEzFIIVJA.png" /></figure><h4>Patterns and Tricks for Domain driven design</h4><p>In the OutSystems toolbox we can some interesting ways to implement this services in a simple, efficient manner.</p><h4>Service actions</h4><p>Exposing a Service Action generates a weak dependency from the consumer to the producer module, in a loosely-coupled way. Service actions also benefit from OutSystems referenced impact analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/234/1*0woB7sAIflxCFk71NODcmQ.png" /></figure><h4>Service composition</h4><p>The service composition pattern, allows the encapsulation of multiple services in a single translations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*4-Wz_MbG-bMf1OWaymw-4w.png" /></figure><h4>Domain API</h4><p>The domain API patterns, allows the mashup of data from several entities, safeguarding unnecessary round-trips and complex processing on the consumer side when fetching composed data from various entities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*aeA0I_qucr4wwk5zeIC_YA.png" /></figure><h4>Last but not least…!</h4><p>Domain driven design has the potential to enable a more flexible landscape with easier to scale software, independent life cycles across functional areas, faster compilation speed and ultimately, will allow developers to survive in mature centres of excellence or fast growing factories.</p><p>For more information we cannot go without…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*z8T9f2wyFF8blo3w-ru4bA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ab78f566690" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Low code review — OutSystems]]></title>
            <link>https://pedroabreu889.medium.com/low-code-review-8d6b8bf01326?source=rss-6cfea1fc9c44------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d6b8bf01326</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[low-code]]></category>
            <dc:creator><![CDATA[Pedro Fernandes Abreu]]></dc:creator>
            <pubDate>Thu, 18 Mar 2021 19:04:48 GMT</pubDate>
            <atom:updated>2022-11-15T10:39:11.442Z</atom:updated>
            <content:encoded><![CDATA[<h3>Low code review — OutSystems</h3><p><em>Looking for the forge component? right </em><a href="https://www.outsystems.com/forge/component-overview/10634/low-code-review"><em>here</em></a><em> !</em></p><p>The <em>low code review</em> focuses on enhancing your code-base through collaboration and knowledge sharing.</p><ul><li>Improve overall implementation quality in your OutSystems factory by introducing peer-reviews in your development process.</li><li>Promote best-practices &amp; knowledge sharing within a team and/or across various teams.</li><li>Inspect and enhance best practices by brainstorming different approaches &amp; conventions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qxhe4ArUMhAwqhMj.PNG" /></figure><blockquote>The Low Code Review automatically detects the published versions per developer that haven’t been reviewed yet.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HjdEHYXgUsmLOrucXqfhfA.png" /></figure><blockquote>Let’s purify our code-base !</blockquote><p><em>Questions, remarks or collaboration ? Send me a message.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d6b8bf01326" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Technical debt - Outsystems]]></title>
            <link>https://pedroabreu889.medium.com/technical-debt-in-outsystems-50122ea74c4c?source=rss-6cfea1fc9c44------2</link>
            <guid isPermaLink="false">https://medium.com/p/50122ea74c4c</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Pedro Fernandes Abreu]]></dc:creator>
            <pubDate>Wed, 03 Feb 2021 19:02:47 GMT</pubDate>
            <atom:updated>2022-11-15T10:39:49.253Z</atom:updated>
            <content:encoded><![CDATA[<h3>Technical debt in - OutSystems</h3><p>Let’s face it… we’ve all come across <strong>technical debt</strong> at one time or another working with <strong>software development</strong> sciences. And we usually know <strong>how</strong> it happened — <em>the question is;</em></p><p><strong>— How do we prevent it ?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmjrFyiBzvuZbYSKXxR6-g.jpeg" /><figcaption>It works, but how can we upgrade it ?</figcaption></figure><p>Let’s start by defining the cause, the root of technical debt;</p><h3>Wide variety of the developers skill-set</h3><p>The junior DEV will make your whole application in a single module. He/She will place your business logic and integrations on the screens and create actions that should have never existed in the first place but…</p><blockquote>— Big cheers to Juniors ! — that’s how we learn.</blockquote><h3>Fear of “touching” what was built before !</h3><p>Who has a strong resistance to touching what was built in the past ? Yep, all of us. We all came across an implementation that we religiously avoided touching because it was not really part of the task…. <em>right ? (It’s really not, right ?, …right ?)</em></p><p>And… yep, our inner self screams at us;</p><blockquote>I am NOT fixing those worn-out brakes, I did not create them myself !</blockquote><h3>Disconnected requirements ^@%$</h3><p>We’ve all had unrealistic deadlines or a <em>detailed-ish</em> requirement that made the whole task take 5x more time to build and triggered a sense of detachment from the rest of the application.</p><p>Congrats ! You’ve just created a cookie <strong>monster </strong>that will munch most of your cookies ! (…and he won’t even eat them).</p><h3>No architecture supervision []{[][]}</h3><p>The plan is to build the road, <em>so we are going to build the road</em> ! Exactly how it was asked for; 2 lanes, a lot of aluminium billboards, and beautiful markings!</p><blockquote>But… is the road being built in the right direction ?</blockquote><h3>Overly complex implementations or designs — -+</h3><p>Either the functional requirement was not clear, or because of some technical difficulties, we over-complicate our implementations. The designer or the developer came up with rocket science, space-time 4D algorithm — to create a toast. But then our stakeholder developed a taste for avocado.</p><blockquote>How can we, <a href="https://www.google.com/search?q=earthling+meaning">earthlings</a>, make it an avocado toast now ?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pw-N7-lfIneFli7gEuchCA.jpeg" /><figcaption>We don’t always see the big picture, truth is, none of us really sees it !</figcaption></figure><blockquote><strong>“Let’s go solutions !”</strong></blockquote><p>Development guidelines! We are speaking the same language, but we have to make sure we use the same grammar — a set of rules — all DEVs should <strong>abide by</strong> and <strong>can live</strong> with. A set of fundamental development rules; <em>Conventions, best practices, and technical guidelines !</em></p><blockquote><strong>OutSystems modules</strong></blockquote><p>Start with the basics, which modules can exist in the factory, and what can the team push into them! Think of *<strong>_API</strong> for exposing functionality, *<strong>_IS</strong> for connectors supporting integration services only. Or for example <strong>Lib_* </strong>to business agnostic libraries only.</p><p>This will make it easy for everyone to understand what’s inside <strong>any given module</strong> in your OutSystems landscape.</p><blockquote><strong>Actions</strong></blockquote><p>Naming actions in a clear way, that we don’t need to open it to know what it is doing. Name an action “<em>ProcessAuxUtils()</em>” and you just bought everyone 10 minutes per week understanding what the heck is that thing doing………. <em>(And someone will eventually build it again because “I didn’t know it existed”).</em></p><p>You have 50 characters for that. <em>So rather</em> go <strong>poet </strong>than <strong>banker</strong>;</p><p><strong>“AddTheTaxesToTheFinalOrderValue” </strong>instead of<strong> “PrcssFnlOrd”</strong></p><p>See ? Now we all know what’s that action doing. Everyone (yes, you too) knowing nothing about the system, gets a very decent idea of its implementation.</p><blockquote><strong>Code or Flows</strong></blockquote><p>Spend some energy making the complex and complicated — SIMPLE.</p><p>You’ll see that in some situations, to make your implementations easy to understand, you need to go through a “make-it-simple” challenge. You want to make that library a no-brainer to reuse, that business rule readable for everyone and turn that calculation engine into smaller, clearly expressed pieces.</p><blockquote><strong>OutSystems architecture</strong></blockquote><p>A few basic rules apply to every OutSystems architecture. We don’t want any <strong>Architecture Canvas</strong> violations, and we want our applications flexible and light.</p><p>That does not mean starting an application with <strong>20 modules</strong>, but it also means NOT having <strong>4 modules after 6 months</strong> of DEV. Keep evaluating your modules, as your application grows, very likely you will need to re-structure them, divide them and create new ones.</p><p>Unless you are building a library or a small application, you will realise you’ll have to <strong>break your app into several OutSystems applications.</strong></p><p>You want to keep your apps flexible, deployments light but also maintain independent life-cycles across functional stakeholders. (Will dive deep into this in my next article).</p><blockquote><strong>(Low) Code review</strong></blockquote><p>In your team, for Juniors or Seniors, the code should be <strong>reviewed</strong>. You can define a process for it or use the <a href="https://www.outsystems.com/forge/component-overview/10634/low-code-review"><strong>Low Code Review</strong></a> component from the forge.</p><p>This will improve the overall quality of your Outsystems factory and will promote collaboration &amp; knowledge “osmosis” within a team. Ensure testing only starts when the given implementation abides to an <strong>agreed level of quality</strong>!</p><p>You can base your level of quality on this <a href="https://success.outsystems.com/Documentation/Best_Practices"><strong>best practices</strong></a> article from Outsystems. But hey ! Don’t forget to keep an eye on the <a href="https://www.outsystems.com/platform/architecture-dashboard/"><strong>architecture dashboard</strong></a><strong> …</strong>and as always in engineering;</p><p><em>“The best piece is no piece” — Code is a liability.</em></p><blockquote><strong>Business and Tech — Happy polygamous marriage</strong></blockquote><p>The goal of your company is probably not to build software. It is to offer a product or a service to a customer, but nevertheless, there has to be a symbiosis between Tech and Business.</p><blockquote>Great collaboration between these 2 characters is the most important step to build great software.</blockquote><p>You should be able to <strong>explain to your stakeholder</strong> (or product owner) why your team needs more time to refactor a piece of software, why that requirement is not going to be a good bet in the long run, and why you need to put in extra-time building those new software components.</p><p>Your stakeholder should be open to discussing such topics, and it will be his/her job to<strong> squeeze you with questions</strong>, and in some cases, going deep into details to understand your jargon — That’s good !</p><p>Having these <strong>2 forces</strong> balanced will substantially <strong>benefit your organisation</strong> in the long run. You don’t want to have one force dominating over the other and vice-versa.</p><blockquote><strong>Enterprise Architecture</strong></blockquote><p>Although we can have our OutSystems landscape shining and very well maintained, we need to keep in mind our <strong>Enterprise Architecture. </strong>This will make sure we are <em>building the road</em> in the right direction.</p><blockquote>For a hammer, everything is a nail.</blockquote><p>If you ask an OutSystems DEV, he/she will tell you it can be <strong>built using OutSystems</strong>. The question you want to ask sometimes is, <em>“Do I want to build this ?” or “What is the utmost proper technology to build this ?”.</em></p><p>OutSystems have a wide scope for business applications, but there will be times where (for eg.) it will be cheaper and easier to just buy a product from the market.</p><blockquote>How do we Integrate OutSystems ?</blockquote><p>OutSystems<strong> supports most of the integration</strong> formats, which is great, planning should occur and <strong>enterprise-wide</strong> decisions should be made on how we are going to integrate OutSystems or any other technical-stack with the existing enterprise landscape.</p><p>Are we integrating using (for eg.) REST api’s ? Then we should make sure we “regulate” these integrations — with guidelines — to ensure the desired <strong>integration &amp; architecture quality. </strong>In some cases, we may want to enhance our integrations with an <a href="https://en.wikipedia.org/wiki/API_management"><strong>API gateway</strong></a>, an <a href="https://en.wikipedia.org/wiki/Enterprise_application_integration"><strong>Enterprise application integration</strong></a> (EAI), or both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*8tM3hmyNPccZaJqV_3ld3Q.jpeg" /></figure><p>That’s a beautiful correct image, but I can only share with you what my experience has taught me, and as always in sciences, concepts change and evolve. Nevertheless we have to start somewhere.</p><p>By inspiring on all the above, I believe we are on a direction to become more efficient, reduce and prevent technical debt, increase the speed of innovation, and contribute just by a tiny bit for — <strong>a better world for humankind !</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50122ea74c4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>