2008年11月21日星期五

Re: [fw-mvc] Project structure again

Thanks Matthew for your comment.

I`m following ZF coding standards and the structure itself is clear for me.
I just can`t see where the library in the example (in proposal) is shared
for all projects (project != module)

In the proposal I see shortly something like this:
<project name>/
application/
...
library/

So it looks like library is for "project name" only, isn`t it? Of course the
project may contain many modules. But on the same level where project_name
is I may want to have next project_name with another modules. Just a few
separate projects.
To have library dir shared for both projects I should remove library dir
from project name to the root path where each project is so:

root/
library/
project_x/
project_y/

right?

Maybe I`m just missing something in this structure :/
Thanks for clarification

P.S.
doing
root/
application/
project_x/
project_y/
library/
public/
project_x/
project_y/

is easier to set one access for each project by assigning privilages to
public dir only. The rest root dirs are not accessible from outside.

--
View this message in context: http://www.nabble.com/Project-structure-again-tp20621021p20630489.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: