-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The architecture of the system includes a mongoDB database containing collections of users, alerts, events and emails
Each user can have several alerts, these are the definitions of what you expect each day. Each alert will have an event created every day that the email should turn up (this gets timezones right) An event waits around for it's email to arrive. If time ticks past the worrytime (in the user timezone) we fire off an email, if an email arrives and doesn't look right we fire off an email.
The PHP front end probably could do with a bit of a refactor (as could the python back end) but one developing feature is rendering forms and lists based on definitions stored in the mongoDB back end. There is a design collection containing form definitions and it will contain list definitions. Lists are rendered through the slickgrid component, the idea is to give that a cursor and a column set and it will render it. Possibly also using map-reduce to set up a categorised expandable list view. Forms are rendered by a recursive layout engine which currently just does enough for the purpose of exceptionalemails.com but that will probably be expanded into a separate more general project as a framework for mongodb forms based applications.