W
W
web-quest32017-02-16 20:13:37
PHP
web-quest3, 2017-02-16 20:13:37

Development for opencart the main aspects are violated?

The fact is that wherever you look, all articles and tutorials distort opencart, so ..... if you update the CMS, the whole store will collapse, for example, they pick the database, standard modules, and so on.
I came to the conclusion that maybe opencart is designed so that it can be used not as a CMS, but as a framework, in the sense that we made a service for selling cars, and we don’t touch or update it anymore.
I understand why most developers do this (saw in the core), because in opencart the code, although simple, is rather inflexible.
For example, to remove the steps or do everything in one step, we hide the inputs of the xsom ... well, what is it?)
Of course, you can do it for all your modules, but then what's the point of tsms? there are the same basic elements, the product category is a basket, and then they are subject to finishing, for example, it’s worth dancing a lot to make a cart not an Ajax, or your own Ajax, and finishing it on opencart and writing your modules, I emphasize very time-consuming.
On the one hand, it seems to be MVC, on the other hand, the code looks so creepy, there are so many things that requests cost and .... to be honest, I didn’t even read everything and fully understood how exactly this request would work.
In general, too confusing. It would seem that MVC is easy to template ..... but the same WordPress is much more pleasant to develop. Even Bitrix is ​​clearer to me.
Again, you can just hide the inputs and, in principle, cut like that (in the same vein) ... but this, in my opinion, is too bad .... this is not possible)
Experienced developers tell me and direct please, maybe I misunderstood something?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2017-02-16
@thewind

Opencart uses vqmod to overload anything. But this is some kind of trash, of course ((an analogue of find-replace

S
sim3x, 2017-02-16
@sim3x

Because you don't need to use opencart

M
Michael, 2017-02-16
@springimport

OpenCart can be shipped via composer (if I'm not mistaken) and composer has extensions for patching packages. You can try that. But the OP's whole problem is in the architecture and nothing can be done here.
If you want a truly extensible system, then try magento 2. You can extend, redefine, and generally do whatever you want without touching the core. True, you should have a good experience. The system is unrealistically complex and requires a huge amount of time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question