Re: Splitting up pearweb/include/pear-database.php
| From: | Stig S. Bakken | Date: | Fri, 19 Apr 2002 14:11:46 +0000 |
| Subject: | Re: Splitting up pearweb/include/pear-database.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5674@lists.php.net to get a copy of this message | ||
On Fri, 2002-04-19 at 14:23, Martin Jansen wrote:
> Hi,
>
> pearweb/include/pear-database.php has become very big during
> pearweb developement (1226 lines currently). I suggest to
> split that file into the following structure:
>
> include/pear-database.php only contains the class-less functions
> and some additional include statements that load the following
> files:
>
> database/category.php
> database/package.php
> database/maintainer.php
> database/release.php
> database/note.php
> database/user.php
> database/statistics.php
> database/PEAR_User.php
> database/PEAR_Package.php
> database/PEAR_Release.php
>
> Any objections?
If there is going to be any point with a split, pear-database should not
include _all_ of these files, that would only make the whole site
slower. The box pear.php.net is running on right now has problems with
disk activity bursts, so I would rather wait with this change until
we've solved that.
- Stig