Skip to content

Design Questions #71

@srikoushik3

Description

@srikoushik3
  • Why use decorator design pattern?
  • Why did you use observer pattern?
    • We wanted the button click event that gets triggered after a user makes an action (buy, sell or skip next day), is only responsible for sending the info to the backend
    • The rendering of the new modified data (stock tables, user tables and profits graphs) is only changed after the backend notifies the frontend (this the button event is not responsible for rendering of the updated data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions