Five Cool PHP Array Functions
Wednesday, October 21st, 2009Time and time again, I come across code that contains a variety of array-handling functions that too often duplicate the work that the PHP core team has done to develop built-in array functions. Since the built-in functions are inherently faster, trying to reimplement them in PHP will inevitably be a performance problem. Here are five [...]
1:00 am | Comment (21) | Print | Categories: Best Practices, General PHPMicro Optimizations That Don’t Matter
Monday, October 26th, 2009Last week I wrote about some optimizations you can apply to your code that will improve the performance of your site significantly. I also mentioned that regularly an article pops up talking about ways to shave time off your scripts, and I talked about how these articles mostly are bunk. Like this one.
1:00 am | Comment (9) | Print | Categories: Best PracticesAdapting The Joel Test To Web Development
Wednesday, November 4th, 2009Nearly a decade ago, Joel Spolsky came up with a method by which to evaluate software development shops that has come to be known as the Joel Test. This crucial test evaluates a software development company on the basis of twelve criteria points; Spoksly said that “a score of 12 is perfect, 11 is tolerable, [...]
1:00 am | Comment (15) | Print | Categories: Best PracticesExceptional PHP: Introduction to Exceptions
Monday, November 9th, 2009A great feature of PHP is the ability to throw and catch exceptions. This feature was introduced in PHP 5, and has been around for years in other languages like Python.
1:00 am | Comment (9) | Print | Categories: Best Practices, Object-Oriented Development, PHP 5Suhosin: The Invisible Hand Of PHP
Wednesday, November 18th, 2009Last week, I received an email from someone who told me how the Suhosin patch had created problems for their team, and suggested that I write about it here. I thought this was a great idea, for a number of reasons. Particularly, Suhosin is one of those PHP patches that alters the way PHP operates [...]
1:00 am | Comment (8) | Print | Categories: Best Practices, Security
Web developer, amateur photographer, lover of the outdoors and travel. Expect to find me writing code, hiking or visiting new places. I own Blueprint DC and live in Washington, DC. Follow Me On Twitter!- Avoiding Notices: When to Use isset() and empty()
- Configuring PHP: Essential INI Settings
- Accessing Databases with PDO: A Primer
- To The New PHP Programmers…
- How To Write A Function In PHP
- Five Cool PHP Array Functions
- Micro Optimizations That Don’t Matter
- Adapting The Joel Test To Web Development
- Exceptional PHP: Introduction to Exceptions
- Suhosin: The Invisible Hand Of PHP
- (none)
