yi-kiat / ICT2106_P3-5

MIT License
0 stars 0 forks source link

[D2] 5.2 Design Pattern 2 #111

Closed jiaxinlarhh closed 1 year ago

jiaxinlarhh commented 1 year ago

To be completed on:

yi-kiat commented 1 year ago

Using the filter pattern for the filter system

For each of the form, the filter needs to filter based on the chosen attributes. Classes made for the attributes according to the pattern, and they implement an interface for the method that filters and chains the results.

It is good for compiling complex queries and the pattern aids in decoupling for easy future reuse.

Image

yi-kiat commented 1 year ago

Reviewed and acknowledged by team members: