Re: [PHP] On large application organization [long and possibly bo

2005-01-07 Thread Jason Barnett
Bottom line: I always require_once at the top of a file for any files that I will require. No sense in doing anything else if the required files aren't there. For conditionally including files include_once() has always made the most sense to me. I'm not sure that's the best strategy: since inclu

Re: [PHP] On large application organization [long and possibly bo

2005-01-07 Thread Jason Barnett
the file is not even read! The include() method is not only more efficient but also easier to maintain as you suggest. The efficiency point is at least debatable -- opening and reading the file is actually quite an expensive operation, the cost of which may outweigh the A good point not to be tak

RE: [PHP] On large application organization [long and possibly bo ring]

2005-01-07 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 07 January 2005 00:20, Jason Barnett wrote: > That was what I thought also. However just to add to the > confusion: I > think require'd files were evaluated no matter what back

RE: [PHP] On large application organization [long and possibly bo ring]

2005-01-07 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 07 January 2005 00:37, Josh Whiting wrote: > Correction: include() statements are executed at *run time*, > which means > that if the case is not executed, the include will not b