
I like the MVC structure, code looks clean! I was wondering, is it a custom made framework or a spin-off of some other MVC styled framework?
In any case, I'm having trouble finding a good way to extend OpenCart. From what I see so far with modules and contributions is that they just overwrite core files.
What happens when I upgrade then? My store will be broken.
I was thinking, why not implement some kind of event based system like Wordpress has? Or, can I extend and override catalog/controller/common/header.php's index() function? How would the loader know I've done so?
I'm wondering because I'd like to develop some modules and make OpenCart one of the tools in my arsenal, and it's awesome that it uses MVC. But how am I supposed to keep track of each little modification I make to all the controller files, then I have to manually check my change log for each of my clients installations? On one client I just changed the header, on the other I rewired so much, I don't think I'd risk upgrading... ever... hahaha
Anyone know what I mean? I'm hoping that there's a programatically sound way to extend OpenCart... but from what I've seen the conrtibs are more like hacks... one that I just installed said 'over write x file and y file, and if you've installed a DIFFERENT module before, MERGE the changes!'
hahahaha, it's the same crap you have to deal with in all the other old school carts.
Don't get me wrong though, besides the non-existing plugin architecture OpenCart is awesome.
I propose we all help the creator and come up with a plugin architecture that makes sense, and doesn't break when you upgrade...
I've seen something, the addPreAction and dispatch functions... but there's little developer documentation.
I really like the coding style of OpenCart though... are there any other developers contributing?