RE: [PHP] Re: Best Practices Book, Document, Web Site?

[email protected] ("Hansen, Mike")
Newsgroups php.general
Message-ID <[email protected]>
 

> -----Original Message-----
> From: Bob McConnell [mailto:[email protected]] 
> Sent: Tuesday, March 02, 2010 7:52 AM
> To: pan; [email protected]
> Subject: RE: [PHP] Re: Best Practices Book, Document, Web Site?
> 
> From: pan
> > ""Hansen, Mike"" <[email protected]> wrote in message 
> >>
> news:[email protected]
> el.com...
> >> Is there a PHP Best Practices Book, Document, or web site that has 
> >> information similar to Perl Best Practices but for PHP?
> > 
> > Yeah, it's hard to find this stuff.
> > 
> > A google search on {+"Best Practices" +"PHP"} returned only
> > 4,340,000 hits.
> > 
> > Maybe, some day, someone will think to write something up.
> 
> The problem with this method is that scanning these results reveals
> conflicting and contradictory recommendations that are all over the
> place. Some are so old they may not even be valid PHP any 
> more. Reading
> even a small subset of these pages is an exercise in frustration. But
> that makes sense as there doesn't appear to be any consistency nor
> consensus within the community, or even within some of the larger
> projects.
> 
> Speaking of consensus, based on a recent discussion on the Perl
> Beginners mailing list, the Perl Best Practices book is now considered
> to be deprecated among the active Perl community. Many of its
> recommendations are obsolete and no longer used. It is long 
> past due for
> a major rewrite.
> 
> Bob McConnell

Yep. Perl Best Practices is due for a rewrite/update. I came across this page that attempts to update it:
http://www.perlfoundation.org/perl5/index.cgi?pbp_module_recommendation_commentary

For PHP, I'll stick with the PEAR recommendations and do the best I can with whatever is missing.

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.