RE: [fw-general] Base Controller convenience methods

2009-02-24 Thread O'BRIEN, Steven X
iss this feature until its gone. PHP and PHP based IDE's are definitely heading in the right direction, i just want more more more :-) -Original Message- From: Jake McGraw [mailto:jmcgr...@gmail.com] Sent: 24 February 2009 16:23 To: O'BRIEN, Steven X Cc: Marko Korhonen; fw-gene

RE: [fw-general] Base Controller convenience methods

2009-02-24 Thread O'BRIEN, Steven X
This might sound trivial but an advantage of using base controllers is that you get code completion using eclipse or zend studio. Do you get code completion when using action helpers? For example it would be great if you could go $this->_helper->[List of all available helpers] -Original

[fw-general] zend _helpers vs. static functions

2009-02-16 Thread O'BRIEN, Steven X
Hi All, Just a quick question regarding zend helper classes. Are these more efficient than using standard php object static methods For example in a view script to get the baseUrl. The helper version might look like: $this->baseUrl(); The object static function might look like: App::baseUrl();

RE: [fw-general] Strategy for "panels" / "blocks"

2008-12-01 Thread O'BRIEN, Steven X
Hi Guys, I want to manipulate the standard default router. At the moment I have the default :module/:controller/:action I want to first check the :module and change its case to lower case. Then If the Url is myModule/Action, the default router expects the :action to be the controller n

RE: [fw-general] Routing

2008-12-01 Thread O'BRIEN, Steven X
Hi Guys, I want to manipulate the standard default router. At the moment I have the default :module/:controller/:action I want to first check the :module and change its case to lower case. Then If the Url is myModule/Action, the default router expects the :action to be the controlle

[fw-general] __call

2008-11-12 Thread O'BRIEN, Steven X
Guys, The use of __call on php classes feels like it should be bad practise to me. Am I missing something? A few thoughts... #1 won't __Call be called every time any method is called on the object? This feels inefficient. #2 It hides functionality. To remember what extra methods exist and

RE: [fw-general] Speed up Zend framework

2008-11-03 Thread O'BRIEN, Steven X
Guys, Has anyone got some tips on how to speed up Zend Framework applications? I have noticed that using Zend framework although speeding up development time, does slow down the runtime app. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone

RE: [fw-general] Truncate String

2008-10-28 Thread O'BRIEN, Steven X
To: fw-general@lists.zend.com Subject: Re: [fw-general] Truncate String -- O'BRIEN, Steven X <[EMAIL PROTECTED]> wrote (on Tuesday, 28 October 2008, 04:47 PM -): > Ok, this is a very general. > > I am getting annoyed about all the strings I have to remember with the

RE: [fw-general] Truncate String

2008-10-28 Thread O'BRIEN, Steven X
Ok, this is a very general. I am getting annoyed about all the strings I have to remember with the Zend Framework. Things like: getValidator('Authorise') Or form factory methods: $username = $this->getElement('username') ->addValidator('alnum') ->setRequired(true) ->addFilter(