<?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 Shahram Foroozan on Medium]]></title>
        <description><![CDATA[Stories by Shahram Foroozan on Medium]]></description>
        <link>https://medium.com/@shahram.soft?source=rss-a8f68db3f20b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*iFixqhsLBM6_aDAz.jpg</url>
            <title>Stories by Shahram Foroozan on Medium</title>
            <link>https://medium.com/@shahram.soft?source=rss-a8f68db3f20b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:15:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shahram.soft/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[The Art and Science of Task Estimation: From Epics to Accurate Delivery]]></title>
            <link>https://medium.com/@shahram.soft/the-art-and-science-of-task-estimation-from-epics-to-accurate-delivery-a1950010a66c?source=rss-a8f68db3f20b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1950010a66c</guid>
            <dc:creator><![CDATA[Shahram Foroozan]]></dc:creator>
            <pubDate>Wed, 05 Nov 2025 12:58:44 GMT</pubDate>
            <atom:updated>2025-11-05T12:58:44.379Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Shahram Foroozan, CTO at Aspedan.dev</em></p><p>We’ve all been there: the project that was supposed to “take a few weeks” somehow turned into two months of overwork, shifting priorities, and creeping deadlines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAncsTaxWRu04yeVGQB13Q.png" /></figure><p>Task estimation is one of the most misunderstood parts of software delivery. Many teams treat it as a guessing game or an afterthought, when in fact, it’s a skill ,a learnable discipline that sits at the heart of predictable execution.</p><p>At Aspedan, we’ve refined our estimation process through trial, error, and continuous improvement. The goal isn’t perfection ,it’s <em>predictability</em>. In this post, I’ll share the practical framework we use to break down large initiatives, generate realistic estimates, and improve accuracy over time.</p><h3>1. Start with the Epic ,but Don’t Estimate It Yet</h3><p>Every major project starts with an <em>epic</em>: a large goal that sounds inspiring but hides layers of complexity.<br> For example:</p><blockquote><em>“Build an AI-driven onboarding dashboard for new users.”</em></blockquote><p>Sounds simple enough ,until you uncover that it involves authentication, data pipelines, third-party integrations, analytics, and UX flows.</p><p>The first and most common mistake is trying to estimate an epic directly. It’s like trying to guess how long it will take to “build a house” without specifying rooms, materials, or the team size.</p><h3>Instead, apply progressive decomposition.</h3><p>Break down your epic step by step:</p><ol><li><strong>Epic → Features</strong> (e.g., “User login”, “Dashboard analytics”, “Notification system”)</li><li><strong>Features → Stories</strong> (e.g., “As a new user, I can log in with Google”)</li><li><strong>Stories → Tasks</strong> (e.g., “Implement Google OAuth”, “Add frontend validation”, “Write tests”)</li></ol><p>Your goal is to reach a level of granularity where each task can be completed by one person in <strong>1 to 3 days</strong>.<br> If a task exceeds that range, break it again. Small, well-defined tasks are not just easier to estimate ,they’re also easier to delegate, track, and test.</p><h3>2. Estimate Relatively Before You Estimate Absolutely</h3><p>Once your epic is broken into manageable tasks, resist the urge to jump straight into hours or days.<br> Humans are bad at <em>absolute</em> estimation but surprisingly good at <em>relative</em> comparison.</p><h3>Start with relative estimation:</h3><p>Assign each task a size based on effort, not time:</p><ul><li>XS — trivial (setup, typo fix)</li><li>S — small (a simple API endpoint)</li><li>M — moderate (new component or logic flow)</li><li>L — large (cross-service integration)</li><li>XL — too big; split it further</li></ul><p>Teams can use <em>story points</em>, <em>T-shirt sizes</em>, or any equivalent scale. The point is consistency, each size should reflect a shared understanding of complexity.</p><h3>Then, calibrate to time.</h3><p>Once you collect a few sprints’ worth of data, you’ll start to see patterns:</p><ul><li>S ≈ 0.5 day</li><li>M ≈ 1 day</li><li>L ≈ 2–3 days</li></ul><p>This mapping is your <strong>estimation velocity baseline</strong>. It allows you to translate relative effort into time based planning without losing realism. The longer your team works together, the more accurate this calibration becomes.</p><h3>3. Account for Uncertainty and Transparently</h3><p>Even the best breakdowns can’t predict everything. Dependencies, feedback loops, and unknowns always appear.<br> That’s why great estimation includes <em>explicit uncertainty</em>.</p><h3>Add buffers with intention.</h3><p>Instead of padding every task silently, create transparent buffers:</p><ul><li>Add <strong>15 to 25%</strong> of time for reviews, QA, and integration.</li><li>Include <strong>“spike tasks”</strong> for research and unknowns (e.g., “Explore authentication options for 0.5 day”).</li><li>Track dependencies (e.g., “waiting for design approval” or “blocked by external API”).</li></ul><p>This approach doesn’t inflate the schedule. It makes the <em>risk visible</em>.<br> Transparency builds trust both within the team and with stakeholders.</p><h3>4. Use the Feedback Loop, The Real Secret to Accuracy</h3><p>Most estimation systems fail because they stop at planning.<br> To truly improve, you must <strong>measure, compare, and learn</strong> after each cycle.</p><h3>After every sprint or milestone, review (Retrospective meeting):</h3><ul><li>Which tasks took longer than estimated and why?</li><li>Were delays caused by technical unknowns, unclear requirements, or context switching?</li><li>Did we miss communication steps (like testing, reviews, or deployment prep)?</li></ul><p>Turn these into learning rules. For example:</p><ul><li>“Code reviews typically add 1 day.”</li><li>“Cross-team tasks need a 25% coordination buffer.”</li><li>“Design changes usually add 0.5 day per affected feature.”</li></ul><p>By capturing and applying these learnings, your team’s estimation accuracy compounds.<br> Over a few months, variance between estimated and actual time naturally tightens , not because you “guessed better,” but because you <em>learned smarter.</em></p><h3>5. Keep Estimation Collaborative</h3><p>Estimation shouldn’t be a solo exercise done by a project manager behind a spreadsheet.<br> The most reliable estimates come from the people actually doing the work.</p><p>At Aspedan, we run short <strong>team estimation sessions(Planning)</strong>:</p><ul><li>Each contributor shares their estimate for a task.</li><li>When opinions differ, we discuss why those conversations uncover hidden risks.</li><li>Once aligned, the team commits to the estimate together.</li></ul><p>This approach builds ownership and reduces over optimism. When people participate in shaping the plan, they’re more likely to meet it.</p><h3>6. Leverage Azure DevOps for Data Driven Estimation</h3><p>Tools should <em>enhance clarity</em>, not add complexity. At Aspedan, we rely on <strong>Azure DevOps</strong> as our single source of truth for project tracking and estimation accuracy.</p><p>We use <strong>Original Estimate</strong>, <strong>Completed Work</strong>, and <strong>Remaining Work</strong> fields consistently across every task. Over time, this provides a reliable baseline for comparing how close our planned efforts align with actual delivery.</p><h3>Our approach in Azure DevOps:</h3><ul><li><strong>Break down work items</strong>: We maintain a clear hierarchy — Epics → Features → User Stories → Tasks — to preserve traceability from strategy to execution.</li><li><strong>Estimate every task</strong> using <em>Original Estimate</em> (in hours or days), and keep it realistic.</li><li><strong>Log actual progress</strong> under <em>Completed Work</em> and <em>Remaining Work</em> fields, not just at the end but continuously as work progresses.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f1r9o-yx_WKhCTTl-wT15g.png" /></figure><p><strong>Use dashboards and widgets</strong> to visualize trends, including:</p><ul><li>Sprint burndown and velocity charts</li><li>Cumulative flow diagrams</li><li>Work by state and work item type</li><li>Historical variance between <em>Estimated vs. Completed</em></li></ul><p>These metrics reveal where the team tends to over, or under estimate. For example, if feature related tasks consistently exceed estimates while bug fixes stay accurate, we can adjust our baseline accordingly.</p><p>By combining this structured tracking with regular retrospectives, we’ve built an internal feedback loop that continuously sharpens our estimation accuracy. Azure DevOps gives us both the <strong>visibility</strong> and <strong>data integrity</strong> needed to improve objectively, not intuitively.</p><h3>7. Remember: Estimation Is About Trust, Not Control</h3><p>The ultimate goal of estimation isn’t to predict every detail , it’s to <em>build confidence</em>.<br> When your estimates are consistent and transparent, you create predictability that enables better business decisions.<br> Stakeholders don’t need perfection , they need reliability.</p><p>At Aspedan, we treat estimates as <strong>decision tools</strong>, not commitments.<br> They help us:</p><ul><li>Plan capacity realistically</li><li>Communicate trade-offs early</li><li>Identify risks before they become problems</li></ul><h3>Conclusion : Be Less Wrong Each Time</h3><p>Perfect estimation doesn’t exist. What does exist is a process of <em>continuous calibration</em>.<br> By breaking down epics, estimating relatively, embracing uncertainty, and reviewing outcomes, you’ll build a team that consistently delivers with precision and confidence.</p><p>The real power of estimation lies not in predicting the future, but in learning from the past.<br> Each project gives you another data point, another insight, another opportunity to be less wrong next time.</p><p>And over time, that’s how teams evolve from guesswork to mastery.</p><p>If you found this useful and want to exchange ideas about estimation, velocity, or agile practices, feel free to connect with me at <a href="https://aspedan.dev/">Aspedan.dev</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1950010a66c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopify Summer 2025: A New Horizon for Developers]]></title>
            <link>https://medium.com/aspedan-dev/shopify-summer-2025-a-new-horizon-for-developers-0ac80d688bda?source=rss-a8f68db3f20b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ac80d688bda</guid>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[shopify-development]]></category>
            <category><![CDATA[api-development]]></category>
            <dc:creator><![CDATA[Shahram Foroozan]]></dc:creator>
            <pubDate>Wed, 28 May 2025 13:08:19 GMT</pubDate>
            <atom:updated>2025-05-28T13:08:19.599Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXibQ3TzMBl4Fj6ORtmjVw.png" /></figure><p>With the <strong>Summer 2025 “Horizons” Edition</strong>, Shopify redefines the developer experience by introducing a suite of powerful enhancements designed to streamline app creation, improve efficiency, and foster innovation. These updates center around <strong>a reimagined development environment, instant app previews, improved local development tools, and new API capabilities</strong>.</p><p>As e-commerce continues to evolve, developers play a critical role in shaping the future of online retail. Shopify’s latest improvements ensure that developers can build, test, and deploy apps with greater speed and flexibility than ever before. This article explores the <strong>key developer-focused updates</strong>, their impact, and how they enhance Shopify’s ecosystem.</p><h3>1. A Reimagined Developer Environment</h3><p>Shopify’s <strong>new development environment</strong> introduces a <strong>cloud-based and fully integrated coding experience</strong>, eliminating many of the traditional barriers developers face when building apps.</p><ul><li><strong>Integrated Cloud IDE</strong>: Shopify now offers a web-based IDE, allowing developers to write, test, and deploy their apps directly within Shopify’s ecosystem without requiring complex local setups.</li><li><strong>Fast App Previews</strong>: With <strong>instant app previews</strong>, developers can see how their applications function within a store environment without needing to deploy updates manually.</li><li><strong>Seamless Local Development</strong>: New enhancements allow developers to <strong>sync their local environment</strong> with Shopify seamlessly, reducing delays and ensuring code accuracy before going live.</li></ul><p>These updates are designed to <strong>cut development time significantly</strong>, allowing teams to iterate faster while maintaining high-quality builds.</p><h3>2. Next-Gen API Capabilities</h3><p>APIs are the foundation of Shopify’s extensibility, and the Summer 2025 update introduces <strong>new APIs</strong> with enhanced efficiency and flexibility:</p><ul><li><strong>GraphQL Expansion</strong>: Shopify expands its <strong>GraphQL API</strong>, making queries more powerful and efficient for merchants handling complex storefronts.</li><li><strong>Dynamic Checkout API</strong>: Developers can now customize Shopify’s checkout experience more deeply using the <strong>new Checkout API</strong>, offering merchants greater control over payment flows and upsells.</li><li><strong>AI-Powered API Calls</strong>: Shopify integrates AI-driven API functionalities to optimize inventory management, personalized recommendations, and automated responses based on store analytics.</li></ul><p>These improvements allow developers to build <strong>smarter, more scalable applications</strong> that adapt to store needs in real time.</p><h3>3. Enhanced Collaboration and Testing Tools</h3><p>Recognizing the need for <strong>collaborative development workflows</strong>, Shopify introduces several <strong>new testing and debugging features</strong>:</p><ul><li><strong>Multi-User Development Spaces</strong>: Multiple developers can now work on an app <strong>simultaneously</strong>, reducing bottlenecks in team workflows.</li><li><strong>Real-Time Debugging</strong>: Shopify’s enhanced debugging suite allows developers to <strong>trace and resolve issues instantly</strong>, with AI-powered suggestions for fixes.</li><li><strong>App Performance Monitoring</strong>: Developers gain access to <strong>new analytics dashboards</strong> that provide insights into an app’s performance, ensuring smooth user experiences.</li></ul><p>These upgrades significantly improve efficiency for <strong>development teams</strong>, making it easier to deliver high-quality apps with fewer errors and better optimization.</p><h3>4. Expanded Shopify Functions</h3><p>Shopify <strong>expands its custom function capabilities</strong>, giving developers (Specially our <a href="https://apps.shopify.com/discountprime">Discount Prime App</a>)more control over <strong>store logic, automation, and third-party integrations</strong>:</p><ul><li><strong>Enhanced Shopify Functions</strong>: Developers can now create <strong>more complex custom functions</strong>, enabling deep personalization in storefronts without affecting performance.</li><li><strong>Integration with AI Sidekick</strong>: Shopify’s AI-powered assistant can now <strong>automate testing, suggest code optimizations, and assist with debugging</strong>, making the development cycle more intuitive.</li><li><strong>Embedded Merchant Customization</strong>: Developers can now provide merchants with <strong>configurable storefront elements</strong> directly within the Shopify admin interface.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fKWEhDJqlKYRhl8axfaUeQ.png" /></figure><p>These updates empower developers to build more <strong>modular, intelligent, and adaptable</strong> apps while improving merchant control over storefront functionality.</p><h3>Conclusion</h3><p>Shopify’s <strong>Summer 2025 “Horizons” Edition</strong> represents a significant leap forward for developers, making app creation more <strong>intuitive, efficient, and scalable</strong>. With a <strong>reimagined development environment, smarter APIs, enhanced testing tools, and expanded Shopify Functions</strong>, developers can craft more powerful solutions tailored to merchants’ evolving needs.</p><p>As Shopify continues to evolve, these updates mark a new era in <strong>e-commerce app development</strong>, where innovation and efficiency work hand in hand to redefine the future of online retail.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ac80d688bda" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aspedan-dev/shopify-summer-2025-a-new-horizon-for-developers-0ac80d688bda">Shopify Summer 2025: A New Horizon for Developers</a> was originally published in <a href="https://medium.com/aspedan-dev">Aspedan.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Architecture First, Scaling Second: Why Design Cloud Magic for Handling Webhooks especially on…]]></title>
            <link>https://medium.com/aspedan-dev/architecture-first-scaling-second-why-design-cloud-magic-for-handling-webhooks-especially-on-73fd640c7528?source=rss-a8f68db3f20b------2</link>
            <guid isPermaLink="false">https://medium.com/p/73fd640c7528</guid>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[shopify-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[webhooks]]></category>
            <dc:creator><![CDATA[Shahram Foroozan]]></dc:creator>
            <pubDate>Wed, 26 Mar 2025 08:03:46 GMT</pubDate>
            <atom:updated>2025-03-26T08:03:46.191Z</atom:updated>
            <content:encoded><![CDATA[<h3>Architecture First, Scaling Second: Why Design Cloud Magic for Handling Webhooks especially on shopify apps?</h3><p>In today’s cloud-first world, the promise of effortless scalability can often distract developers from the importance of strong architectural foundations. While cloud platforms like Azure provide powerful scaling features, relying solely on scaling is not a silver bullet for handling unpredictable and high-volume loads, such as webhook bursts.</p><h3>Why Architecture Matters More Than Cloud Scaling</h3><h4>The Reality of Cloud Scaling</h4><p>Cloud auto-scaling can take <strong>minutes</strong> to spin up new instances during high traffic. While helpful, this delay means your system must survive the initial surge before scaling kicks in effectively. For example, if 10,000 webhooks fire simultaneously, your system’s resilience depends on its ability to manage the load during this critical gap.</p><h4>The Danger of Over-Reliance on Scaling</h4><p>Scaling without a robust architectural foundation can lead to cascading failures, such as:</p><ul><li><strong>Overwhelmed Databases</strong>: Unable to handle sudden spikes in traffic.</li><li><strong>Throttled APIs</strong>: Delays or errors in responding to webhook triggers.</li><li><strong>Service Downtime</strong>: Reduced reliability under heavy load.</li></ul><h3>Webhooks: A Perfect Storm</h3><h4>What Are Webhooks?</h4><p>Webhooks are <strong>event-driven HTTP callbacks</strong> that are triggered by specific actions or updates, often in external systems. They deliver real-time notifications to your platform, but their unpredictability makes them uniquely challenging.</p><h4>Shopify Example</h4><p>Shopify’s webhooks for products or orders exemplify this scenario. Store activity directly affects webhook traffic, making it entirely dependent on client behavior. For instance, during a flash sale or bulk product updates, webhook traffic can surge unexpectedly. If your system is not prepared, these surges can result in downtime and delayed responses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0cAGrj0X_yzXcN-9kIkfpA.png" /></figure><h3>Building a Queue-Based Architecture</h3><p>To combat these challenges, implementing a <strong>queue-based architecture</strong> is an effective strategy:</p><ol><li><strong>Webhook Triggers</strong>: When a webhook fires, the incoming data is added to a queue instead of being processed immediately.</li><li><strong>Queue Workers</strong>: Background workers pick data from the queue at a steady rate, processing tasks methodically.</li><li><strong>Enhanced Stability</strong>: Even under heavy loads, the queue absorbs traffic spikes, allowing your system to remain stable until cloud scaling resources are ready.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B4fe2uTFMSP7e1FxN_fo8A.png" /></figure><h3>Why Strong Architecture Beats Sole Dependency on Scaling</h3><p>Even with robust cloud scaling capabilities, a poor architecture can lead to errors, delays, or timeouts during traffic surges. A resilient architecture provides:</p><ul><li><strong>Downtime Mitigation</strong>: Your app stays operational during unpredictable spikes.</li><li><strong>Cost Efficiency</strong>: Queue management reduces unnecessary resource over-provisioning.</li><li><strong>User Satisfaction</strong>: Prevents slowdowns or failures for end users, no matter the load.</li></ul><h3>A Balanced Approach</h3><p>Ultimately, the goal is not to dismiss cloud scaling but to complement it with resilient architecture. By addressing predictable challenges in advance, like webhook traffic bursts, you empower your application to survive even the most demanding situations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73fd640c7528" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aspedan-dev/architecture-first-scaling-second-why-design-cloud-magic-for-handling-webhooks-especially-on-73fd640c7528">Architecture First, Scaling Second: Why Design Cloud Magic for Handling Webhooks especially on…</a> was originally published in <a href="https://medium.com/aspedan-dev">Aspedan.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>