Design Patterns and Availability - SENG-350-2024-fall/Team-14 GitHub Wiki

Singleton

Implement EmergencyDepartment class with this design pattern. https://www.geeksforgeeks.org/singleton-pattern-in-python-a-complete-guide/

Strategy Pattern

Implement a queue strategy that VTQueue and MedicalQueue will reference. https://www.geeksforgeeks.org/strategy-method-python-design-patterns/

Observer Pattern

Use this to notify doctors and patients when a ticket is being processed. https://www.geeksforgeeks.org/observer-method-python-design-patterns/

State Pattern

Use the state pattern for each ticket class to determine where it is in the triaging process. https://www.geeksforgeeks.org/state-method-python-design-patterns/

Template Pattern

Use the template pattern for some other class just to say we have it i guess. https://www.geeksforgeeks.org/template-method-python-design-patterns/

Availability

Implement some type of redundancy (idk), implement some type of health monitoring (logging), implement some type of recovery (error handling). https://www.geeksforgeeks.org/design-patterns-for-high-availability/