zend framework中的action helper和controller之间的关系。 - 拳不离手、曲不离口 - Speak with your code, my friend, not your word.

zend framework中的action helper和controller之间的关系。

clem posted @ 2010年8月05日 09:18 in Framework with tags php,zend framework , 1651 阅读

这两者就像护士和外科大夫的关系,外科大夫做手术,脑子里只想着应该怎么开刀,而不是想着刀在哪里,于是开刀的时候,想用什么一伸手就有了,谁提供的阿?护士,等到刀开完了,大夫拍拍屁股走了,人还开着膛呢,能就这么完了吗?但是大夫不管,谁管啊,还是护士。

action helper就像护士一样,负责准备好controller中action需要的一切,以及最后的善后工作,这样controller就可以专心的去实现逻辑了。

Avatar_small
Assam HS Syllabus Pd 说:
2022年9月27日 06:38

Department of Education & Government of Assam Higher Secondary Education Council is announced the state class 11th and 12th standard Arts, Assam HS Syllabus Pdf Science and Commerce course students for MIL and revised course with Curriculum government and private college students as AHSEC HS Syllabus 2023 Pdf to all Hindi and English Medium students.Department of Education & Government of Assam Higher Secondary Education Council is announced the state class 11th and 12th standard Arts


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter