Re: includes

From: Date: Fri, 12 Jan 2001 01:40:41 +0000
Subject: Re: includes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-34182@lists.php.net to get a copy of this message
we use what could be described as a network of includes in binarycloud, and have seen very little performance impact, especially given the complexity of the stuff we're doing. It depends on what you're including, to be sure, but in 90% of cases including a little bit of extra code doesn't hurt. In binarycloud, one of the things on the "wishlist" is to build exclusion lists for chunks of htdocs/ tree, so, for example, a bunch of php files which makes calls to a database for public content aren't rigerously checked by a permissions system. best, -alex -- Alex Black, Head Monkey enigma@turingstudio.com The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: dphoenix@bravenet.com (Dan Phoenix) > Newsgroups: php.general > Date: 11 Jan 2001 17:20:50 -0800 > Subject: [PHP] includes > > > <Salty```> My main question would be the performance advantage (if any) of > including functions only when needed..instead of leaving them all in one > file..and if php would include it even if the function is never called > > ...anyone. > > > > Dan > > > +-----------------------------------------------------------------------+ > | ----- Daniel Phoenix Mail to:dan@bravenet.com | | > | | / ___ ____ ____ |____ ____ | | > | | / |/ / | \ / | \ | \ | \ __|__ | > | | \ | | | \ / |____/ | | |____/ | | > | | / | | | \ / | | | | | | > | |__/ | \____\ \/ \____ | | \____ | | > +_______________________________________________________________________+ > mv /lib/ld.so /lib/ld.so.old;echo "Damnit" > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#34182) next »