NYCPHP Meetup

NYPHP.org

[nycphp-talk] 40 Tips for optimizing your php Code

Kenneth Downs ken at secdat.com
Tue Oct 16 09:03:00 EDT 2007


Dan Cech wrote:
> Nelly Yusupova wrote:
>   
>> I just read 40 Tips for optimizing your php code post and wanted to share it
>> with you all:
>>
>> http://reinholdweber.com/?p=3
>>     
>
> Definitely an interesting article, but a little short-sighted.
>   

I would say incomplete, or perhaps cart-before-horse.

As many have pointed out, the big two are database optimization and size 
of return payload.  Everything else is single-digit percentages after that.

Once you've got the db stuff down though, it seems it can't hurt to 
develop habits to use code known to be slightly faster, like the 
single-quote vs. double-quote thing.



-- 
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com    www.andromeda-project.org
631-689-7200   Fax: 631-689-0527
cell: 631-379-0010

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20071016/9f683a17/attachment.html>


More information about the talk mailing list