2010年6月2日星期三

[fw-mvc] Subfolders within views/scripts

Hello -

Does anyone know if there is a way to avoid having subfolders within the application/views/scripts folder?
Currently, the default for Zend is to have an "index" subfolder with a corresponding "IndexController.php" file in the application/controllers folder.

I know you can put other subfolders in there in place of (or in addition to) the "index" subfolder, but this just adds extra to the URL that the user has to type in.

So.....for example.......

/application/views/scripts/index/main.phtml
/application/controllers/IndexController.php

Is there a way to avoid having the index subfolder?

Any insight on this is appreciated.

Thanks bunches.
Tina


--
Tina Matter

Tina Matter

Web Software Developer

Department of Mechanical Engineering

University of Michigan

734-763-3184

没有评论: