RE: [PHP] Re: Best Practices Book, Document, Web Site?
| From: | Hansen, Mike | Date: | Tue, 02 Mar 2010 17:51:18 +0000 |
| Subject: | RE: [PHP] Re: Best Practices Book, Document, Web Site? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302486@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Bob McConnell [mailto:rvm@cbord.com]
> Sent: Tuesday, March 02, 2010 7:52 AM
> To: pan; php-general@lists.php.net
> Subject: RE: [PHP] Re: Best Practices Book, Document, Web Site?
>
> From: pan
> > ""Hansen, Mike"" <Mike.Hansen@atmel.com> wrote in message
> >>
> news:7941B2693F32294AAF16C26B679A258D0EFDC318@csomb01.corp.atm
> 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.