开发者

Folder structure, where to store forms

I'm using ZendStudio which creates an MVC structure for projects.

To create a form, I just create a PHP class and extend Zend_Form, but where is 开发者_Go百科the right location to have this form saved.

I've seen someone put it in

application/forms

with

application/models
application/views
application/controllers

Is this a best practice or is there a more logical location than this? What do you do?


application/forms is what Zend Reference Guide recommends

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜