Re: good practice
| From: | Peter J. Schoenster | Date: | Fri, 15 Feb 2002 04:36:05 +0000 |
| Subject: | Re: good practice | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84860@lists.php.net to get a copy of this message | ||
On 14 Feb 2002, at 16:40, Michael Kimsal wrote:
> On that same topic, *why* do people name files with both .inc and
> .php?
> Your .inc file has PHP code in it, right? Why not just call it .php
> and
> spare the server reconfiguration. If knowing which files are
> "include" files (long time since I've made that distinction!) just
> prepend them with inc_ or put them all in an includes/ directory.
Heck, I've seen inc,cls,html,php3,php4
Whoever started this thread was on the right track. Where are the
global coding conventions for PHP?
http://www.linuxdoc.org/HOWTO/PHP-HOWTO-12.html
http://utvikler.start.no/code/php_coding_standard.html
Any othes out there?
I know I have my pet peeves about Perl but Perl, as hard as it may
seem, appears more rigid than PHP :)
Peter
http://www.readbrazil.com/
Answering Your Questions About Brazil