[thelist] php design question

Steve Lewis slewis at macrovista.net
Mon Nov 18 16:41:01 CST 2002


David U. wrote:
> Tom Dell'Aringa wrote:
>
>>I'm building an application that is going to reuse a fair amount of
>>code. I'm wondering if a) its bad form to have an include within an
>>include, and b) if I should be using an include for the get item as I
>>am doing below - see code:
>
>
> Two words; objects and classes. (see below)

IMHO: Don't believe the hype.  OO in PHP, is not 'there' yet and I would
advocate using functional programing techniques.  Nested includes work,
but so do functions.

This could be the topic of a religious war; I won't bother defending my
opinion in the hopes of sparing the list of unneccessary traffic.

--Steve




More information about the thelist mailing list