开发者

PHP - MVC - Zend - Action files vs Class methods - performance?

I just wanted to ask if anybody knows some tests/results of the above?

It seems like one could perceive it as negligible, but since a PHP webserver is supposed to run under a high load... it could make a considerable difference.

It seems like its not that complicated to force Zend, to dispatch to action files...

"In most cases, however, you should simply extend the abstract class Zend_Controller_Dispatcher_Abstract, in which each of these have already been defined, or Zend_Controller_Dispatcher_Standard to modify functionality of the standard dispatcher.

Possible reasons to subclass the dispatcher include a desire to use a different class or method naming schema in your action controllers, or a desire to use a different dispatching paradigm such as dispatching to action files under controller directories (instead of dispatching to class methods)."

kind regards, and thanks in adva开发者_运维问答nce, kriscom

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜