Saturday 14 February 2015

Week 9 and 10 updates

Hi everyone !

So after finalising the mockups designs, the task was to understand the relationships between the different fields proposed for the grouping and filtering of projects and programs.

I worked on understanding the current database model and then designed the backend model (to be used mostly for the database design). The discussion and the final backend design is available here.

The backend design has been finalised after getting reviewed from the mentors.

Backend Design (mostly for Database)
RelationshipMeaning
ProjectProgram1 - nA project can have a single program
ProjectRequesting Org1 - nA project can be referenced by multiple requesting orgs
ProgramsPurpose1 - nOne to one relationship means that a single program can have multiple different purposes
Project Priority1 - 1A project will have a single priority (high, medium, low)
ProjectStatus1 - 1A project will have a single status (open, draft, archived)
RelationshipMeaning
ProgramProjects1 - nOne to n relationship means a single program can have different multiple projects
Requesting OrgProjects1 - nOne to n relationship means a single requesting org can have different multiple projects
Purpose (Crisis Support, Disaster Preparedness, etc)Programsn - 1n to one relationship means a single program can have different multiple purposes.
PriorityProjects1 - nOne to n relationship means a single priority (high, medium low) can have different multiple projects
StatusProjects1 - nOne to n relationship means a single status can have different multiple projects


Now for the implementation part, I need to focus only on the Project - Program, Project - Requesting org, Programs - Purpose as the other two priority and status are implemented in the current homepage design.

Currently, I'm working on writing the model class for Program, and tests cases for testing the correct relationship between the projects and the program. Also working on writing the alembic scripts.

Cheers,
Nitika




No comments:

Post a Comment