<?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 Hashini Thusharika Welagedara on Medium]]></title>
        <description><![CDATA[Stories by Hashini Thusharika Welagedara on Medium]]></description>
        <link>https://medium.com/@hashiniwel?source=rss-60ff5f32cc2d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*qsId9_9emeT5sgyA</url>
            <title>Stories by Hashini Thusharika Welagedara on Medium</title>
            <link>https://medium.com/@hashiniwel?source=rss-60ff5f32cc2d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:21:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hashiniwel/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[Why it Matters to Choose the Right Software Architecture]]></title>
            <link>https://medium.com/@hashiniwel/why-it-matters-to-choose-the-right-software-architecture-b4add2167693?source=rss-60ff5f32cc2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4add2167693</guid>
            <dc:creator><![CDATA[Hashini Thusharika Welagedara]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 05:57:49 GMT</pubDate>
            <atom:updated>2025-02-22T05:57:49.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*POnNa3w7F0mvwj40cjiIFA.jpeg" /><figcaption>Figure 1: Software Architecture Patterns</figcaption></figure><p>In the ever-changing world of software development, it’s easy to get caught up in writing code and creating functionality. However, when we investigated why software architecture is important, we discovered that having a strong architectural basis is critical to the success of any program. The architecture acts as a template for the whole development process, ensuring that the system fits both current and future requirements.</p><p>Our project revealed that the appropriate software architecture not only specifies the system’s structure and behavior, but also has a significant impact on performance, scalability, security, and maintainability. It has a direct impact on development efficiency, user experience, and software’s long-term survivability.</p><p>In this blog, we will share our findings on software design, including major architectural patterns such as monolithic, microservices, layered, serverless, and event-driven architectures. My teammate, <a href="https://medium.com/u/1b0468a53466">Lakshan Maduka</a>, and I want to examine these issues and share our findings to assist you in understanding the significance of selecting the correct architecture for your software projects.</p><h4><strong>Why it Matters to Choose the Right Software Architecture</strong></h4><p>Building a successful application in the ever-changing world of software development takes more than just writing code; it all begins with a solid foundation. This foundation is constructed using software architecture, which serves as a blueprint for the entire system.<br> <br>Software architecture specifies a software application’s underlying structure, outlining how distinct components interact, communicate, and function together. It establishes the framework for scalability, maintainability, performance, and security, guaranteeing that the system can satisfy both current and future requirements.<br> <br>Choosing the correct software architecture is one of the most important considerations in software development. A well-thought-out design can increase development efficiency, improve user experience, and lower long-term expenses. A poor design decision, on the other hand, can result in performance bottlenecks, scalability concerns, and difficult maintenance hurdles.</p><h4><strong>Importance</strong></h4><p>Software architecture is an important part of software development because it provides a solid foundation for creating scalable and dependable systems. It makes ensuring the system is well-structured, maintainable, and adaptable to future changes. A well-designed architecture improves scalability, speed, and security, allowing applications to handle growing workloads more effectively. It also enhances maintainability by making debugging and modification simpler, lowering long-term development costs. Architecture helps team communication, speeds up prototyping, and promotes code reuse by specifying distinct system components and their relationships.</p><h4><strong>So, A right software Architecture,</strong></h4><ul><li>defines structure of a system.</li><li>defines behavior of a system</li><li>defines communication structure.</li><li>defines component relationship.</li><li>focuses on significant elements.</li><li>captures early design decisions</li><li>balances stakeholder’s needs.</li><li>influences team structure.</li></ul><h4><strong>How to Choose the Right Architecture?</strong></h4><ul><li><strong>Understand Business and Technical Requirements</strong> — The architecture should be consistent with the project’s objectives, functional demands, and user expectations.</li><li><strong>Consider Future Scalability and Flexibility —</strong> Select an architecture that can withstand growth, growing user needs, and changing technology.</li><li><strong>Evaluate Team Expertise and Development Speed — </strong>Make sure the architecture you choose matches your development team’s skill set for a seamless implementation.</li><li><strong>Analyze infrastructure and operational costs — </strong>A cost-effective architecture avoids excessive costs and resource waste.</li><li><strong>Consider Security and Compliance — </strong>Take into account industry requirements (e.g., GDPR, HIPAA) and put in place strong security measures from the outset.</li><li><strong>Evaluate Performance and Reliability Requirements —</strong> The architecture should provide fast reaction times, high availability, and minimal downtime.</li><li>Ensure maintainability and the ease of updates. A well-structured design makes it easier to debug, modify, and add new features.</li></ul><h4><strong>Mistakes to Avoid When Choosing an Architecture</strong></h4><ul><li>Ignoring Future Scalability — Selecting an architecture that cannot accommodate growth can result in costly redesigns later.</li><li>Over-Engineering the System — Using an overly complicated design might hinder development and raise maintenance requirements.</li><li>Neglecting Security and Compliance — Failure to deploy security measures promptly can lead to vulnerabilities, data breaches, and legal concerns.</li><li>Following Trends Blindly- Just because an architecture (such as microservices) is popular does not imply that it is the best fit for your project.</li><li>Underestimating Maintenance Requirements: A badly designed architecture might make future updates, debugging, and modifications difficult.</li></ul><h4><strong>Common Software Architecture Patterns</strong></h4><p><strong>01. Monolithic Architecture —</strong> A unified codebase in which all components (UI, business logic, and database) are closely interwoven.<br> Ideal for: Small to medium-sized applications with straightforward business logic.</p><p><strong>02. Microservices Architecture —</strong> A system is made up of small, autonomous services that communicate using APIs. Each service handles a distinct business function.<br>Ideal for: Large-scale, sophisticated, and distributed systems that require high scalability.</p><p><strong>03. Layered Architecture —</strong> The program is separated into layers (such as presentation, business logic, and data access) that interact in a systematic manner.<br>Ideal for: Enterprise applications, web applications, and traditional business software.</p><p><strong>04. Serverless Architecture —</strong> Applications are constructed utilising cloud-managed services (such as AWS Lambda and Azure Functions) rather than underlying servers.<br>Ideal for: Event-driven applications, real-time processing, and applications with unpredictable workloads.</p><p><strong>05. Event-Driven Architecture —</strong> The system asynchronously processes events (such as user activities and database changes).<br>Ideal for — IoT systems, stock trading platforms, and messaging-based applications all benefit from this technology.</p><h4><strong>Conclusion</strong></h4><p>Choosing the correct software architecture is an important step in developing a successful software application. It provides the foundation for how well the system will function, scale, and adapt to future changes. A well-structured architecture assures efficiency, maintainability, and security, but a poorly chosen one might cause performance bottlenecks, expensive costs, and trouble updating. <br> <br>Developers can choose the appropriate architecture for their project by understanding business requirements, assessing scalability, considering security, and avoiding common pitfalls. Whether it’s **monolithic, microservices, layered, serverless, or event-driven architecture**, each pattern has its own set of advantages and applications. Making the appropriate decision not only improves development efficiency, but also ensures the software’s long-term success and viability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4add2167693" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Donor Diary — A mobile application for efficient blood donor management]]></title>
            <link>https://medium.com/@hashiniwel/donor-diary-a-mobile-application-for-efficient-blood-donor-management-e60e3fdf686a?source=rss-60ff5f32cc2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e60e3fdf686a</guid>
            <dc:creator><![CDATA[Hashini Thusharika Welagedara]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 17:54:40 GMT</pubDate>
            <atom:updated>2025-02-13T17:54:40.945Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Donor Diary — A mobile application for efficient blood donor management</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMo5rH8FqWBiHJ0bUqqX0g.jpeg" /><figcaption>Figure 01: Logo</figcaption></figure><p>Every few seconds, someone in the world needs a blood transfusion due to an accident, surgery, childbirth problems, chronic sickness, or cancer treatment. So, donating blood is one of the most impactful and important steps in saving lives, and ensuring that patients receive timely assistance. Beyond its life-saving impact on patients, it also benefits donors by boosting their own health. Individuals who donate blood help those in need while also improving their own health.</p><p>Blood donation in the sense the act of voluntarily giving blood. Since blood cannot be manufactured, voluntary donations are essential. However, without proper management, Poor communication, lack of proper records, and difficulty tracking donor eligibility create delays in donations. With this especially Sri Lanka faces critical challenges in ensuring a steady and efficient blood supply.</p><p>💡 <strong>Donor Diary, a mobile application</strong> is our solution to streamline the blood donation process by enhancing communication, tracking donations, and keeping donors engaged.</p><p><strong>The Problem We Aim to Solve</strong></p><ul><li>Insufficient Blood Supply — Sri Lanka requires more blood donations, especially for emergencies and illnesses like Thalassaemia.</li><li>Lack of Proper Records — Donor eligibility tracking is inefficient, resulting in delays.</li><li>Poor Communication: In an emergency, hospitals and blood banks find it difficult to cooperate with potential donors.</li><li>Limited Engagement: Many donors are willing to donate, but they need reminders and incentives to continue active.</li></ul><p><strong>Who Will Benefit?</strong></p><p>Donor Diary is designed to support,</p><p>1. Blood Donors — Easily track donation history, eligibility, and nearby donation centers.</p><p>2. Hospitals &amp; Blood Banks — Access donor information quickly to meet urgent blood needs.</p><p>3. Health Authorities — Ensure a well-managed and sustainable blood donation system.</p><p>4. NGOs &amp; Community Organizations — Facilitate awareness campaigns and donor drives.</p><p>5. General Public — Encourage a culture of regular blood donation.</p><p><strong>Key Features of Donor Diary</strong></p><ul><li><strong>User Registration &amp; Profile Management</strong> — Secure and seamless donor onboarding.</li><li><strong>Blood Donation History</strong> — Maintain a personal record of past donations.</li><li><strong>Next Eligible Donation Date</strong> — Automated tracking of donation cycles.</li><li><strong>Nearby Donation Centers</strong> — Locate the closest blood banks and hospitals.</li><li><strong>Rewards System</strong> — Encourage continued donations with recognition and incentives.</li></ul><p><strong>Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*6vjWQuTGPHOVF0qQzbzU3w.png" /><figcaption>Figure 02: Architecture</figcaption></figure><p>This proposed architecture for the mobile application follows the MVVM (Model-View-ViewModel) pattern, which ensures a clear separation of responsibilities between UI, business logic, and data administration. The backend, built with Node.js and Express.js, manages API requests, performs business logic, and communicates with a PostgreSQL database for secure data storage. The application is hosted on AWS EC2, and GitHub Actions enables automated CI/CD for seamless updates. This structure helps us to improve the scalability, maintainability, and efficiency, resulting in a seamless user experience and effective donor record management.</p><p><strong>Conclusion</strong></p><p>“Donor Diary” connects blood donors and receivers by tackling the issues of blood donation management. Donor profiles, real-time availability tracking, eligibility reminders, and hospital connectivity all help to make the donation process smooth and efficient. This tool is useful for both individuals needing urgent blood donations and organizations that manage donor networks. The system uses the MVVM architectural pattern, which combines a structured approach with a Flutter-based frontend, a Node.js and Express.js backend, and a PostgreSQL database to ensure scalability, maintainability, and a seamless user experience.</p><p><strong>Acknowledgement</strong></p><p>This project wouldn’t have been possible without the dedication and efforts of my teammate, <a href="https://medium.com/u/1b0468a53466">Lakshan Maduka</a>. Together, we worked on designing and developing <em>Donor Diary</em>, aiming to create a seamless and efficient solution for blood donation management. His contributions were invaluable in bringing this idea to life, and I’m grateful to have collaborated with him on this meaningful initiative.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e60e3fdf686a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>