Re: on the coding standards - Re: [PEAR-DEV] PEAR Group June 24 2007 Meeting Minutes

From: Date: Tue, 10 Jul 2007 01:44:38 +0000
Subject: Re: on the coding standards - Re: [PEAR-DEV] PEAR Group June 24 2007 Meeting Minutes
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47353@lists.php.net to get a copy of this message
----- Message from borz_off@cs.msu.su ---------
    Date: Mon, 09 Jul 2007 21:39:29 +0400
    From: Alexey Borzov <borz_off@cs.msu.su>
Reply-To: Alexey Borzov <borz_off@cs.msu.su> Subject: Re: [PEAR-DEV] on the coding standards - Re: [PEAR-DEV] PEAR Group June 24 2007 Meeting Minutes
      To: Arnaud Limbourg <arnaud@limbourg.com>
      Cc: Alan Knowles <alan@akbkhome.com>, PEAR developer mailinglist <pear-dev@lists.php.net>
Hi, Arnaud Limbourg wrote:
"*_once including of files not allowed" - Requires autoload() mechanisms, which are not considered by all to be the best mechanism for loading files and documenting code.. - This is a significant change and would need serious backing by all members.. I think a long time ago someone proposed class_exists(.....) ? false : require_once '......'; This seems a better compromise - as it solves 2 problem with one shot. - although an import statement would be better......
The issue trying to be solved here is to be opcoce cache friendly.
I'd really like to see something like "developer X, who maintains opcode cache Y, suggests this approach in his (tutorial|presentation|article) which can be read at [Z]." here, not just vigorous handwaving.
I mentioned this in my first email but to spell it out: Rasmus Lerdorf's LCA2007 PHP presentation 'Better Web Apps with PHP 5' slide 11 contains the numbers you want. http://talks.php.net/show/lca07/11 Or any of his presentations for the last year, I use the LCA2007 one simply because I was there Adam Ashley

« previous php.pear.dev (#47353) next »