Re: [PHP] calling functions from one or multiple files

2008-09-26 Thread Ashley Sheridan
On Thu, 2008-09-25 at 23:02 -0400, Robert Cummings wrote: > On Fri, 2008-09-26 at 02:10 +0200, Jochem Maas wrote: > > Ashley Sheridan schreef: > > > On Fri, 2008-09-26 at 01:05 +0200, Jochem Maas wrote: > > >> tedd schreef: > > >>> At 3:44 PM -0400 9/24/08, Robert Cummings wrote: > > Seems kin

Re: [PHP] calling functions from one or multiple files

2008-09-25 Thread Robert Cummings
On Fri, 2008-09-26 at 02:10 +0200, Jochem Maas wrote: > Ashley Sheridan schreef: > > On Fri, 2008-09-26 at 01:05 +0200, Jochem Maas wrote: > >> tedd schreef: > >>> At 3:44 PM -0400 9/24/08, Robert Cummings wrote: > Seems kind of silly to have every function in it's own file. Also seems >

Re: [PHP] calling functions from one or multiple files

2008-09-25 Thread Robert Cummings
On Fri, 2008-09-26 at 01:05 +0200, Jochem Maas wrote: > tedd schreef: > > At 3:44 PM -0400 9/24/08, Robert Cummings wrote: > >> Seems kind of silly to have every function in it's own file. Also seems > >> kind of cluttered ot have every function in one file. > >> > >> Now grouping related functions

Re: [PHP] calling functions from one or multiple files

2008-09-25 Thread Jochem Maas
Ashley Sheridan schreef: > On Fri, 2008-09-26 at 01:05 +0200, Jochem Maas wrote: >> tedd schreef: >>> At 3:44 PM -0400 9/24/08, Robert Cummings wrote: Seems kind of silly to have every function in it's own file. Also seems kind of cluttered ot have every function in one file. No

Re: [PHP] calling functions from one or multiple files

2008-09-25 Thread Ashley Sheridan
On Fri, 2008-09-26 at 01:05 +0200, Jochem Maas wrote: > tedd schreef: > > At 3:44 PM -0400 9/24/08, Robert Cummings wrote: > >> Seems kind of silly to have every function in it's own file. Also seems > >> kind of cluttered ot have every function in one file. > >> > >> Now grouping related functions

Re: [PHP] calling functions from one or multiple files

2008-09-25 Thread Jochem Maas
tedd schreef: > At 3:44 PM -0400 9/24/08, Robert Cummings wrote: >> Seems kind of silly to have every function in it's own file. Also seems >> kind of cluttered ot have every function in one file. >> >> Now grouping related functions into a single file... that's sounds like >> a good middle ground.

RE: [PHP] calling functions from one or multiple files

2008-09-25 Thread tedd
At 3:44 PM -0400 9/24/08, Robert Cummings wrote: Seems kind of silly to have every function in it's own file. Also seems kind of cluttered ot have every function in one file. Now grouping related functions into a single file... that's sounds like a good middle ground. Cheers, Rob. The Goldie

RE: [PHP] calling functions from one or multiple files

2008-09-24 Thread Robert Cummings
On Wed, 2008-09-24 at 13:58 -0500, Richard Lynch wrote: > > -Original Message- > > Right now I use one file, usually called functions.php, with all > > functions I'm going to use most likely on every page. > > Then, I create each function I'm going to use once in a while as > > separate fil

RE: [PHP] calling functions from one or multiple files

2008-09-24 Thread Richard Lynch
> -Original Message- > Right now I use one file, usually called functions.php, with all > functions I'm going to use most likely on every page. > Then, I create each function I'm going to use once in a while as > separate file. > Pro: I would include a function when I'm going to use. > Con:

Re: [PHP] calling functions from one or multiple files

2008-09-24 Thread Ashley Sheridan
On Wed, 2008-09-24 at 20:32 +0300, Thodoris wrote: > > > On Wed, 2008-09-24 at 12:37 -0400, b wrote: > > > > > Lamp Lists wrote: > > > > > > > Hi, > > > > Right now I use one file, usually called functions.php, with all > > > > functions I'm going to use most likely on every page. > > > >

Re: [PHP] calling functions from one or multiple files

2008-09-24 Thread Thodoris
On Wed, 2008-09-24 at 12:37 -0400, b wrote: Lamp Lists wrote: Hi, Right now I use one file, usually called functions.php, with all functions I'm going to use most likely on every page. Then, I create each function I'm going to use once in a while as separate file. Pro: I would include

Re: [PHP] calling functions from one or multiple files

2008-09-24 Thread Eric Butera
On Wed, Sep 24, 2008 at 12:28 PM, Lamp Lists <[EMAIL PROTECTED]> wrote: > Hi, > Right now I use one file, usually called functions.php, with all functions > I'm going to use most likely on every page. > Then, I create each function I'm going to use once in a while as separate > file. > Pro: I wou

Re: [PHP] calling functions from one or multiple files

2008-09-24 Thread b
Ashley Sheridan wrote: On Wed, 2008-09-24 at 12:37 -0400, b wrote: Lamp Lists wrote: Hi, Right now I use one file, usually called functions.php, with all functions I'm going to use most likely on every page. Then, I create each function I'm going to use once in a while as separate file. Pro: I

Re: [PHP] calling functions from one or multiple files

2008-09-24 Thread Ashley Sheridan
On Wed, 2008-09-24 at 12:37 -0400, b wrote: > Lamp Lists wrote: > > Hi, > > Right now I use one file, usually called functions.php, with all functions > > I'm going to use most likely on every page. > > Then, I create each function I'm going to use once in a while as separate > > file. > > Pro: I

Re: [PHP] calling functions from one or multiple files

2008-09-24 Thread b
Lamp Lists wrote: Hi, Right now I use one file, usually called functions.php, with all functions I'm going to use most likely on every page. Then, I create each function I'm going to use once in a while as separate file. Pro: I would include a function when I'm going to use. Con: I have to write

[PHP] calling functions from one or multiple files

2008-09-24 Thread Lamp Lists
Hi, Right now I use one file, usually called functions.php, with all functions I'm going to use most likely on every page. Then, I create each function I'm going to use once in a while as separate file. Pro: I would include a function when I'm going to use. Con: I have to write extra include line