|
Posted by Moot on 05/09/07 13:52
On May 8, 6:42 am, Tyno Gendo <you@localhost> wrote:
> Hi everyone
>
> I wondered what if any methods people here use to speed up their PHP
> code (ie. speed at which you produce your code).
>
> Things like 'code templates', 'base objects' for this and that?
>
> I thought it would be interesting to find out if I'm missing out any
> anything cool that could aid in speeding up development.
>
> Thanks.
First and foremost, a good IDE will save you gobs of time simply by
having autocompletion. (It'll also prevent accidental typos in
variable names).
You can get into code templates and whatnot, but sometimes I feel like
the time it takes to make the template ends up costing you more time
that it saves. I have a few code templates set up in Zend studio to
pop in some debug code that I delete once I find the problem, and that
is helpful, but I don't typically use code templates for production
code. My personal rule: if I have to rewrite the same logic 3 times,
then it's common enough that it belongs in a class or function, not in
a template.
Navigation:
[Reply to this message]
|