I am new to Cakephp and started with cake3.
The question arises as to which approach is best suited for performance in order to get a table instance in CakePHP-3.0, which is not the default controller between loadModel or TableRegistry.
For example:
1. $this->loadModel('Articles'); OR 2. TableRegistry::get('Articles');
I read Cake-Doc for loadModel and TableRegistry . This is where the confusion begins.
Thanks in advance
Bayezid alam
source share