Re: [fw-general] Best Practices Question

2008-12-03 Thread netlynx
Simon Corless wrote: > > > > netlynx wrote: >> >> The question that came to mind is Rob is checking for an identity in the >> preDispatch() method of the action controller -- >> Zend_Auth::getInstance()->hasIdentity() --, and I am wondering if this >> wouldn’t be better located in the init()

[fw-general] Best Practices Question

2008-12-03 Thread netlynx
I have been reading through the documentation and many tutorials around the web, and one tutorial got me asking the question ‘where does this really belong’. The tutorial in specific was on Akra’s DevNotes (Rob, if you are reading this, your tutorials are AWESOME!), titled : Getting Started with

Re: [fw-general] Best Practices Question

2008-12-03 Thread Simon Corless
netlynx wrote: > > The question that came to mind is Rob is checking for an identity in the > preDispatch() method of the action controller -- > Zend_Auth::getInstance()->hasIdentity() --, and I am wondering if this > wouldn’t be better located in the init() method of the action controller? >