The project relies heavily on static properties to share data between components. The main issue with this architecture is that the entire system is stateful, which can lead to state leakage. Shouldn’t we consider re-architecting this part to use a dependency injection container instead?
Additionally, some pieces of logic are encapsulated in traits that have little to no chance of ever being reused. I believe these traits should be removed.
The project relies heavily on static properties to share data between components. The main issue with this architecture is that the entire system is stateful, which can lead to state leakage. Shouldn’t we consider re-architecting this part to use a dependency injection container instead?
Additionally, some pieces of logic are encapsulated in traits that have little to no chance of ever being reused. I believe these traits should be removed.