Hi we're currently working on a system whose function is to support the core process of our department which is scheduling of classes.
Now, we need a store functionality for selling those classes. I currently need to decide whether to use a separate system for that or use a plugin to integrate a store module. I'm just weighing the advantages and disadvantages between the two approach.
With the incorporation of a module, I find it hard to decide what module to use. By the way, we're using cakephp so it's better if the plugin is compatible with it. I checked the ones available for cakephp like vamcart but it seems it hasn't been updated since 2 years ago. I'm also considering how easy it is to build on top of it. Also I think the main disadvantage of using a plugin is having the develop things on your own. Not like using a system like opencart or magento where you can addon plugins.
With the other option of using a separate system, I think the main advantage of this is the separation of concern. But the main problem is how will the two systems communicate or share data. I think the simplest solution is to make them share a database. It's a hack but as long as they don't break each others logic then this would be fine. The other way is to expose an api. This is ideal but takes more time. Or, I could potentially just customize it to incorporate the scheduling of classes I mentioned earlier. But not sure if it's easy to do.
What do you think? If I could just find a good plugin that would be fine. But in the ideal case, what store system can you suggest (magento, opencart, oscommerce, ...) that I can use. My main consideration for the ease of communication with the other system.
Thanks for your help