F
F
faragly2015-03-31 07:25:06
1C-Bitrix
faragly, 2015-03-31 07:25:06

What to use for data storage in Bitrix: HighloadBlock or ORM?

Hello! Interested in the opinion of Bitrix developers. To store data, is it better to use ORM in the Bitrix module or to put all data in highloadblock?
For example, you need to store event data. The trade show event runs for several days - the highloadblock structure would roughly have the following custom fields - Name, Date (multiple), Price, City (linked to ID) and some others. The same can be done in the ORM class in the module on the new Bitrix core, but here's how to store multiple date values ​​​​with the possibility of selection with a mention of this date (that is, you need to select all events for a specific day). Advantages of highload - no need to write an additional interface in the admin panel for events, and I think there will be no problems with selecting multiple values. But with orm, everything is not completely clear yet. I'm interested in your opinion - what would you use, arguments, and, perhaps, I generally find applications for these tools from Bitrix incorrectly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2015-03-31
@shambler81

in general, I didn’t see any reason to use hiloadblock, well, if you don’t have a mania for designing
a database, Highload blocks are a module for working with arbitrary data sets under high loads.
Do you have a large data flow? So big that it is impossible to scale the system with the standard method?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question