Replies: 2 comments 4 replies
-
H, i liked the ideas and suggestions.
I also think about analyzing if an Event can change PHP lines as a controller, model or library, if not, check ways to implement this feature to be able to have Modules that change native lines without touching the files directly as we did before in Opencart 3, because many modules depend on this feature. A point on the performance issue is to add Cache, perhaps a simple Cache for certain Events, mainly those dealing with visual change and clearing these caches through the Panel. |
Beta Was this translation helpful? Give feedback.
-
@v5mvidal: See this commit: #10985 (comment) . |
Beta Was this translation helpful? Give feedback.
-
@danielkerr, here are some points for analysis about the OpenCart 4 event system.
Basically we have 3 implementations, one for error handling, another for event handling by file and extension, and the last one for performance.
I have other ideas, but I believe these are the most basic ones to start with.
I would like to receive opinions before making pull requests...
Please! Don't talk here about how much you love ocmod or how much you want something similar.
Beta Was this translation helpful? Give feedback.
All reactions