Hello all,

I'd like to know wich of this options give me the best performance when 
loading models to find data.


   1. The use of "use" propertie on controller
      - public $uses = array('Model1', 'Model2', ...);
      2. The use of loadModel method inside specific method
      - $this->loadModel('Model1'); $this->loadModel('Model2');
      3. The chain model 
      - $this->Model1->Model2->find
      - $this->Model1->Model2->Model3
      

I did some tests using DebugKit to compare memory usage and request time 
but I didn't find anything conclusive.

Cheers

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to