K
K
Kirill Gorelov2019-10-12 22:00:46
1C-Bitrix
Kirill Gorelov, 2019-10-12 22:00:46

Bitrix and work practices?

Hi guys.
Now I'm making a store on Bitrix. And often I look at all sorts of forums, articles, how to do something there and the documentation, of course.
And in places a phrase like "make a copy of the component and work with it" flashes. That is, they take a standard component and change it to fit their needs.
I decided to look into the standard component, there are several thousand lines of code in places. And it seems to me to customize it to my needs + change the design, it's terrible, I think it's even longer than writing your own simple component from which nothing more than natural is required (add to cart / delete / calculate the amount, etc.). That is, I now do everything from scratch myself. I have ready-made pieces of code and from them, as from a constructor, I assemble a store. Or maybe I don't understand something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-10-12
@Kirill-Gorelov

You understand everything correctly. Continue.
UPD :
If you make a site on components and roughly understand how it all works, it’s easier and better to do it on those written from scratch.
On the one hand, standard components try to be flexible, and on the other hand, they try to isolate the API from the user. Since these are poorly compatible tasks, the settings of the components swell, and the logic in the work is unreasonably complicated trying to cover the maximum of needs.
But on a project, you usually need components of a fairly narrow specialization if you do not want to use them outside of it.
Therefore, writing from scratch in practice is the best solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question