SVN project folder tree structure vs production folder tree structure
Posted
by Marco Demaio
on Stack Overflow
See other posts from Stack Overflow
or by Marco Demaio
Published on 2010-06-16T09:31:43Z
Indexed on
2010/06/16
10:32 UTC
Read the original article
Hit count: 613
While developing a PHP+JS web application we always try to separate big blocks of code into small modules/components, in order to make these last ones as much reusable as possible in other applications.
Let's say we now have:
- the
EcommerceApp(an ecommerce main application) - a
Server-file-mgrcomponent (a component to view/manage file on server) - a
Mylib(a library of useful functions) - a
MailistApp(another main application to handle mail lists)
...
EcommerceAppneeds bothServer-file-mgrcomponent andMylibto workServer-file-mgrneedsMylibto workMaillistAppneeds bothServer-file-mgrcomponent andMylibto work too.
My idea is to simply structure the SVN project folder tree putting everything at the same level:
trunk/EcommerceApp
trunk/Server-file-mgr
trunk/Mylib
trunk/MaillistApp
But in real life to make these apps to work the folder tree structure must be the following:
EcommerceApp
|_ Mylib
|_ Server-file-mgr
MaillistApp
|_ Mylib
|_ Server-file-mgr
I mean Mylib and Server-file-mgr needs to be inside the EcommerceApp/MaillistApp folder.
How would you then structure the SVN folder, as I did or in a different/better/smarter way???
© Stack Overflow or respective owner