uprm-inso4116-2023-2024-S1 / musicmap

semester-project-musicmap-team created by GitHub Classroom
2 stars 1 forks source link

[Lecture Topic Task] Isolating the Domain: Maps (Mock Pins) #87

Closed Jafet160 closed 10 months ago

Jafet160 commented 10 months ago

This feature involves creating mock pins and rendering them on a map, making sure to isolate the domain by separating the domain layer from the user interface, application, and infrastructure layers.

Jafet160 commented 10 months ago

In terms of this feature, the domain is the geographical data represented by the mock pins and the map. A Location Route was created to handle the interactions of the data and the creation of the Location Schema defines the structure of a location based on our domain.

Jafet160 commented 10 months ago

The creation of a "Pin" component could have also worked as a domain entity to encapsulate the properties (coordinates, label) and behaviors (show, hide) of a pin.