Re: Universaly Accepted Naming Conventions..?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, March 5, 2008 1:06 pm, John Papas wrote
> Are there any in PHP?
>
> It seems like there are those that draw upon the C/unix naming
> conventions and those that follow the Java/OO style.

There are several popular "standards" out there.

The PEAR coding standard and the Zend one tend to get mentioned a lot.

The most important thing is to be consistent yourself, rather than to
follow a specific standard.

Anybody halfway decent can follow what you did if you are consistent.

> Even PHP's native syntax (like function names pre/post v5) are not
> consistent.

They ARE consistent with the underlying libraries, which is more
important, really, because that means you don't have to waste hours
figuring out what PHP did to shoe-horn the other library's functions
into some other system.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux