To begin with I would like to tell you that during Bitrix24 development many developers use Bitrix ORM implementation out fr om the box.
It is a quite convenient, fast and useful instrument.
However, there is a thing which you should always do if you want to use the ORM DataManager class. Describing table fields and relations are so typical, annoying especially if you have lots of different tables.
From my own perspective, I prefer to simplify that regular work. For these needs, I created the simple composer package wh ere implemented an extension of native Bitrix ORM DataManager.
Therefore, developers can spend more time for implementing business logic in the system. The main idea is to simplify the realization of the method — getMap() in the DataManager class. For installation, you can use the composer and include dependencies in init.php file.
Use the composer:
composer require sestrenskyi/orm |