NYCPHP Meetup

NYPHP.org

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

Anthony Wlodarski aw at sap8.com
Tue Oct 16 09:07:14 EDT 2007


Can you point me in the right direction for articles pertaining to database optimization techniques?

 

Anthony Wlodarski

aw at sap8.com

 

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Kenneth Downs
Sent: Tuesday, October 16, 2007 9:03 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] 40 Tips for optimizing your php Code

 

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/f63d530d/attachment.html>


More information about the talk mailing list