Document Owner | |
---|---|
Document Status | Draft |
Intern Working on this Project | |
Mentors | |
Source Code | https://github.com/ad-os/incubator-fineract |
Project Summary
- Enable generic way of sending notifications - these notifications should be capable of being delivered via the Community App, via the Android app for field officers or Android self-service app, via SMS, or via Email.
- Mingle Actions into the notification - To allow the user to directly act upon the alert directly from the notification (i.e. approve a client).
Approach for designing a generic notification system
The designing of the notification system will be done in two parts :-
Notification generation and storage
- Notification Delivery
How the system knows when to generate a notification
Let us start with the standard pub-sub(publication-subscription) model:
...
This part has to be async and it can achieved by implementing message queues. Read about them here.
How to generate a notification
A listener then generates a notification. The notification will have the following model :
...
subject object action actor
How to show notifications to the user
//To be done