Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why a flat directory structure instead of a deep?

Deep directory flat structure
0
Posted

Why a flat directory structure instead of a deep?

0

In SVN, 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 SVN, 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 SVN, 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 SVN is organized this way is that it makes package administration much easier.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123