Re: Optimizing Help
| From: | Chris Ramsay | Date: | Mon, 13 Jun 2005 14:52:41 +0000 |
| Subject: | Re: Optimizing Help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216887@lists.php.net to get a copy of this message | ||
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