Reply to Re: PHP "speed coding" tips

Your name:

Reply:


Posted by Mike P2 on 05/10/07 00:15

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.

Sometimes, using a (html) templating system (there are many,
http://smarty.php.net/ is the quintessence) can speed up your
development. Such things can also slow you down if used in the wrong
situation or in the wrong way. It might also keep you focused on the
PHP code when you are writing logic, and the browser code when you are
working on that. When I started using templating engines, I found that
I work more quickly. This can, in turn, increase page load time, but
alternatives to Smarty are often faster and worth the extra processing
requirements.

This is useless when writing a cron job, an AJAX serving script, a
reusable class, and a lot of other common things, but there are
probably more cases in which it can be used (not all when it /should/
be used).

-Mike PII

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация