RE: [PHP] Easy Question
| From: | Maxim Maletsky \(PHPBeginner.com\) | Date: | Sat, 06 Oct 2001 02:35:08 +0000 |
| Subject: | RE: [PHP] Easy Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70179@lists.php.net to get a copy of this message | ||
> When you write a php script to access a database,edit
> records, etc., is the entire thing 1 giant PHP page or a
> bunch of different ones?
A giant one
If it can be written both ways,
> which is the better way to do it?
Depends how big is your 'giant'.
It is all about your coding style, but it is advisable not getting over
500 lines - saves you a lot of developing time.
However, too many (7, 10, more) includes will become noticeable.
Not all is said by this, there are so many reasons why use this or that,
but generally it is up to your own coding style.
Maxim Maletsky
www.PHPBeginner.com