Archive for May, 2008

If a method can be static, declare it static. Speed improvement is by a factor of 4.
echo is faster than print.
Use echo’s multiple parameters instead of string concatenation.
Set the maxvalue for your for-loops before and not in the loop.
Unset your variables to free memory, especially large arrays.
Avoid magic like __get, __set, __autoload
require_once() is expensive
Use full [...]

I’ve made it a goal to learn at least one useful thing each day so that I can stay sharp and well-versed on the topic of web development and design. To that end, here’s some of the websites I keep track of to find new techniques, resources, and news about building websites.
Most of these sites [...]


top