Yes, we were tripping out for a while about not creating lots of functions
because we felt that calling a function in PHP 3 was relatively costly. I
think I have a short discussion about it in the first edition of my book.
I'll admit we may have been overly worried about it, though.
Anyway, function calls seem to be a lot faster in PHP 4, so it's not much of
an issue any more.
Would it be helpful to move all this stuff into functions? Yes! In fact,
that's what I've been working on for months as part of the FreeTrade 2
effort. The goal is to have no SQL or HTML in any screen or action module.
I'm almost done with the action modules. If anyone wants to help with this,
I'll provide CVS access. Grab a copy of the FreeTrade 2 first and see if
you understand what I'm doing. I'm also abstracting the database interface
to allow for easy porting.
Leon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]