You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, 'blank-theme' uses a custom autoloader, which works fine. However, to align the code more with how things are done for PHP in general, we can update to use the composer autoloader and remove the custom one.
Revisit the Singleton pattern used to compose and load the necessary components for the theme. Now, this may result in unnecessary classes being loaded on all requests. This may be fine with a small-scale code base; however, the complexity of features may add to memory cost. Identify/update to only load classes when needed.
References
Acceptance Criteria
The text was updated successfully, but these errors were encountered:
Summary
Currently, 'blank-theme' uses a custom autoloader, which works fine. However, to align the code more with how things are done for PHP in general, we can update to use the composer autoloader and remove the custom one.
Revisit the Singleton pattern used to compose and load the necessary components for the theme. Now, this may result in unnecessary classes being loaded on all requests. This may be fine with a small-scale code base; however, the complexity of features may add to memory cost. Identify/update to only load classes when needed.
References
Acceptance Criteria
The text was updated successfully, but these errors were encountered: