How about a controller plugin that dynamically adds model directory to the include path for a current module? That's something trivial to do.
Karol Christopher Östlund wrote: > > Heya, > > I would love to know the recommended way to load models inside modules > too. > You don't want to add the model path of each module to the include path. > > On Tue, Nov 11, 2008 at 2:39 PM, keith Pope > <[EMAIL PROTECTED]>wrote: > >> Hi, >> >> I am just wondering what the recommended way to load models is. >> >> 1) Add model directories to the path and use Zend_Loader >> 2) Use the Plugin Loader >> >> I ask as there has been discussion on speed and the differences >> between ZL and PL, I was wondering what the most efficient out of the >> two. >> >> Thx >> >> Keith >> > > -- View this message in context: http://www.nabble.com/Loading-Models-best-practice-tp20439729p20443895.html Sent from the Zend Framework mailing list archive at Nabble.com.
