News

If-elseif

Use Switch and Avoid Multi if-elseif statements

Selasa, 25 Oktober 2011
There are few coding practices that developers can adopt to improve the performance of their PHP based projects. Better scripts execute faster and reduce server load as well. Thus, reducing page load time. So, the argument is how to write a better script and which script is better. Some will argue that PHP is an interpreted language and has its own limitations. I am listing a few of the performance tips; though some are very common and are application to any programming...