Accessing Databases with PDO: A Primer
Monday, October 5th, 2009With the introduction of PHP 5, the PHP Data Object was introduced as core functionality. PHP 5.1 turned on a minimum level of support for SQLite, by default, and PDO supports most of the major database engines. PDO offers a number of enhancements and improvements over the various database libraries (e.g. mysql_*, mysqli_*, pg_*), the [...]
1:00 am | Comment (4) | Print | Categories: Best Practices, PHP 5, System ArchitectureConfiguring PHP: Essential INI Settings
Monday, September 28th, 2009When setting up a web server with PHP, there are a number of settings that are critical to consider. PHP 5.3 contains both a development INI file and a production INI file; however, users of older PHP releases (or those who don’t have direct control over their INI files) will want to pay attention and [...]
1:00 am | Comment (16) | Print | Categories: Best Practices, General PHP, PHP 5Why Interfaces Rock
Friday, September 25th, 2009When I first learned PHP 5′s object oriented syntax and rules, I didn’t see much of a point to the interface options. I felt that I could do more by defining abstract classes and at least filling in some of the methods with some details. Lots of people in the PHP world still aren’t 100% [...]
1:00 am | Comment (16) | Print | Categories: PHP 5Peer Review: You Have Not Because You Ask Not (Requests & Responses)
Monday, September 21st, 2009This entry is part of an ongoing series involving the review of a code sample and it’s refactoring. For the original code sample, see here. The topics discussed in this entry may be fairly advanced. Please feel free to ask questions, and discuss best practices. If you’ve been following this series from the beginning, take [...]
1:00 am | Comment (6) | Print | Categories: Best Practices, PHP 5, System ArchitectureThe Slow Death of PHP 4
Friday, September 18th, 2009Recently, I’ve been getting more and more into community-supplied code, since it’s generally been getting better. Namely, I’ve been exploring the PEAR offerings, and seeing what pieces I can integrate into my personal framework for development. One of these packages is the package called Log, which allows for easy logging of application events.
1:00 am | Comment (17) | Print | Categories: PHP 4, PHP 5
Web developer, amateur photographer, traveller, and amatuer chef. Expect to find me writing code, visiting new places or trying a new recipe. I live with my wife in Olney, Maryland. Follow Me On Twitter!- Excited About PHP Again
- Rethinking The Technical Resume
- We The State, Not We The People
- Working To Defeat the Stop Online Piracy Act
- Diversifying This Blog
- What do you want the web to be?
- Why I Love Being An Engineer
- Validation Blind Spots Hurt Real Users
- Finding A Job Without A Recruiter
- Why Recruiters Are Bad For Your Career
