<?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 Michael Andish on Medium]]></title>
        <description><![CDATA[Stories by Michael Andish on Medium]]></description>
        <link>https://medium.com/@MichaelAndish?source=rss-5cb0e10e79fe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*L1-BTPYtl7LmAHN267KCIg.png</url>
            <title>Stories by Michael Andish on Medium</title>
            <link>https://medium.com/@MichaelAndish?source=rss-5cb0e10e79fe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:51:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@MichaelAndish/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[Building a Secure Credential Broker with HashiCorp Vault]]></title>
            <link>https://blog.weprodev.com/building-a-secure-credential-broker-with-hashicorp-vault-4eab533a0588?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eab533a0588</guid>
            <category><![CDATA[broker-credentials]]></category>
            <category><![CDATA[secure-credential-broker]]></category>
            <category><![CDATA[hashicorp-vault]]></category>
            <category><![CDATA[vault]]></category>
            <category><![CDATA[openbao]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 20:37:00 GMT</pubDate>
            <atom:updated>2026-07-24T21:01:28.056Z</atom:updated>
            <content:encoded><![CDATA[<h4>Stop Storing Cloud Credentials in Your Applications</h4><figure><img alt="Building a Secure Credential Broker with HashiCorp Vault" src="https://cdn-images-1.medium.com/max/1024/1*Zusu0QyMUBOEqEtYhJd1dw.png" /></figure><p>A few weeks ago I ran into a problem that <em>looked</em> simple: a couple of internal services needed to call Google Cloud APIs (Cloud Translation, Gemini, and a few others).</p><p>It’s the kind of request that shows up as a two-line ticket…and then quietly turns into a security decision.</p><p>The obvious solution is the one most teams start with:</p><ol><li>Create a Google Cloud service account</li><li>Download a JSON key</li><li>Put that key somewhere “safe” like 1Password, LastPass, Keeper,…</li><li>Mount it into the application</li><li>Hope it never leaks</li></ol><p><strong>That’s exactly what I didn’t want to do.</strong> 😄</p><p>A service account key is a long‑lived credential. In practice, it often lives for months (or years) until someone remembers to rotate it. If it’s accidentally leaked — committed to Git, copied to an unsecured location, exposed in logs, or stolen during an incident — whoever gets it can keep using it until it’s explicitly revoked.</p><h4>I wanted something better: No long‑lived cloud credentials in application code or runtime.</h4><p>Instead, I wanted services to receive <strong>short‑lived credentials</strong> that automatically expire. If a token ever leaks, it becomes useless quickly.</p><p>That was the goal.</p><figure><img alt="Stop Storing Cloud Credentials in Your Applications" src="https://cdn-images-1.medium.com/max/800/1*8UEVlgWsV1sPd1CCXYXyPw.png" /></figure><h3>The Problem: Long‑Lived Secrets Don’t Age Well</h3><p>This isn’t a “Google is insecure” problem. Google Cloud’s IAM model is fine.</p><p><strong>The problem is operational reality:</strong></p><ul><li>Long‑lived secrets are hard to rotate reliably.</li><li>You need to track where they are used and who can access them.</li><li>When one is compromised, the attacker can keep using it until you detect and revoke it.</li></ul><p>Even good teams eventually end up with “secret sprawl”: keys sprinkled across CI systems, Kubernetes secrets, developer laptops, and internal docs.</p><h3>What I Wanted Instead: Identity In, Temporary Tokens Out</h3><p>The new model I wanted is:</p><ul><li>Applications prove <strong>who they are</strong> (identity-based auth), not <strong>what secret they know</strong>.</li><li>A central system verifies the application identity.</li><li>That system mints <strong>short‑lived cloud credentials</strong> on demand.</li></ul><pre>Application<br>      │<br>      ▼<br>Authenticate (identity-based)<br>      │<br>      ▼<br>Credential Broker (Vault/OpenBao/...)<br>      │<br>      ▼<br>Request short-lived cloud token<br>      │<br>      ▼<br>Cloud IAM (Google/Azure/AWS)<br>      │<br>      ▼<br>Temporary access token (TTL ~ 1 hour)</pre><p>Important nuance: in many clouds, you still end up using OAuth2 access tokens. The key change is <strong>who holds the long‑lived material</strong>:</p><ul><li>The application does <strong>not</strong> hold a long‑lived key.</li><li>The broker holds the sensitive capability (or uses a managed identity / workload identity) to obtain short‑lived tokens.</li><li>The application receives only an expiring token.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6QTkNF188YchOQE57A8E1Q.png" /></figure><h3>Why Vault / OpenBao Enter the Picture</h3><p>Once you decide “we want a credential broker,” you need something that can:</p><ul><li>Authenticate workloads (Kubernetes, AppRole, OIDC/JWT, etc.)</li><li>Enforce policies (“service A can request token type X, but not Y”)</li><li>Audit access</li><li>Generate or broker credentials for downstream systems</li></ul><p><a href="https://www.hashicorp.com/en/products/vault"><strong>HashiCorp Vault</strong></a> and <a href="https://openbao.org/"><strong>OpenBao</strong></a> both fit this general category.</p><p>OpenBao is a community fork of Vault created after HashiCorp changed Vault’s license. For many core features, they’re very similar.</p><p>Both support:</p><ul><li>secret storage</li><li>authentication methods</li><li>policies</li><li>Kubernetes integration</li><li>AppRole authentication</li></ul><p>So I deployed both in a staging environment and tested them against the one thing I cared about most: <strong>issuing short‑lived cloud credentials.</strong></p><h3>Why I Chose Vault (For This Use Case)</h3><p>The biggest difference for my scenario was <strong>cloud integration maturity</strong>.</p><p>Vault has built‑in secrets engines / integrations for major cloud providers (including Google Cloud and Azure) that can issue or broker short‑lived credentials in a fairly straightforward way.</p><p>OpenBao can also do this, but at the time I tested it, I would have needed additional plugins and extra configuration to reach the same point.</p><p>This wasn’t about OpenBao being “bad.” It was about reducing operational work for a small internal improvement. For my use case, Vault was the faster path to “working credential broker.”</p><h3>How the Flow Works (End to End)</h3><p>At a high level, the runtime flow looks like this:</p><ol><li>The application authenticates to Vault (for example via Kubernetes auth or AppRole).</li><li>Vault verifies the application identity and attaches policies.</li><li>The application requests cloud access (e.g., “I need a token for project X with role Y”).</li><li>Vault obtains or generates a short‑lived cloud token via the cloud integration.</li><li>Vault returns that token to the application.</li><li>The application calls cloud APIs with the token until it expires (and renews if needed).</li></ol><h4><strong>The application never owns a permanent Google credential (no service account JSON key).</strong></h4><p>It only receives a short‑lived access token.</p><p>If that token is leaked, the blast radius is bounded by the TTL and the token’s scope/roles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ViAq1PZJRt469eCqb-X_aw.png" /></figure><p>This approach provides practical security and operations wins:</p><ul><li><strong>No long‑lived cloud credentials in applications</strong></li><li><strong>Automatic expiration</strong> (short-lived tokens)</li><li><strong>Simpler rotation</strong> (rotate at the broker, not across every workload)</li><li><strong>Centralised access control</strong> (policies in one place)</li><li><strong>Auditing</strong> (who requested what, when)</li><li><strong>Smaller blast radius</strong> if a token is compromised</li></ul><p>Instead of worrying about leaked JSON keys, you’re dealing with expiring tokens and auditable requests.</p><h3>When Does This Pattern Make Sense?</h3><p>Vault (or any broker) isn’t necessary for every project.</p><p>If you have a single small service and a single API key, a full broker can be overkill.</p><p>But this pattern starts to pay off when you have:</p><ul><li>multiple services</li><li>multiple environments (dev/staging/prod)</li><li>multiple clouds or multiple projects/accounts</li><li>compliance requirements</li><li>a need for strong auditing</li><li>a desire to eliminate service account keys from workloads</li></ul><p>For Kubernetes-based teams, it can be especially compelling because workloads can authenticate automatically without distributing long-lived credentials.</p><h3>Final Thoughts</h3><p>The biggest lesson from this project wasn’t “Vault is great.”</p><p>It was that I stopped asking 😊</p><blockquote><em>“Where should I store this secret?”</em></blockquote><p>…and started asking</p><blockquote><em>“Can I avoid having this secret at all?”</em></blockquote><p>In many cases, the answer is yes.</p><p>Giving applications short‑lived credentials instead of permanent keys makes systems easier to operate — and much safer when something eventually goes wrong.</p><p><strong>Sometimes the best secret is the one your application never stores.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F1212771785%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F1212771785%3Fshare%3Dcopy%26fl%3Dsv%26fe%3Dci&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F2183290544-7a397bef6cbc97b38cd6eeb5b555f6131966a66ca0162600b64a5b5c50dcd6d4-d_1280%3Fregion%3Dus&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/697abb6d94cd075c1087ae8da868cb07/href">https://medium.com/media/697abb6d94cd075c1087ae8da868cb07/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eab533a0588" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/building-a-secure-credential-broker-with-hashicorp-vault-4eab533a0588">Building a Secure Credential Broker with HashiCorp Vault</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build Your Own Team Agents — Let FlowAI Run the Show]]></title>
            <link>https://blog.weprodev.com/build-your-own-team-agents-let-flowai-run-the-show-dc976ab17958?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc976ab17958</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-orchestration]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-programming]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Thu, 16 Apr 2026 05:20:00 GMT</pubDate>
            <atom:updated>2026-04-16T05:20:00.979Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0rKF_fgXAP6KuT4SzjIMSg.jpeg" /></figure><p>If you’ve been using AI tools for coding, you already know the pattern.</p><p>You try a few tools — Cursor, Claude, Copilot, maybe Gemini — and over time you don’t really <em>choose one</em>. You rotate between them.</p><p>Because each one is good at something different.</p><p>For me, it usually looks like this:</p><ul><li>Gemini works really well for frontend and DevOps thinking</li><li>Cursor is great when I want a second pair of eyes on code</li><li>Copilot catches small bugs and annoying details</li></ul><p>And that’s fine… until it’s not.</p><p>Because now you’re constantly switching.</p><p>You paste context here.<br> Re-explain things there.<br> Try to keep everything in sync in your head.</p><p>At some point you start wondering:</p><ul><li>Why do I keep repeating the same context?</li><li>Why does every tool “forget” everything?</li><li>Why can’t they just… work together?</li></ul><p>for sure with Skills and role now it’s a bit easier but still we don’t have freedom to have a team agent with flexibility.</p><h3>The Moment It Clicked</h3><p>When <a href="https://code.claude.com/docs/en/agent-teams">Anthropic introduced the idea of “team agents</a>”, it made sense immediately. But it also raised a bigger question for me:</p><p><strong>Why should one tool simulate a team… when we already have multiple tools that are actually good at different roles? </strong>and why we should pay 4 times more (as it use a lot of tokens) when we use team agents :D</p><p>Why not: 1. Pick the tools you like -&gt; 2. Assign them roles -&gt; 3. Let them collaborate</p><p>No lock-in. No single provider. No “this model does everything”.</p><p>That’s where the idea of <strong>FlowAI</strong> came from. Not as another AI tool — but as a way to <strong>orchestrate the ones we already use</strong>.</p><h3>The Real Problem Isn’t AI — It’s Coordination</h3><p>AI tools are not the problem anymore.</p><p>They’re fast. They’re capable. Sometimes surprisingly good.</p><p>The real issue is <strong>you are the one doing all the coordination</strong>.</p><p>You are:</p><ul><li>Copy-pasting between tools</li><li>Repeating context</li><li>Deciding who should do what</li><li>Reviewing everything manually</li></ul><p>You’re basically acting as the <strong>project manager for your AI tools</strong>. And that doesn’t scale.</p><h4>What If You Had Real Team Agents?</h4><p>Instead of juggling tools, imagine this setup:</p><ul><li>One agent focuses on planning</li><li>One handles implementation</li><li>One reviews and gives feedback</li><li>They all share the same context</li><li>And they talk to each other without you in the middle</li></ul><p>That’s the core idea behind <a href="https://github.com/weprodev/FlowAI">FlowAI</a>.</p><p>Not “one smarter AI” — but <strong>multiple agents working together with clear roles</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HuEdS1FauOve8f0souUVFQ.png" /><figcaption>FlowAI</figcaption></figure><p>FlowAI sits on top of them and <strong>orchestrates how they work together</strong>.</p><p>Think of it like this:</p><ul><li>Your AI tools = engineers</li><li>FlowAI = the system that organizes the work</li></ul><p>You describe what you want once.</p><p>Then FlowAI handles:</p><ul><li>Planning</li><li>Breaking things into tasks</li><li>Implementation</li><li>Review and feedback loops</li></ul><p>All in one flow.</p><p>In this docs you can see how Agents communicate together:</p><p><a href="https://github.com/weprodev/FlowAI/blob/main/docs/AGENT-COMMUNICATION.md">https://github.com/weprodev/FlowAI/blob/main/docs/AGENT-COMMUNICATION.md</a></p><h3>What Is Spec-Driven Development (and Why It Matters)</h3><p>Before talking about prompts vs specs, let’s simplify one idea: <strong>Spec-Driven Development</strong>.</p><p>At its core, it just means this:</p><blockquote><em>Instead of jumping straight into coding (or prompting AI), you first define </em>what you actually want<em> in a clear, structured way.</em></blockquote><p>That “definition” is your <strong>spec</strong>.</p><p>It doesn’t need to be long or complex. A good spec is usually just:</p><ul><li>What are you building</li><li>Why it exists</li><li>What are the constraints</li><li>What does “done” look like</li></ul><p>Think of it like writing a small blueprint before building anything.</p><p>Most of us still start like this: <em>“Hey, build me X”</em></p><p>And yes — it works for quick experiments.</p><p>But once things get a bit more real, it starts to break.</p><ul><li>The AI guesses too much</li><li>You keep correcting it</li><li>Context gets lost</li><li>You repeat yourself again and again</li></ul><p><strong><em>The problem is simple: a prompt is not a source of truth.</em></strong></p><h4>The Shift: From Prompts to Specs</h4><p>With FlowAI, the idea is simple:</p><p><strong>Don’t start with a prompt. Start with a spec.</strong></p><p>That spec becomes the shared reference for everything that follows.</p><ul><li>The planning agent reads it</li><li>The developer agent follows it</li><li>The reviewer agent checks against it</li></ul><p>Now instead of everyone guessing, everyone is aligned. When all agents work from the same spec:</p><ul><li>The plan actually reflects what you asked for</li><li>The implementation stays focused</li><li>The review becomes meaningful (not random feedback)</li></ul><p>And most importantly:</p><blockquote><em>You stop repeating yourself.</em></blockquote><p>In FlowAI, we follow this approach using <a href="https://github.com/github/spec-kit">GitHub Spec Kit</a>, which provides simple templates to structure these specs in a consistent way. Nothing fancy — just enough structure to avoid confusion later.</p><h3>The “LLM Wiki” Idea</h3><p><a href="https://en.wikipedia.org/wiki/Andrej_Karpathy">Andrej Karpathy</a> shared a really simple but powerful idea:<br>instead of treating your data like a pile of documents to re-read every time…</p><p><strong>build a persistent “</strong><a href="https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f"><strong>LLM wiki</strong></a><strong>”.</strong></p><p>A structured, evolving knowledge base that the AI can rely on.</p><p>Not just raw files, but something organized:</p><ul><li>Concepts</li><li>Relationships</li><li>Important context</li><li>What actually matters</li></ul><p>So instead of rediscovering everything on every prompt, the AI <strong>builds understanding over time</strong>. That’s a big shift.</p><p>FlowAI applies this concept to your codebase using a <strong>knowledge graph</strong>.</p><p>Instead of dumping your entire project into every prompt, it creates a structured map of:</p><ul><li>Files</li><li>Functions</li><li>Dependencies</li><li>Relationships</li></ul><p>So agents don’t “guess” where things are — they know where to look.</p><p>This means:</p><ul><li>Less token usage</li><li>Less noise</li><li>Fewer mistakes</li><li>More relevant output</li></ul><h3>Final Thought</h3><p>We need better ways to <strong>use multiple tools together</strong>. That’s what orchestration is about.</p><p>FlowAI is just one attempt at that:</p><blockquote><em>Build your own team agents, Use the tools you trust, Keep full control</em></blockquote><p>We’re actively improving it, adding new features, and refining how everything works together.</p><p>If this idea resonates with you, feel free to jump in, explore the code, and contribute on GitHub.</p><p><a href="https://github.com/weprodev/FlowAI">https://github.com/weprodev/FlowAI</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc976ab17958" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/build-your-own-team-agents-let-flowai-run-the-show-dc976ab17958">Build Your Own Team Agents — Let FlowAI Run the Show</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Mindset I Wish I Had Understood Much Earlier]]></title>
            <link>https://blog.weprodev.com/the-mindset-i-wish-i-had-understood-much-earlier-c39af0f8466b?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/c39af0f8466b</guid>
            <category><![CDATA[mindset-shift]]></category>
            <category><![CDATA[being-productive]]></category>
            <category><![CDATA[mindset]]></category>
            <category><![CDATA[how-to-be-productive]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Fri, 26 Dec 2025 04:29:57 GMT</pubDate>
            <atom:updated>2026-02-28T06:04:45.357Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ArTGw1w9RRV0u8aNMbGyA.png" /></figure><p>About four years ago, I worked with a colleague who was a chapter lead in our company.</p><p>I always had one question in my mind:</p><p><strong><em>How can he stay so focused and produce such high-quality results?</em></strong></p><p>If a project deadline was one month, I was sure he could finish it in half that time.<br>When I talked to him, he was calm, focused, and very humble.<br>Still, the answer to my question felt like a mystery to me for a long time.</p><p>A few months ago, that mystery finally became clear.</p><p>I truly believe that when you have a deep question in your mind, and <strong><em>you really want the answer, life will guide you to it.</em></strong> I don’t know how it works, but I believe in this energy of the world. And I believe that God guides us to the right path <strong><em>when we are ready to understand</em></strong>.</p><h3>Embrace New Changes in Your Life</h3><p>I am not someone who wants every day to look the same.<br>I want to grow and improve my life every day, every month, and every year.</p><p><strong>If you look at the world, it is always moving forward.</strong><br>The things we have today — like the internet, global communication, modern buildings, and food — were miracles even for kings 100 years ago. <strong>Growth is a rule of this world, and it will continue in the future.</strong><br>If you are a religious person, you can find this idea clearly in God’s words as well.</p><p>A few years ago, I started a volunteer activity to help others. Later, we began building a product together. During that time, I noticed something very important:</p><h4><strong>The way people think can completely change their life.</strong></h4><p>This was the answer I had been searching for all those years.<br>Even now, while writing this article, I can feel it clearly. <strong>Every positive change in my life started from changing my mindset.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qa0Kc816TZfK2GH0uE5psA.png" /><figcaption>The way people think can completely change their life.</figcaption></figure><h3>Not Everyone Is Ready to Listen</h3><p>For several years, I mentored more than 100 junior developers, And I noticed something interesting.</p><p>Some people <strong>do not want to listen</strong>, or simply <strong>cannot understand yet</strong>.<br>It doesn’t mean they are bad or wrong. <strong>It just means they are at a different level of understanding.</strong></p><p>For some people, learning this takes time.<br>Others pay the price by spending two or more years of their life to understand the same lesson. Everyone pays in a different way.</p><p>A few months ago, I changed my approach.<br>I stopped mentoring everyone and started accepting only people who <strong>really want to change</strong>, <strong>listen</strong>, and <strong>take action</strong>.</p><p>This way, we are on the same level, and the results are much better.<br> Some people may think this is selfish, but honestly, I don’t care. I know the reason behind my decisions.</p><h3>Long Story Short</h3><p><strong>If you want to grow, you must first change your mindset.</strong><br><strong>Open your mind, then open your heart.</strong></p><h4><strong>When you take the first step, life responds.</strong><br>Sometimes we call this a “miracle,” but it starts only after <strong>you act first</strong>.</h4><blockquote>In <em>The Alchemist</em>, Paulo Coelho teaches that <strong>when you truly decide to change and follow your purpose, the whole world starts to help you</strong>.<br>The journey only begins <strong>after you take the first step</strong>, even when the path is unclear.<br> What people later call a <em>miracle</em> is simply the result of <strong>listening to your heart, trusting the journey, and acting with courage</strong>.<br> The signs appear <strong>only after commitment</strong>, not before.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1haZY_tlJmBjUJ7tXgTc0A.png" /><figcaption><em>The Alchemist</em>, Paulo Coelho</figcaption></figure><h3>How to Be More Productive and Valuable at Work</h3><p>Now let’s come to the main question:</p><h4><strong>How can I be more productive? What was the mystery?</strong></h4><p>The answer is simple:</p><h4><strong>Everything starts with mindset.</strong></h4><p><strong>The way you think about your work, your responsibility, and your job changes everything.</strong></p><p>If you see your job as just a <strong>9-to-5 task</strong>, your mind already has an alarm set for 5:00 p.m. That alarm stops you from thinking clearly and acting correctly.</p><p>You may say:<br>“Why should I care? Why should I do more?”</p><p>Let me be clear:<br>I am <strong>NOT</strong> saying you should work more than 8 hours.<br>I am saying you should <strong>delete the alarm clock in your head</strong>.</p><p>When it’s time to go home, you will know. Your colleagues will leave. The day will end.<br><strong>But when you remove that mental alarm, your mind becomes free to focus on real work.</strong></p><p><strong>When you are focused, time flies. You don’t even notice it.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lQn05GbESDC8VN02tv9g1g.png" /></figure><h3>Stop Thinking “I Work for Others”</h3><p>Another mindset that limits people is this thought:</p><p><strong>“Why should I care? I work for others.”</strong></p><p>If you think like this, I promise you will never grow.</p><h4>If you want to learn and grow, you must treat your current job as <strong>your own business</strong>.</h4><p>For example, imagine you are almost done with a task, and it takes only 30 more minutes to finish it.<br>Why not finish it properly and then go home?</p><p>Why not work with the mindset of <strong>“GET THINGS DONE!”</strong>, instead of counting hours?</p><h3>A Small Challenge for You</h3><p>I know that 90% of people will disagree with this. And that’s okay 😊</p><p>I don’t want you to believe me. I want you to <strong>try</strong>.</p><h4><strong>Just for one week.</strong></h4><p>Act based on what I shared here.<br>If you see the results, continue and improve it.</p><p>At the end, you will realize something important:</p><h4>You didn’t work more hours.<br>You just had <strong>more productive hours</strong>.</h4><h4>Everything starts with how you think — and how you act.</h4><p>I believe this deeply because I lived it.<br>A few months ago, in just two weeks, I built something that normally takes one person more than one month.</p><p>That was not magic.<br>That was <strong>MINDSET</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c39af0f8466b" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/the-mindset-i-wish-i-had-understood-much-earlier-c39af0f8466b">The Mindset I Wish I Had Understood Much Earlier</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adding Value — A Simple Story About Mindset]]></title>
            <link>https://medium.com/@MichaelAndish/adding-value-a-simple-story-about-mindset-0606cd398455?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/0606cd398455</guid>
            <category><![CDATA[adding-value]]></category>
            <category><![CDATA[ai-revolution]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[mindset]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Sat, 22 Nov 2025 07:00:57 GMT</pubDate>
            <atom:updated>2025-11-22T07:12:22.871Z</atom:updated>
            <content:encoded><![CDATA[<h3>Adding Value — A Simple Story About Mindset</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U67K4Xm1IcAuMFA597c8-g.png" /></figure><p>About four years ago, I received an offer from CM.com to join as a Senior Software Developer. In the email, there was one sentence that stayed in my mind until today:</p><blockquote><strong>“We believe you can add value to our company.”</strong></blockquote><p>At that time, I actually had a higher offer from their competitor. But this message… it was different. It made me feel they cared not only about responsibilities or titles, but also about the <em>influence</em> a person can bring to the company. It made me think:</p><ul><li><strong>How can I add value?</strong></li><li><strong>How can I really become part of something bigger?</strong></li></ul><p>This question stayed with me for years.</p><h3>The Growth Mindset I Carried</h3><p>Besides my full-time job, I was building my own company, <a href="https://weprodev.com/"><strong>WeProDev</strong></a>, where we focus on helping junior developers grow in a practical, real-world way — not academic, not theoretical. We’re also launching our first product soon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J4IhCm8Y_m9YmWQDhFvemA.png" /></figure><p>Because of this mindset of growth, learning, and impact, <strong>I always looked at my job from a different angle. I didn’t want to just <em>work</em>. I wanted to <em>help something grow</em>.</strong></p><p>Then AI arrived and started changing the software industry. It became a revolution, and of course, it also brought a lot of arguments and discussions.</p><p>A few months ago, I shared a screenshot from Mark on <a href="https://app.daily.dev/squads/weprodev"><strong>WeProDev squad</strong></a>, with this title:</p><blockquote><strong>“Make yourself redundant as an engineer.”</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/0*LDTUZKGNNUmJNi2W" /></figure><p>We discussed this idea, and one comment made me think deeply about my whole journey and that old message about <em>adding value</em>.</p><p>Someone replied:</p><blockquote>One of the reasons why I work for companies is job safety and a stable income. I know that these companies will need me to work on projects, maintain existing code and so on. If every N months I had to think “ok I automated everything, i am now redundant”, then working for a company would not make sense anymore.</blockquote><blockquote><strong>If you are THAT adventurous maybe you should go all in and work on your own company</strong></blockquote><blockquote>As developers, we have so much power to create that I would expect this to end with “Create, Innovate, Experiment” instead of “Adapt”</blockquote><p>This comment stayed in my mind for days.</p><h3>Job Safety vs Adding Value</h3><p>I honestly can’t imagine a company fully trusting someone who works <strong>only</strong> for job safety and stable income. And on the other hand — if you can’t add value in your current job, how will you ever build your own company? These two mindsets don’t match.</p><p><strong>A successful company is built by people who try their best, who improve things, <em>who care about outcomes </em>— not by people who only want a safe salary.</strong></p><p>How you think about your job affects everything: your performance, your growth, your life, and even your future opportunities.</p><h3>The Founder Lesson That Changed Everything</h3><p>While building my own product in my free time, I had to pay for licenses, servers, subscriptions, freelancers — money going out every month. And at the end of each month, I had to look at the <em>outcome</em>.</p><p>If the progress was small, it honestly hurt to pay those bills.</p><p>That was the moment I understood something important:</p><h4><strong>If it hurts <em>me</em> to pay for work without real value, why shouldn’t it be the same for a company paying my salary?</strong></h4><p>If someone works only for stable income, AI will replace them easily.<br>AI will always become faster, cheaper, and more knowledgeable.</p><h3>The New World: Be a Pilot, Not a Passenger</h3><p>With the rise of AI, learning deeply and growing your skills is not optional anymore — it’s necessary.</p><h4>You need to become the <strong>pilot</strong>, not the passenger.</h4><p>As developers, we can’t just “write code” anymore. If you only code, AI will do it better.</p><p><strong>You need to think like someone who cares about the <em>product</em>:</strong></p><ul><li>How can I make the product better?</li><li>How can I help the company save money or improve from last month?</li><li>How can I help my teammates?</li><li>How can I become more productive?</li><li>How can I grow in a way that helps the company grow?</li><li>What do I know about our domain, and what challenges can we solve?</li><li>How can I improve transparency and communication inside the team?</li></ul><p><strong>This is where human value lives.</strong><br><strong>This is where you become <em>irreplaceable</em>.</strong></p><h3>Conclusion: Choose Your Mindset</h3><p>Everyone is free to choose how they want to think and live.<br><strong>But the mindset is everything.</strong></p><p>You can use AI to lift yourself up, to grow faster, to do more…<br>or you can stand against it and wait to see who wins.<br>But we all already know the answer.</p><p>It’s difficult for people who have been in software for more than a decade — but that’s why it’s called a <strong>revolution</strong>.</p><p>To grow, to stay powerful, and to be happy in the future:</p><h4><strong>We must accept the new changes.</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0606cd398455" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Psychological Safety Brings Your Team Up!]]></title>
            <link>https://blog.weprodev.com/how-psychological-safety-brings-your-team-up-5bca2185891b?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bca2185891b</guid>
            <category><![CDATA[workplace-safety]]></category>
            <category><![CDATA[safe-environment]]></category>
            <category><![CDATA[great-work-culture]]></category>
            <category><![CDATA[workplace-culture]]></category>
            <category><![CDATA[psychological-safety]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Sat, 14 Jun 2025 14:18:44 GMT</pubDate>
            <atom:updated>2025-06-14T14:49:49.013Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“A team is not just a group of people working together. It’s a group of people who <strong>trust</strong> each other.”<em> — Simon Sinek</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAR05TvFF89BiQVT1FtUyQ.jpeg" /></figure><p><strong>Imagine these situations:</strong></p><ul><li>You’re in a team meeting. Someone asks a simple question — maybe it’s not well-phrased, or maybe it seems too basic. A few people giggle. The questioner goes quiet. Next time, they might not speak up at all.</li><li>You want to ask your team lead something important, but past experiences haunt you. Maybe you asked a similar question once, and it was dismissed. Or maybe your manager’s mood swings make it hard to predict if today is a “good day” to bring things up. So you hold it in.</li></ul><p><strong>Sounds familiar?</strong></p><p>If any of these stories hit close to home, you’re not alone. These are signs of a missing but crucial element in many teams: <strong>psychological safety</strong>.</p><p>After more than a decade of working in the IT industry, across various teams, companies, and cultures — with different management styles — I’ve seen how powerful this concept is. And how damaging it can be when it’s missing.</p><h3>Why Psychological Safety Matters</h3><p>According to <strong>Google’s Project Aristotle</strong>, psychological safety is <em>the most important factor</em> for team success. It even outweighs technical skills or raw talent.</p><p>When team members feel safe to speak up without fear — of being judged, punished, or ignored — they perform better, stay longer, and innovate more. In fact, teams with high psychological safety show:</p><ul><li><strong>22% higher performance</strong></li><li><strong>27% lower turnover</strong></li><li><strong>More innovation and collaboration</strong></li></ul><p>This isn’t just theory. It’s backed by extensive research and real-world results.</p><p><strong>Before continue to read the article, I recommend to see this video:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLhoLuui9gX8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLhoLuui9gX8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLhoLuui9gX8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7e00c6f8a84d2915fc80c16f138cd69/href">https://medium.com/media/e7e00c6f8a84d2915fc80c16f138cd69/href</a></iframe><h3>But What Is Psychological Safety?</h3><p>In simple terms, it’s the belief that you won’t be punished or humiliated for speaking up with ideas, questions, or concerns.</p><p>Google breaks it down into <strong>four key stages</strong>:</p><ol><li><strong>Inclusion Safety</strong> You feel accepted for who you are.</li><li><strong>Learner Safety</strong> You’re free to ask questions, make mistakes, and grow.</li><li><strong>Contributor Safety</strong> Your ideas matter — you’re encouraged to share them.</li><li><strong>Challenger Safety</strong> You can challenge the norm without fear.</li></ol><p><strong>Building these stages doesn’t happen overnight. It’s not like flipping a switch. It takes consistent action, reflection, and a shared mindset.</strong></p><h3>So What Can You Do?</h3><p>If you see those unhealthy patterns in your team — the awkward silences, the passive-aggressive jokes, the mood-driven communication — it’s time to act. But how?</p><p><strong>Let’s be real:</strong> most of the time, <strong>people aren’t aware of how their behavior affects others.</strong> They don’t receive honest feedback — or they’re not open to hearing it.</p><p>This is where <strong>leadership</strong> comes in. Based on Google’s research and insights from leading organizations, here are a few small but powerful steps:</p><h4><strong>Model Vulnerability</strong></h4><p>Leaders should admit mistakes. It’s a signal to others that it’s safe to do the same.</p><h4>Encourage Questions</h4><p>Especially basic ones. Make asking questions a norm, not an exception.</p><h4>Give Feedback with Care</h4><p>Make it a two-way conversation. Offer feedback gently, and invite it for yourself.</p><h4>Celebrate Contributions</h4><p>Recognize small wins, shared ideas, and efforts — not just outcomes.</p><h4>Create Safe Spaces</h4><p>Have open forums for feedback. Use anonymous surveys if needed. Transparency builds trust.</p><h3>A Silent Killer of Safety: When Leaders Talk Behind People’s Backs</h3><p>We often think of psychological safety as being about confidence, speaking up, or team dynamics — but one of the biggest threats is much more subtle:</p><blockquote><strong><em>When a leader talks negatively about someone who isn’t in the room.</em></strong></blockquote><p>It might seem harmless — venting frustrations, sharing opinions, or joking about a teammate — but<strong> this single behavior can quietly destroy trust across the entire team</strong>.</p><p>Imagine this:</p><ul><li>Your team lead privately complains to you about another teammate’s “lack of focus.”</li><li>Or you hear your manager making sarcastic remarks about someone’s work when they’re not present.</li></ul><p>You might laugh nervously, nod, or stay silent. But inside, you’re thinking:</p><blockquote>“If they talk about them like that, what do they say about me when I’m not around?”</blockquote><p>And that thought <strong>sticks</strong>. <strong>It changes how you show up. You become more careful, more guarded — and less open.</strong></p><p>When team members see leaders engaging in gossip, sarcasm, or side comments:</p><ul><li>They stop speaking up.</li><li>They don’t ask “dumb” questions.</li><li>They won’t challenge anything — because they fear being the next target.</li></ul><p>In psychologically safe teams, <strong>issues are discussed directly, respectfully, and constructively — with the people involved</strong>. That’s what builds trust.</p><h4>What Good Leaders Do Instead:</h4><ul><li><strong>Speak directly.</strong> If there’s a concern, address it 1:1 with the person — not behind their back.</li><li><strong>Shut down gossip.</strong> Even if it’s subtle, redirect it. Say, <em>“Let’s talk to them directly”</em> or <em>“I think they’d want to be part of this conversation.”</em></li><li><strong>Be consistent.</strong> Don’t vent downward. Your team isn’t your therapist — they’re looking to you for integrity.</li><li><strong>If someone else gossips, <em>respond respectfully but clearly</em>.</strong><br> You don’t have to confront harshly, but you can set the tone with phrases like:</li></ul><blockquote>“That’s between you two — I don’t want to get in the middle.”<em><br> </em>“Maybe they didn’t mean it that way. Have you had a chance to talk to them?”<em><br> </em>“Let’s assume good intent unless we hear otherwise.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bK6MAQaBAexuWD9C" /></figure><blockquote><strong>A psychologically safe culture isn’t built only by leadership — it’s protected by how we all behave when others aren’t watching.</strong></blockquote><h3>How to Build Psychological Safety in Small, Medium, and Large Companies</h3><p>Creating a safe environment takes intention, not size. Whether you’re in a startup or a large enterprise, the same principle applies: <strong>People need to feel heard, respected, and free to be themselves.</strong> But the way to get there can look very different depending on the company’s scale and structure.</p><h4>In Small Teams or Startups (2–20 people)</h4><p>Smaller teams often move fast, wear many hats, and work closely together. The culture is easier to shape — but it can also quickly go wrong if left unchecked.</p><p><strong><em>What You Can Do:</em></strong></p><ul><li><strong>Talk openly, often.</strong> Daily standups and retros are perfect moments to invite honest feedback.</li><li><strong>Lead by example.</strong> If you’re the founder or manager, admit when you don’t know something. That opens the door for others to do the same.</li><li><strong>Watch your jokes.</strong> In small teams, humor can build bonds — but also hurt if not inclusive. Be mindful, especially in diverse teams.</li><li><strong>Check in regularly.</strong> One-on-one chats go a long way. Ask: <em>“How do you feel in the team?”</em> or <em>“Is there anything stopping you from speaking up?”</em></li></ul><blockquote><em>In small teams, </em><strong><em>every word matters</em></strong><em>, and </em><strong><em>trust is built or broken fast</em></strong><em>.</em></blockquote><h4>In Mid-Sized Companies (20–200 people)</h4><p>Here, teams become more structured. Communication lines grow longer. Some silos may form. It becomes harder to “just talk it out.”</p><p><strong><em>What You Can Do:</em></strong></p><ul><li><strong>Train your managers.</strong> Psychological safety starts with <strong>leadership</strong>. Offer workshops on <strong>active listening</strong>, <strong>giving feedback</strong>, and <strong>leading diverse teams</strong>.</li><li><strong>Create feedback rituals.</strong> Use regular anonymous surveys or feedback boxes. People speak more freely when they feel safe from judgment.</li><li><strong>Celebrate voices.</strong> Publicly appreciate team members who speak up with ideas — even when those ideas don’t lead to action right away.</li><li><strong>Normalize learning.</strong> Host “failure sharing” sessions. Let people talk about what didn’t work, and what they learned.</li></ul><blockquote><em>In mid-sized companies, you’re not just building trust — you’re </em><strong><em>scaling it.</em></strong></blockquote><h4>In Large Companies (200+ people)</h4><p>Psychological safety becomes a<strong> culture-wide mission</strong>, not just a team habit. Without intention, it’s easy for people to feel invisible or afraid to speak.</p><p><strong><em>What You Can Do:</em></strong></p><ul><li><strong>Embed it in leadership.</strong> Train all levels of leadership to recognize behaviors that shut people down (interrupting, dismissing, mocking).</li><li><strong>Use systems to listen.</strong> Pulse surveys, anonymous Q&amp;As, and “skip-level” meetings give employees multiple safe channels to share.</li><li><strong>Make it measurable.</strong> <strong>Include psychological safety questions in team health check-ins and performance metrics.</strong></li><li><strong>Encourage ERGs and safe spaces.</strong> Give people spaces to connect over shared identities or experiences — especially important in global and diverse teams.</li><li><strong>Show consistency.</strong> Leadership must <em>model</em> safety, not just <em>talk</em> about it. Say “I was wrong” publicly. Ask “What do you think?” regularly.</li></ul><blockquote><em>In large organizations, </em><strong><em>psychological safety MUST be part of the system</em></strong><em>, not just the culture.</em></blockquote><h3>Conclusion</h3><p>Psychological safety isn’t a one-time initiative or a checkbox. <strong>It’s a mindset. A practice. And it starts with each of us.</strong></p><p>No matter the company size, ask yourself:</p><ul><li>Do people feel safe to speak up here?</li><li>When was the last time someone challenged an idea — and was thanked for it?</li><li>Have I made it easier for others to share openly?</li></ul><p>We all want to work in teams where we feel safe, respected, and able to grow. Let’s create that space — one meeting, one conversation, one question at a time.</p><h3>References &amp; Further Reading</h3><ol><li><strong>Google re:Work</strong> — <a href="https://rework.withgoogle.com/en/guides/understanding-team-effectiveness">Understand Team Effectiveness</a> <br><a href="https://docs.google.com/document/d/1PsnDMS2emcPLgMLFAQCXZjO7C4j2hJ7znOq_g2Zkjgk/edit?tab=t.0"><strong>Google docs by Google re:Work to take action</strong></a></li></ol><p><strong>2. Project Aristotle</strong> — <a href="https://www.leaderfactor.com/learn/project-aristotle-psychological-safety">Google’s Research on High-Performing Teams</a></p><p><strong>3. Aristotle Performance </strong>— <a href="https://www.aristotleperformance.com/post/project-aristotle-google-s-data-driven-insights-on-high-performing-teams">Google’s Data-Driven Insights on Team Effectiveness</a></p><p><strong>4. PsychSafety</strong> — <a href="https://psychsafety.com/about-psychological-safety">What is Psychological Safety?</a></p><p><strong>5. Jamie Mason Cohen</strong> — <a href="https://www.linkedin.com/posts/jamiemasoncohen_psychological-safety-the-key-to-thriving-activity-7281278098019360768-F05f?utm_source=social_share_send&amp;utm_medium=member_desktop_web&amp;rcm=ACoAAA844RYBiKhlU9xMOqWuBDuVSZq8QeVoRi8">The Key to Thriving Teams</a></p><p><strong>6. Workplace Asia</strong> — <a href="https://www.workplaceasia.com.sg/the-leadership-trends-of-2025-psychological-safety-in-sight">Leadership Trends 2025: Psychological Safety in Sight</a></p><p><strong>7. Leading Sapiens</strong> — <a href="https://www.leadingsapiens.com/project-aristotle/">Google’s Project Aristotle</a></p><p><strong>8. McKinsey &amp; Co</strong>. — <a href="https://www.mckinsey.com/capabilities/people-and-organizational-performance/our-insights/psychological-safety-and-the-critical-role-of-leadership-development">The Critical Role of Leadership Development</a></p><p><strong>9. LeaderFactor</strong> — <a href="https://www.leaderfactor.com/learn/google-and-psychological-safety">Google and Psychological Safety</a></p><p><strong>10. Think with Google</strong> — <a href="https://www.thinkwithgoogle.com/intl/en-emea/future-of-marketing/management-and-culture/five-dynamics-effective-team/)">Five Dynamics of Effective Teams</a></p><p><strong>11. LinkedIn </strong>— <a href="https://www.linkedin.com/pulse/what-google-knows-psychological-safety-most-companies-ramathe-zjevc">What Google Knows About Psychological Safety</a></p><p><strong>12. Harvard Business Review</strong> — <a href="https://hbr.org/2025/05/what-people-get-wrong-about-psychological-safety">What People Get Wrong About Psychological Safety</a></p><p><strong>13. Edstellar</strong> — <a href="https://www.edstellar.com/blog/psychological-safety-at-work">Psychological Safety at Work</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bca2185891b" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/how-psychological-safety-brings-your-team-up-5bca2185891b">How Psychological Safety Brings Your Team Up!</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fostering a Culture of Learning: The Role of Post-Mortem Reports]]></title>
            <link>https://blog.weprodev.com/fostering-a-culture-of-learning-the-role-of-post-mortem-reports-f79f0610abe1?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f79f0610abe1</guid>
            <category><![CDATA[postmortem]]></category>
            <category><![CDATA[postmortem-documentation]]></category>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[soft-skill-development]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Sun, 15 Dec 2024 13:54:51 GMT</pubDate>
            <atom:updated>2024-12-15T13:54:51.157Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Fostering a Culture of Learning: The Role of Post-Mortem Reports" src="https://cdn-images-1.medium.com/max/1024/1*JBVMrcIgNNYkmPvNTiY7gg.png" /></figure><p>A post-mortem report is a <strong>detailed analysis</strong> of a software project or <strong>incident</strong>, conducted <strong>after its completion or occurrence</strong>. It aims to identify the <strong>root causes</strong> of failures, successes, and <strong>lessons learned</strong>. This information is crucial for improving future projects and preventing similar issues.</p><p>By shifting our <strong>focus</strong> from blame to learning, we can foster a <strong>positive team culture</strong> that encourages <strong>growth</strong> and <strong>improvement</strong>.</p><p><em>Blameless post-mortems turn problems into chances to improve. They focus on honest analysis and real solutions, not placing blame.</em></p><h3>3 Scenarios in a Team or Company</h3><p>Let’s imagine 3 scenarios in a team how this culture will impact the outcome</p><h3>Scenario 1: No post-mortem report and individual accountability for mistakes.</h3><figure><img alt="Scenario 1: No post-mortem report and individual accountability for mistakes." src="https://cdn-images-1.medium.com/max/872/1*DBK1Ayb_jtlITC1qlNzh7A.png" /></figure><p>The possible outcomes:</p><ol><li>The team will repeat the same mistakes without learning from past experiences.</li><li>When someone makes a mistake, they may try to hide it to avoid punishment. This can lead to increased errors and decreased trust within the team.</li><li>The team may become inefficient and fail to learn from past mistakes, creating a toxic work environment.</li></ol><h3>Scenario 2: No post-mortem report, BUT collective team responsibility for project outcomes.</h3><figure><img alt="Scenario 2: No post-mortem report, BUT collective team responsibility for project outcomes." src="https://cdn-images-1.medium.com/max/1024/1*31Jsi3X5LSf_YjbUHFGWhA.jpeg" /></figure><p>The possible outcomes:</p><ol><li>The team will repeat the same mistakes without learning from past experiences.</li><li>Lack of knowledge sharing and awareness within the team can lead to repeated mistakes.</li></ol><h3>Scenario 3: Post-mortem reports are conducted, and the team shares responsibility for project outcomes.</h3><figure><img alt="Scenario 3: Post-mortem reports are conducted, and the team shares responsibility for project outcomes." src="https://cdn-images-1.medium.com/max/1024/1*Rv1h_apPVGv3meVUcU7MiA.png" /></figure><p>The actual outcome:</p><ol><li><strong>Understanding and learning</strong>: The team will gain a <strong>clear understanding</strong> of the incident and discuss ways to prevent future occurrences.</li><li><strong>Analyze the impact</strong>: The team can openly discuss the project and identify potential mistakes in a <strong>safe environment</strong>. This helps assess both immediate and long-term consequences.</li><li><strong>Identify root causes: </strong>It’s clear what was the root cause of the incident.</li><li><strong>Optimal Solution Development:</strong> When everyone is aware of the problem and its causes, a collective intelligence is formed that greatly helps in finding the optimal solution.</li><li><strong>Preventing Recurrence:</strong> If the problem is correctly analyzed and addressed, it is less likely to happen again.</li></ol><p>We have talked about post-mortem reports and their importance, but it’s also essential to have a strong team and good soft skills to effectively implement them.</p><p>As we know, when there is a mistake, <strong><em>most people try to find someone to blame</em></strong>, something we’ve seen in history, including government politics.</p><p>I’ll share some <em>personal experiences</em> and lessons learned from previous leaders, which have shaped my understanding of <strong>effective leadership</strong>.</p><h3>Effective Leadership: Treating Your Team Right</h3><p>Several years ago when I was working on a new feature for a product, which had huge data in the database, I made a mistake in the SQL Query and it leaded the product to down for 5 minutes, the feature deployed to production when I was on holiday, the day after when I backed to the company the first re-action of my team lead was: we (PO, and someone in the development team) have an important meeting with you!</p><figure><img alt="we have an important meeting with you!" src="https://cdn-images-1.medium.com/max/1024/1*0ZKOmLNEiX2sbUiSTcGI8Q.png" /></figure><p>During the meeting they explained that we had an incident from the Query that <strong><em>you</em></strong> wrote, next time make sure about your code and be careful, then they showed me some Kibana logs, and the query improvements.</p><figure><img alt="Kibana log" src="https://cdn-images-1.medium.com/max/766/1*92j5N5iqYmNDnigNa9qwvw.png" /></figure><p>Some questions, Do you think:</p><ul><li>Was it a good reaction after the incident?</li><li>How could this situation have been handled more effectively?</li></ul><p><strong>I think the more effective approach would be:</strong></p><ul><li><strong>Draft a Post-Mortem Report:</strong> Someone should draft an initial post-mortem report.</li><li><strong>Team Review: </strong>Share the draft with the team lead and other relevant team members for input and feedback.</li><li><strong>Schedule a Brief Meeting:</strong> Organize a concise meeting (30 minutes maximum) to discuss the incident, lessons learned, and preventive measures.</li><li><strong>Create some action items:</strong> discuss with team, how we can prevent the similar issues, why we didn’t have this issue on Acceptance, etc. did we test the feature properly ?! if not create an action item to improve test cases, etc.</li></ul><h3>How to create a post-mortem report</h3><p>If you are using the <a href="https://www.atlassian.com/incident-management/postmortem/templates">Confluence</a> or <a href="https://www.notion.com/templates/category/post-mortem?srsltid=AfmBOooVhlmKsP3JDm54UR-GNq4ElkARsQYJo8if5mC1Yonpyj6BuqPM">Notion</a>, and other tools for documentation, probably you can find some templates for that, and you just need to make it more relevant for your team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1hXAQ4Enxs-sYbBWGLFS_A.png" /></figure><p>For example, it is the template in Confluence</p><figure><img alt="Post-mortem template on Confluence" src="https://cdn-images-1.medium.com/max/1000/1*_V40zPloxwAVnd32-fSdeg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f79f0610abe1" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/fostering-a-culture-of-learning-the-role-of-post-mortem-reports-f79f0610abe1">Fostering a Culture of Learning: The Role of Post-Mortem Reports</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Convention for Consistent and Semantic Structure]]></title>
            <link>https://blog.weprodev.com/git-convention-for-consistent-and-semantic-structure-c7b0f3ac996c?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7b0f3ac996c</guid>
            <category><![CDATA[git-convention]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 13:59:02 GMT</pubDate>
            <atom:updated>2024-10-13T14:02:38.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keHxC3Z_S7WKMM84tVyjRg.png" /><figcaption>Git Convention for Consistent and Semantic Structure</figcaption></figure><p>As we know, <a href="https://en.wikipedia.org/wiki/Version_control"><strong>version control</strong></a> is essential for efficient software development, but many developers struggle to maintain a consistent and semantic structure because they don’t follow a structure as a reference!</p><p>At our Academy, we’ve established guidelines to help our team and interns create clear, well-organized code repositories. These guidelines will streamline code review, task referencing, and reverting changes.</p><h3>Git Conventions</h3><p>This document outlines our Git workflow guidelines. You’ll find information on branch creation, commit structures, and effective team collaboration.</p><p>Conventional Commits provide a standardized convention for writing commit messages. The primary aim is to establish a <strong>consistent</strong> and <strong>semantic structure</strong> that is easily interpretable by humans and machines.</p><h3>Basic Rules</h3><ul><li>The Github account was integrated with <a href="https://www.atlassian.com/software/jira"><strong>Jira platform</strong></a>.</li><li>There are two main branches: <strong>develop</strong> (staging) and <strong>master</strong> (production)</li><li>All of the pull requests must be merged to develop first, then after testing on staging we’ll deploy on production (master branch)</li><li>For each user story or task, you should create a new branch which begins with the ID of the user story or task:</li></ul><pre>[TICKET-ID]-[CLEAR-NAME]<br><br>#example<br>BC1–37-create-sticky-navbar<br>BC1–42-jwt-configuration</pre><ul><li>We follow the <a href="https://www.openriskmanual.org/wiki/Four_Eyes_Principle"><strong>four-eyes principle</strong></a>; each pull request should be reviewed by two developers.</li><li>All the commit messages, will begin with task/user story ID. like this “TICKET-ID-TYPE: clear and good commit message”, <br>for example: “BC1–07-feat: Add user authentication page”</li><li>All changes, or new features must be tracked with ticket.</li></ul><h3>Atomic Commits</h3><p>Three features a commit needs to have to be atomic</p><p>1. <strong>Single, irreducible unit</strong>: Every commit pertains to one fix or feature.<br>2. <strong>Everything works</strong>: Don’t break the build on any commit.<br>3. <strong>Clear and concise</strong>: Purpose is clear from commit message and description.</p><h3>Commit Types</h3><ul><li><strong>feat</strong>: A new feature, It might involve adding a significant functionality or capability to the project.</li><li><strong>fix</strong>: A bug fix, It helps distinguish bug fixes from other changes in the version history.</li><li><strong>style</strong>: Non-functional code changes (e.g., formatting)</li><li><strong>test</strong>: Adding or modifying tests</li><li><strong>docs</strong>: Documentation changes, These changes could include updating README files, adding comments, or improving inline documentation.</li><li><strong>refactor</strong>: These changes could involve optimizing algorithms, restructuring directories, or improving code readability.</li><li><strong>perf</strong>: Performance improvements</li><li><strong>build</strong>: Changes affecting the build system or dependencies</li><li><strong>ci</strong>: Changes to continuous integration/configuration</li><li><strong>revert</strong>: Reverting a previous commit</li><li><strong>chore</strong>: Routine tasks, such as dependency updates. refers to routine tasks and maintenance activities that do not directly affect the source code. These tasks are essential for the upkeep of the project. for example:</li></ul><ol><li>“update npm dependencies to latest versions”</li><li>“bump lodash from 4.17.20 to 4.17.21”</li><li>“update ESLint configuration to extend Airbnb style guide”</li><li>“add pre-commit hook using Husky”</li><li>“update build script to include source maps”</li><li>“update Webpack to version 5”</li><li>“migrate documentation from Jekyll to Hugo”</li><li>“delete unused images from assets folder”</li><li>“add environment variables to .env.example”</li><li>“update project license to MIT”</li><li>…</li></ol><h3>Characteristics of a Good Commit</h3><p>In Git, a commit is referring to the state of your code at one specific point in time. Commits are used for saving progression, stating changes and merging developed pieces with others work.</p><ol><li><strong>Atomic and focused<br></strong>It has to represent one and only one logical change. Do not mix several independent changes in one commit.</li></ol><pre># Good commit<br>git commit -m &quot;BC1–32-feat: Add user authentication&quot;<br><br># Bad commit<br>git commit -m &quot;BC1–32-feat: Add user authentication and update UI styles&quot;</pre><p><strong>2. Descriptive Commit Message<br></strong>Clearly explains what the commit does and why the change was made.</p><pre># Good commit message<br>git commit -m &quot;BC1–07-fix: Fix Correct null pointer exception in user login&quot;<br><br># Bad commit message<br>git commit -m &quot;BC1–07-fix: Fix bug&quot;</pre><p><strong>3. Follow Conventional Commit Guidelines<br></strong>Use the standard commit guidelines to keep your git history clean, consistent and easy to read.</p><pre># Good commit message following conventional guidelines<br>git commit -m &quot;BC1–356-feat: add JWT-based authentication&quot;<br>git commit -m &quot;BC1–334-fix: resolve race condition in login flow&quot;<br><br># Bad commit<br>git commit -m &quot;BC1–356: add JWT-based authentication&quot;<br>git commit -m &quot;fix: resolve race condition in login flow&quot;</pre><p><strong>4. Properly Scoped<br></strong>Avoid partial changes that might leave the codebase in an inconsistent state.</p><pre># Good commit with proper scope<br>git commit -m &quot;BC2–234-refactor: split auth logic into separate module&quot;<br><br># Bad commit with mixed scope<br>git commit -m &quot;BC2–234-refactor: refactor and minor fixes&quot;</pre><p><strong>5. Clarity, and NOT Vague or Misleading Messages<br></strong>Commit messages that are vague or misleading do not provide useful information about the changes.</p><pre># Good commit message<br>git commit -m &quot;BC1–234-chore: delete unused images from assets folder&quot;<br><br># Bad commit message<br>git commit -m &quot;clean some Stuff&quot;</pre><p><strong>6. Related to the changes<br></strong>Combining unrelated changes into a single commit makes it difficult to isolate specific changes, potentially introducing bugs and complicating the review process.</p><pre># Good commit<br>git commit -m &quot;BC2–32-fix: Fix loading captcha in login page&quot;<br><br># Bad commit<br>git commit -m &quot;Update readme and fix login issue&quot;</pre><h3>References</h3><ul><li><a href="https://github.com/weprodev/Academy/blob/master/english/code-conventions/git.md">Git Conventions — WeProDev Repository</a></li><li><a href="https://www.pauline-vos.nl/atomic-commits/">Atomic commits will help you git legit</a></li><li><a href="https://dev.to/sheraz4194/good-commit-vs-bad-commit-best-practices-for-git-1plc">Good Commit VS Bad Commit: Best Practices for Git</a></li><li><a href="https://angelo.dini.dev/blog/conventional-commits">Conventional Commits</a></li><li><a href="https://dev.to/danywalls/how-to-improve-your-git-commit-messages-using-conventional-commits-49f5">How To Improve Your Git Commit Messages Using Conventional Commits</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7b0f3ac996c" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/git-convention-for-consistent-and-semantic-structure-c7b0f3ac996c">Git Convention for Consistent and Semantic Structure</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Brag Documents Boost Your Career & Life!!!]]></title>
            <link>https://medium.com/@MichaelAndish/how-brag-documents-boost-your-career-life-ee24c3ba02c4?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee24c3ba02c4</guid>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[brag-document]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Thu, 13 Jun 2024 06:01:28 GMT</pubDate>
            <atom:updated>2024-06-13T06:01:28.250Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*Xbgc5xXw6B8Ylu7UImmsaA.png" /></figure><p>In the previous article, I just mentioned a main takeaway about career growth:</p><blockquote><strong>Become Your Own Cheerleader:</strong> <strong><em>Track accomplishments</em></strong> using a <strong>brag document</strong>!</blockquote><p>But what is the meaning of brag documents? Actually, it’s not bragging; it’s celebrating <strong>YOU</strong>!</p><p>Ever stumble upon an old document you wrote years ago, filled with forgotten goals? That’s the power of setting writing goals in action! and I’m sure you already achieved all or most of them. Haven&#39;t you tried it? Start now and witness your growth unfold.</p><p>Think about a personal growth engine propelling you forward. Want to ignite that engine? We all need a boost to stay motivated, and brag documents are the secret weapon! They’re not just for work; use them to track your triumphs across all of life’s journeys.</p><h3><strong>The benefits of writing brag docs?!</strong></h3><ul><li><strong><em>Track</em></strong> your wins with a brag document</li><li><strong>Build confidence:</strong> See all you’ve achieved—big wins or small steps!</li><li><strong>Easy performance reviews:</strong> no more scrambling to remember accomplishments.</li><li><strong>Job interview ready:</strong> brag documents help craft amazing resumes and interview stories.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sy3fGN0yKQ2BBbBDdvsyfw.jpeg" /></figure><h3>How do I write brag documents?</h3><p><strong>Here’s how:</strong> Create a document and simply jot down your wins—projects, skills mastered, and challenges overcome.</p><p>It’s your personal hype machine to keep you motivated and career-ready!</p><p>And also, you can mix it with your weekly review of your tasks and work like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*11cqifEnaUr2nVy5y9isYw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee24c3ba02c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Level Up as a Senior Engineer]]></title>
            <link>https://medium.com/@MichaelAndish/how-to-level-up-as-a-senior-engineer-01a0cd6d14c6?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/01a0cd6d14c6</guid>
            <category><![CDATA[leadership-development]]></category>
            <category><![CDATA[senior-software-engineer]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[company-culture]]></category>
            <category><![CDATA[growth]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Tue, 04 Jun 2024 17:39:16 GMT</pubDate>
            <atom:updated>2024-06-10T20:30:31.194Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Hd3IVMjKmvRyt9d" /></figure><p>I just finished a nice article by Jordan Cutler, and it hammered home some key strategies for fast-tracking your career: ​</p><h3><strong>Top Takeaways</strong></h3><ul><li><strong>Mentorship Magic:</strong> Combine <strong>hard work</strong> with a strong <strong>mentor</strong> for exponential growth.</li><li><strong>Become Your Own Cheerleader:</strong> <strong><em>Track accomplishments</em></strong> using a brag document!</li></ul><p>This part emphasizes the importance of advocating for yourself and your accomplishments. Traditionally, someone else might “cheerlead” for you by highlighting your achievements. In this context, you’re taking ownership by documenting your successes yourself. ​</p><h3><strong>Actionable </strong>GrowthPlan<strong>:</strong> ​</h3><ul><li><strong>Weekly or biweekly 1:1s:</strong> Set clear goals, discuss challenges, and track progress.</li><li><strong>Develop a Growth Mindset:</strong> Identify your ideal future and create a roadmap to get there.</li><li><strong>• Focus on Impact:</strong> Document achievements that showcase your value to the company. ​ In a company that truly supports growth, discussing promotion with your manager should be a breeze. It should be part of the culture! This article also emphasized the importance of a supportive company culture. ​</li></ul><h3><strong>Here’s what that might look like:</strong></h3><ul><li><strong>Collaborative Mentorship:</strong> Managers who actively help employees grow.</li><li><strong>Clear Promotion Criteria:</strong> Transparent expectations for reaching the next level.</li><li><strong>Open Communication:</strong> Regular discussions about career goals and development.</li></ul><p>After writing this article, I saw a nice tweet from Justin Cardillo so just came to update the article to make it even better :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J2_NtMNCvDk2nIg6S-_M0g.png" /></figure><h3>Why We Should Care About Growth Plans: The Key to Engaged and Retained Employees</h3><p><strong>Best strategy to engage, retain, and grow employees? Turn your managers into coaches, and do it ASAP!</strong> Here’s why it works:</p><p>Cameron Adams, co-founder and CPO, explains how everyone at Canva has a coach dedicated to honing their skills and guiding their career growth. This innovative approach fosters a unique team culture that prioritizes personal development and collective success. But why exactly is a focus on growth plans so crucial?</p><p><strong>Personalized Growth and a Culture of Learning:</strong> A scalable coaching program, with managers acting as personal coaches, ensures every employee has a plan for growth. This personalized attention goes beyond basic training, focusing on individual skill enhancement and career progression. It fosters a culture of continuous learning and development, keeping employees engaged and motivated.</p><p><strong>Developing Future Leaders and Maintaining Cultural Fit:</strong> Coaches don’t just focus on current skills, they also identify future potential. This helps employees recognize opportunities for new challenges and advancement within the company. Promoting from within, nurtured by a strong coaching program, builds a company culture with strong cohesion. Leaders developed through coaching programs understand and embody the company’s values and vision, creating a more unified and successful team.</p><p><strong>Reference:</strong> <a href="https://read.highgrowthengineer.com/p/my-mentee-went-from-junior-senior">https://read.highgrowthengineer.com/p/my-mentee-went-from-junior-senior</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01a0cd6d14c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EBI Software Architecture]]></title>
            <link>https://blog.weprodev.com/ebi-software-architecture-7310b80d82e2?source=rss-5cb0e10e79fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/7310b80d82e2</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[ebi]]></category>
            <category><![CDATA[ebi-software-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Michael Andish]]></dc:creator>
            <pubDate>Sat, 01 Jun 2024 09:34:09 GMT</pubDate>
            <atom:updated>2024-06-01T09:34:09.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mTfWpd2zy_OB2R8vft_blw.png" /><figcaption>EBI Software Architecture</figcaption></figure><p>This article is a kind of POC to find out what EBI architecture is, how we can use it, etc. so I have tried to read and find good sources about EBI Architecture and share them here with you. so let’s talk about it <strong>🙂</strong></p><p>In the history of software architecture, all the mindsets, methodologies, perspectives, and ideas were developed to create a platform or software that is flexible, scalable, and cost-effective to develop. It’s difficult to build everything from scratch again, which is what most companies avoid doing.</p><p>By using EBI architecture, the structure becomes cleaner and more flexible. By doing this, each entity is no longer dependent on the other. Let’s go through how it works.</p><blockquote>EBI is a modern application architecture. Its goal is to separate business logic from presentation logic. With an EBI architecture, by creating different delivery mechanisms, the same business logic can be used on many platforms.</blockquote><p><strong>Marko Malinen</strong> has a very good thesis about Using EBI Patterns in Conjunction with Service-Oriented Architectures, and he focused on evaluating the quality of the architecture resulting from the combination of EBI and SOA patterns.</p><p><strong>SOA</strong> provides constraints and guidelines on <strong>how the services should be orchestrated</strong>, whereas <strong>EBI</strong> provides guidelines and constraints on how the <strong>system should be split into modules in order to keep it maintainable</strong> and testable.</p><h3>The Clean Architecture</h3><p>Before talking about EBI, let’s talk about clean architecture, which is very important. This term is used by <strong>Robert C. Martin</strong> in his talks and writings concerning software architectures. It refers to an architecture that follows the rule that makes these architectures work: <strong><em>the dependency rule.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i-ympSpjvIfUX4eo7ZBjpg.png" /><figcaption>The Clean Architecture (Martin 2012)</figcaption></figure><p>The <strong>boundaries</strong> between the layers should be crossed in such a way that the dependency rule is not violated. This means that the<strong> <em>inner layers are not allowed to direct calls into the upper layers.</em></strong> That is to say, the source code dependencies should always point inward.</p><p>The workflow arrow shows how the controller in the interface adapters layer communicates with the use case interactor in the use cases layer.</p><p>Then the use case interactor communicates with the presenter of the interface adapters layer. <strong>The use-case interactor has no dependencies on the interface adapters</strong>. <strong><em>This is achieved by using the dependency inversion principle (DIP)</em></strong></p><ol><li>High-level modules should not depend on low-level modules. Both should depend on abstractions.</li><li>Abstractions should not depend on details. Details should depend on abstractions.</li></ol><p>As you can see in the figure below, when the interactor needs to communicate with the presenter, instead of making a direct call to the concrete presenter class, the interactor calls something that implements the use case output port interface. The dependency rule is not violated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*9VDRsYNF2yR14Z3xhflXdQ.png" /></figure><p>The important thing is that the <strong>entities are not passed across the boundaries</strong> as such. This would violate the dependency rule. Outer circles should pass data in the form that is most convenient for the inner circle.</p><h3>Principles of EBI</h3><p>The software that is built according to the EBI patterns consists of three basic elements: <strong>Entities</strong>, <strong>Boundaries</strong>, and <strong>Interactors</strong>.</p><p>Interactors are objects that are invoked when a user uses the software. In other words, they implement use cases. This is called use-case-driven design. The whole system is controlled from what the user wish to do with it. If the functionality of the software system requires changes, that is, the use case changes, the developers see directly which interactor needs to be changed.</p><p>The essential parts or building blocks of the EBI pattern are presented in the following list:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nOO5SLeW9i7fHvy3xuq9qA.png" /><figcaption>EBI pattern</figcaption></figure><p><strong><em>Entity:</em> </strong>Entities represent business objects that have application independent business rules. This means that no matter where they exist, they always encapsulate the same business rules. All the application-agnostic business rules should be located within the entities.</p><p><strong><em>Interactor:</em></strong> manipulate entities. Their job is to accept requests through the boundaries and manipulate the application state. Interactors are the business logic layer of the application; interactors act on requests and decide what to do with them. Interactors know of request and response models called DTOs (data transfer objects). Interactors are concrete implementations of boundaries.</p><p><strong><em>Boundaries:</em></strong> are the link to the outside world. As you see in the above figure, the request boundary is an access point to services that the interactor implements. Whereas the response boundary is the interactor’s way to send the possible results of the request that was made. The third boundary is the Entity gateway . It is an access point to the system that stores entities.</p><p><strong>In clean architecture, these boundaries represent the boundary between the interface adapter layer and the use case layer. These boundaries enable compliance with the DIP.</strong></p><p>A boundary can implement functionality for processing data for a graphical user interface or a web API. Boundaries are functional in nature; they accept data requests and produce responses as a result. <strong>These abstractions are concretely implemented by interactors.</strong></p><p>A <strong>delivery mechanism</strong> is something that delivers requests to the application and takes response messages from the application. For instance, it can be a web framework, a desktop application, or a testing framework.</p><blockquote>The top-level architecture should reflect the intent of the application or</blockquote><blockquote>as Martin says the <strong>architecture should “scream” its intent</strong>.</blockquote><p>The interactor should be named according to the use case it implements (Martin). For example, if the use case is called ‘List customers&#39;, the interactor class that implements this use case should be called ListCustomers or equivalent. The use-case-driven design makes the architecture more traceable in situations where the architecture requires changes.</p><p>By decoupling the application from external agencies, the architect can defer decisions such as what framework or database should be used. In the EBI pattern, all dependencies point inward, meaning the application has no external dependencies. This gives flexibility to the architecture. It will also make the application easier to test.</p><h3>How does EBI architecture differ from MVC?</h3><ul><li>The EBI architecture means that the business logic of the application is designed to be platform-agnostic of its delivery mechanism. The business logic parts, interactions, and entities do not know in which medium they’re being accessed. It could be from a web server, a unit test, or a GUI application.</li><li>In MVC, there is always a dependency on the delivery mechanism. No matter how hard you try, you cannot tear the controllers out of the web world.</li></ul><p>As Herberto Graca mentioned:</p><blockquote>The same way in the MVC pattern the Model represents the whole back-end, all the entities, services and their relations, the EBI pattern sees the Boundary as one complete connection to the outside world and not just a view, a controller or an interface (the language construct). The Boundary represents the whole presentation layer, which in MVC corresponds to the View and the Controller. The Entity in EBI stands for actual Entities who hold data and their associated behaviour, while the Interactor objects make the connection between the presentation layer and the entities; they are what I would call Application Services and Domain Services.<br>The EBI pattern is to the back-end what MVC is to the front-end. They are not an alternative to each other; they are complementary. If we put them together in a single pattern, we could call it something like View-Controller-Interactor-Entity.</blockquote><h3>Implementation of EBI</h3><p>Marko Malinen, in his thesis, tried to describe how we can implement the EBI architecture.</p><p>The figure shows how interactors and entities can be hidden behind the boundaries. The delivery mechanism uses a request<br>boundary that is implemented by the interactor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vxlm-IhR7RdmrsZmUP5wZQ.png" /><figcaption>Implementation of EBI</figcaption></figure><ul><li>The response boundary is implemented by the delivery mechanism. The delivery mechanism depends on boundaries, but nothing in the core system depends on the delivery mechanism.</li><li>The interactor uses the entity gateway to access preserved data from some system that implements the entity gateway boundary. (same as response boundary)</li><li>The application itself is completely decoupled from the implementations of the request and gateway boundaries.</li></ul><p>There are two kinds of messaging boundaries in the EBI pattern: request boundaries and response boundaries.</p><p>The <strong>request boundary</strong> is an interface that hides the actual implementation of the interactor from the delivery mechanism. The request message or model itself can be, for example, some kind of simple data structure. It should not contain any logic, and its only purpose is to store necessary data so that interactors can reason out the meaning of the message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAG2Wd5xlVETr9ukm4Y71g.png" /><figcaption>The <strong>request boundary</strong></figcaption></figure><p>The <strong>response boundary</strong> is an interface through which the interactor can interact with the delivery mechanism. The interactor sends<br>all the response messages through the response boundary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uu0BGsm7a4O1xCUHnQw6Gg.png" /><figcaption>The <strong>response boundary</strong></figcaption></figure><p>And now it’s a good time to talk about code-level implementation. The below code-level structure was created by Antoine Kalmbach, and he describes it as follows:</p><p>It is good practice to separate the EBI architecture itself into five different layers. These layers correspond to namespaces or packages in your language of choice:</p><ul><li><strong>The Host layer:</strong> implements a physical manifestation of the API, e.g., a web server</li><li><strong>The API layer</strong> is the interface to the program itself, which accepts input and translates it into DTOs, passing them to</li><li><strong>The service layer</strong> contains boundaries and response and request models.</li></ul><p>The service layer is the common language of the application architecture. When the API and core speak to each other, they do so via an abstract boundary. They use DTOs (data transfer objects), simple structures of data, for communication.<br><strong>DTOs</strong> have no business logic. Think of them as language constructs around simple requests that are not dependent on any protocol.</p><ul><li>The <strong>core layer</strong> contains a concrete implementation of the service layer. The core layer contains actual business logic.</li></ul><ol><li><strong><em>Interactors</em></strong> that implement boundaries form the core business logic of the application. Interactors contain rich business logic. They can manipulate entities and they implement boundaries.</li><li><strong><em>Entities</em></strong> that represent the data models of the program. Entities are completely invisible to the outside layers. The interactors know about them. Entities contain business logic.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*waitTCXQ12SDoRDjBhoM-A.png" /></figure><p>Thus, when a program is constructed, the API is built top-down using dependency injection. The host layer is the one doing the DI of the concrete interactors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*6iRUEBbafQrCC9Y4kYoiEQ.png" /></figure><p><strong>The interactors do not know what protocol their requests come from or are sent to, and the API doesn’t know what sort of interactor implements the service boundary.</strong></p><p>According to the<strong> Single Responsibility Principle</strong>, an interactor should <strong>only do one thing. They should operate only one aspect of the business logic.</strong></p><p><strong>References &amp; Other sources:</strong></p><ul><li><a href="https://jyx.jyu.fi/bitstream/handle/123456789/41024/URN:NBN:fi:jyu-201303071297.pdf?sequence=1">Using EBI Pattern in Conjunction with Service-Oriented Architectures</a></li><li><a href="https://ebi.readthedocs.io/en/latest/">Entity — Boundary — Interactor</a></li><li><a href="https://herbertograca.com/2017/08/24/ebi-architecture/">EBI Architecture</a></li><li><a href="https://blog.cleancoder.com/uncle-bob/2011/09/30/Screaming-Architecture.html">Screaming Architecture</a></li><li><a href="https://ebi.readthedocs.io/en/latest/structuring.html">Structuring Applications</a></li></ul><p><strong>P.S: </strong>Entity-Boundary-Interactor (EBI) pattern is inspired by Robert C. Martin’s speech. The EBI is based on the ideas of Ivar<br>Jacobson that he presented in his book ‘Object-Oriented Softwar e Engineering: A Use Case Driven Approach ’ (Jacobson<br>1992)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7310b80d82e2" width="1" height="1" alt=""><hr><p><a href="https://blog.weprodev.com/ebi-software-architecture-7310b80d82e2">EBI Software Architecture</a> was originally published in <a href="https://blog.weprodev.com/">WeProDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>