 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
primeminister Site Admin

Joined: 16 Apr 2006 Posts: 92 Location: Netherlands
|
Posted: Tue Apr 18, 2006 11:49 am Post subject: Why a flat directory structure instead of a deep? |
|
|
| Why a flat directory structure instead of a deep? |
|
| Back to top |
|
 |
primeminister Site Admin

Joined: 16 Apr 2006 Posts: 92 Location: Netherlands
|
Posted: Tue Apr 18, 2006 11:50 am Post subject: |
|
|
In CVS, PEAR code is organized by package instead of hierarchical like it would finally be installed. For example, if you want to use the XML_RPC class, you include "XML/RPC.php". It's easy to think that in CVS, this file should be in pear/XML/RPC.php, but that's not the case. XML_RPC is an independent package with its own directory in CVS, in this case the RPC.php file is actually located at pear/XML_RPC/RPC.php. The package description file (package.xml) is used to say where the files should finally be installed.
The reason CVS is organized this way is that it makes package administration much easier. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|