Nothing so strange there but as the feature got more complicated we started seeing a few problems arise. The saved entity would then be converted to a DTO (Data Transfer Object) to pass back to the frontend. The service method would create a new database entity and invoke the DAO layer to save it to the database. Service – A service for each DAO objectĪPI requests from the frontend hit the API layer, which in turn invoked a service method to say, create a new meeting. Data Access (DAO) – Meeting, Meeting Space (represents all the meetings between two people), Meeting Content (talking points for a meeting).Two years ago, our 1:1 Meetings feature was structured as you’d expect with a traditional OO web application, we had three basic layers:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |