Posted by Chris Ramsay on 06/13/05 17:52
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]
|