Back to The Mifos Initiative
GSoC 2026

Event driven architecture to improve modular design and decrease module dependencies

Mifos is moving toward a more modular architecture, but many large modules still rely on direct dependencies, which makes the codebase harder to maintain, test, and evolve. This project aims to address that problem by introducing an event-driven approach for stand-alone modules, using Spring’s application event publisher to replace one-way direct calls wherever possible. The goal is to reduce tight coupling between modules, especially in areas such as loan, savings, and group support, so that modules can become more independent and easier to package, reuse, and publish separately. The project will focus on identifying suitable direct dependencies, designing event-based replacements, implementing publishers and listeners, and validating that the new flow works cleanly without breaking existing behavior. The final deliverables will include the architectural changes needed to support event-driven communication, working implementations for selected module interactions, tests and documentation for the new design, and clear guidance for extending this pattern across the Mifos platform in the future. The broader outcome will be a cleaner and more scalable modular foundation for Mifos, making it easier for the community to build and maintain true stand-alone modules over time.

Project details

Contributor

Mansi Maurya

Mentors

Not available

Technologies

Not listed in the archive