Re: [fw-general] Using Default Models within Other Modules

2009-09-02 Thread jasonzfw
A few minutes after I sent the previous reply, that matter of ZF attempting to look up Default_Model_Category really stuck in my head, so I added the following line to my Category model: protected $_name = 'category'; Sure enough, this fixed the problem. I tested identical code on my DreamHost s

Re: [fw-general] Using Default Models within Other Modules

2009-09-02 Thread jasonzfw
Hi, Thanks for the help, Matt, I really appreciate it. However, I'm at a loss as to what could be going on, as adding the autoloader code to my default module bootstrap as you describe below is precisely what what I've done. To recap: Matthew Weier O'Phinney-3 wrote: > > * In your default mod

[fw-general] Using Default Models within Other Modules

2009-09-01 Thread jasonzfw
Hi, Looking for some input on what strikes me as a rather confusing aspect of the Zend Framework. I understand modules are intended to be easily reusable components across applications, however many users (me included) seem to be using the module feature as an easy way to manage an administration

Re: [fw-general] Best practice for configuration data

2009-07-23 Thread jasonzfw
Hi Ralf, I too have been wondering about this, and have concluded that moving the configuration data into application.ini is the best approach, if for any other reason because it consolidates the config data to a single file. I don't see any harm in doing so, and the upside is one only has to dea

[fw-general] Action_HelperBroker refuses to add path in 1.8.4?

2009-07-13 Thread jasonzfw
Hi guys, Have been trying to figure this one out for a while now, have also checked out the bug tracker and didn't find anything conclusive so thought I'd solicit advice from the pros. I've spent part of today migrating my site to the latest and greatest 1.8.4, and all has been going well excep

Re: [fw-general] Best Practices: Eliminate redundancy within various controller init methods?

2009-01-23 Thread jasonzfw
Matthew Weier O'Phinney-3 wrote: > > Within your action helper's init() or preDispatch() method, do something > like this: > > $controller = $this->getActionController(); > $controller->foo = 'bar'; > YES!! Works like a charm. :-) :-) :-) Thanks so much, I really appreciate every

Re: [fw-general] Best Practices: Eliminate redundancy within various controller init methods?

2009-01-23 Thread jasonzfw
beberlei wrote: > > I would extend Zend_Controller_Action and make an application wide > action controller that has the init function which centralizes all the > duplicated code. > But I thought the purpose of using an action helper was to avoid exactly this, as has been stated earlier in thi

Re: [fw-general] Best Practices: Eliminate redundancy within various controller init methods?

2009-01-23 Thread jasonzfw
Hi, Many many thanks for the great set of responses. This helps to clarify nicely. I've created a custom action helper, integrated it into the site, and confirmed the framework is able to recognize and execute it. However there remains one perplexing matter: how do I initialize this action helper