On Thu, February 14, 2008 5:14 pm, Stut wrote:
> I'm only guessing, but instead of classes I would expect you to have a
> fair few files that contain lots of functions, correct?
No, just one file with a handful to a dozen functions, really...
If the site is designed correctly, each page is doing
Richard Lynch wrote:
On Thu, February 14, 2008 4:28 pm, Stut wrote:
Richard Lynch wrote:
If a website is complicated enough to need a class hierarchy, then
something is wrong in your Design. :-) :-) :-)
I don't think anything ever *needs* a class heirarchy, but I wouldn't
say using one indicat
On Thu, February 14, 2008 4:28 pm, Stut wrote:
> Richard Lynch wrote:
>> If a website is complicated enough to need a class hierarchy, then
>> something is wrong in your Design. :-) :-) :-)
>
> I don't think anything ever *needs* a class heirarchy, but I wouldn't
> say using one indicates a design
Richard Lynch wrote:
If a website is complicated enough to need a class hierarchy, then
something is wrong in your Design. :-) :-) :-)
I don't think anything ever *needs* a class heirarchy, but I wouldn't
say using one indicates a design flaw.
Classes themselves are an invaluable tool for cr
On Thu, 2008-02-14 at 15:21 -0500, Eric Butera wrote:
> On Thu, Feb 14, 2008 at 3:07 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> > On Thu, February 14, 2008 11:10 am, Eric Butera wrote:
> > > Just FYI the static keyword was quite popular in PHP4 for the
> > > singleton pattern. You could do
On Thu, Feb 14, 2008 at 3:07 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Thu, February 14, 2008 11:10 am, Eric Butera wrote:
> > Just FYI the static keyword was quite popular in PHP4 for the
> > singleton pattern. You could do something like:
>
> I have used and will continue to use the s
2008. 02. 14, csütörtök keltezéssel 14.07-kor Richard Lynch ezt írta:
> On Thu, February 14, 2008 11:10 am, Eric Butera wrote:
> > Just FYI the static keyword was quite popular in PHP4 for the
> > singleton pattern. You could do something like:
>
> I have used and will continue to use the static
On Thu, February 14, 2008 11:10 am, Eric Butera wrote:
> Just FYI the static keyword was quite popular in PHP4 for the
> singleton pattern. You could do something like:
I have used and will continue to use the static keyword in functions,
and will most likely never use a class in PHP...
If a web
Nathan Nobbe wrote:
On Thu, Feb 14, 2008 at 12:10 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
On Thu, Feb 14, 2008 at 9:50 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
On Thu, Feb 14, 2008 at 6:37 AM, Jochem Maas <[EMAIL PROTECTED]>
wrote:
> Nathan Nobbe schreef:
what you are using is poten
On Thu, Feb 14, 2008 at 12:10 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 14, 2008 at 9:50 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Feb 14, 2008 at 6:37 AM, Jochem Maas <[EMAIL PROTECTED]>
> wrote:
> >
> > > Nathan Nobbe schreef:
> >
> > > > what you are using is pot
On Thu, Feb 14, 2008 at 9:50 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 14, 2008 at 6:37 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> > Nathan Nobbe schreef:
>
> > > what you are using is potentially not what you think it is. you are
> > using
> > > a 'static variable' which is
Nathan Nobbe schreef:
On Thu, Feb 14, 2008 at 6:37 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
Nathan Nobbe schreef:
what you are using is potentially not what you think it is. you are
using
a 'static variable' which is not a static class member.
actually it pretty much *is* the same - the
On Thu, Feb 14, 2008 at 6:37 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Nathan Nobbe schreef:
> > what you are using is potentially not what you think it is. you are
> using
> > a 'static variable' which is not a static class member.
>
> actually it pretty much *is* the same - the static class
Nathan Nobbe schreef:
On Feb 13, 2008 8:44 PM, Nirmalya Lahiri <[EMAIL PROTECTED]> wrote:
--- Pauau <[EMAIL PROTECTED]> wrote:
I have a class method which declares a static variable
within.However,
across all the instances of the class, the current value on that
variable
replicates. Is it the
Pauau schreef:
I have a class method which declares a static variable within.However,
across all the instances of the class, the current value on that variable
replicates. Is it the intended functionality? Example: class A {public
function foo() {static $i=0;$i++;}}$obj1
On Feb 13, 2008 8:44 PM, Nirmalya Lahiri <[EMAIL PROTECTED]> wrote:
> --- Pauau <[EMAIL PROTECTED]> wrote:
>
> > I have a class method which declares a static variable
> > within.However,
> > across all the instances of the class, the current value on that
> > variable
> > replicates. Is it the in
--- Pauau <[EMAIL PROTECTED]> wrote:
> I have a class method which declares a static variable
> within.However,
> across all the instances of the class, the current value on that
> variable
> replicates. Is it the intended functionality? Example: class A {
> public
> function foo() {
17 matches
Mail list logo