|
Posted by jack jackson on 06/13/05 18:17
Thanks, Chris, I see what you're getting at. I'm not sure I
understand what you mean about looping through the array in the area
you specified- isn't that just the definitions of the vars? Or is that
what you meant and I'm missing the point!!?
On 6/13/05, Chris Ramsay <raz.net@gmail.com> wrote:
> Hey there Jackson,
>
> The first thing I would consider would be to see if you can classify
> the code into chunks that do a certain job, and then rewrite them as
> functions. I would also consider looping through arrays for repetitive
> jobs (lines 258 -> 270 for example).
>
> Down the line you could consider the use of classes, your own or ready
> made - such as the ever useful PEAR (http://pear.php.net). I
> personally found that the greatest saver of time to be the re-use of
> code that I know works well for given situations.
>
> HTH
>
> Chris
>
Navigation:
[Reply to this message]
|