*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
Benefit of ODM
- ODM provides us a framework to translate between objects in the backend code to the relational representation of data. It is easier for developers to manage data in the backend.
- Classes (Models) are mapping to the database entities. It provides us a framework to do object oriental programming.
- We can decouple the Class method with APIs. So the class methods are reusable in different APIs.
Design Diagram
Next Step:
- Use flask_mongoengine for ODM control
- Implement Models and APIs for existing functionalities
- Create unit test for both APIs and class methods