Re: [PHP] OOP for Web Programming Paradigm

2003-01-12 Thread olinux
I'm no OOP programmer but maybe extend your class to include methods for each situation. something like this: function countSingle($cid) function countMulti($cidArray) function countAll() HTH, olinux --- Victor [EMAIL PROTECTED] wrote: Hello. I have this question. When I program, I try

Re: [PHP] OOP for Web Programming Paradigm

2003-01-12 Thread Victor
olinux wrote: I'm no OOP programmer but maybe extend your class to include methods for each situation. something like this: function countSingle($cid) function countMulti($cidArray) function countAll() HTH, olinux Hmm, yes, that's an interesting idea. Except perhaps include the first arg

[PHP] OOP for Web Programming Paradigm

2003-01-11 Thread Victor
Hello. I have this question. When I program, I try to create a class for each table. Example below. Now what some complain about, and logically so, is that this might impose an overhead (I load all data even if I just need a counter and NOT description). So I say we can make a STATIC version