If you’ve ever had to write a PHP page which displays data from a MySQL query, you’ve run into this problem before:
How do you design a system to elegantly separate database code from display code, and maintain a clean object-oriented structure?
Read the rest of this entry »
WP-Syntax is a fantastic WordPress plugin which automatically syntax-highlights source code in <pre> blocks for a large number of languages, using GeSHi. Unfortunately, styling WP-Syntax’s output can be a bit of a headache, particularly with regard to some undocumented functions.
Read the rest of this entry »
In this world of simple hacking tools, lost revenues and broken hearts, it pays to have your bases covered. One of the largest open hazards facing the beginning web programmer is SQL injection attacks, and this article will teach you the basics of safeguarding your fledgling development.
Read the rest of this entry »
I’ve always used Subversion (SVN) in C/C++/Obj-C development, but I’ve recently made the transition to using SVN for LAMP development as well, starting with my work on Darkroom. This affords greatly simplified testing, uploading and synchronization, as well as, of course, providing version control. Read the rest of this entry »