Re: [PHP] PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread Robert Cummings
clanc...@cybec.com.au wrote: I have a flexible program, which can do many different things according to the type of data it is fed. Ideally the flexibility is achieved by calling different functions, though when the functionality is ill-defined I sometimes just include blocks of code. Ideall

[PHP] PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread clancy_1
I have a flexible program, which can do many different things according to the type of data it is fed. Ideally the flexibility is achieved by calling different functions, though when the functionality is ill-defined I sometimes just include blocks of code. Ideally, from the point of program ma

Re: [PHP] PHP programming strategy

2009-08-02 Thread Eddie Drapkin
On Sun, Aug 2, 2009 at 2:24 PM, Larry Garfield wrote: > On Saturday 01 August 2009 11:01:11 pm Eddie Drapkin wrote: >> > I actually benchmarked that once.  I had a reasonably large PHP file that >> > was, in fact, over 50% docblocks.  That's not even counting inline >> > comments.  While trying to

Re: [PHP] PHP programming strategy

2009-08-02 Thread Larry Garfield
On Saturday 01 August 2009 11:01:11 pm Eddie Drapkin wrote: > > I actually benchmarked that once. I had a reasonably large PHP file that > > was, in fact, over 50% docblocks. That's not even counting inline > > comments. While trying to find things to optimize, removing about 800 > > lines worth

Re: [PHP] PHP programming strategy

2009-08-01 Thread Paul M Foster
On Sun, Aug 02, 2009 at 11:25:40AM +1000, Clancy wrote: > Is anyone here interested in discussing programming strategy, or or know > of a discussion > group which is interested in the subject? > > The sorts of questions I am interested in are: > > 1. I have a highly variable program which always

Re: [PHP] PHP programming strategy

2009-08-01 Thread Eddie Drapkin
> I actually benchmarked that once.  I had a reasonably large PHP file that was, > in fact, over 50% docblocks.  That's not even counting inline comments.  While > trying to find things to optimize, removing about 800 lines worth of comments > (all of the docblocks) did, in fact, produce a noticeab

Re: [PHP] PHP programming strategy

2009-08-01 Thread Larry Garfield
On Saturday 01 August 2009 8:25:40 pm Clancy wrote: > Is anyone here interested in discussing programming strategy, or or know of > a discussion group which is interested in the subject? > > The sorts of questions I am interested in are: > > 1. I have a highly variable program which always shows th

[PHP] PHP programming strategy

2009-08-01 Thread Clancy
Is anyone here interested in discussing programming strategy, or or know of a discussion group which is interested in the subject? The sorts of questions I am interested in are: 1. I have a highly variable program which always shows the same page, but which includes different modules to give di