PHP & Web

One of the coolest and most terrible languages ever devised, with commands for everything and seventeen different ways of defining a string, ladies and gentlemen: PHP.

Apart from PHP this section will focus on all things webby. Here's a list of what this site has to offer:

Late static binding
A short note about late static binding and why it's indispensable for writing extensible code
Introducing WhiteBoxDB
Introduces the WhiteBox database access layer, built on PDO
Easier database access
Describes the reasoning behind the WhiteBoxDB project: an active record pattern for PHP, PDO, and MySQL
Static wrapper class
How php's new __callStatic() magic method lets you statically wrap around a dynamic class
Formatted text in xml files
Briefly discusses DTD file basics and introduces a small subset of html used for storing text & formatting.
Why exceptions rock
A short note about php's exception model, and why you should use it.
Javascript For...in
Highlights a problem with the Javascript For...in loop
Quick 'n Dirty Ajax Class
Introduces a very simple javascript XMLHttpRequest wrapper
Webdesign 103
Discusses different webdesigning tools and where to use them.
PHP Crawler
Provides the source code for a primitive web crawler in php, used to create site maps.
Webdesign 102
Paths and defining a site root
Webdesign 101
Some simple things it took too long to learn
Search II
Presents a way of indexing a local set of pages with active content
Email Address class
The third in a series of three easy classes for everyday use. Presents a class used to represent - and validate - an email address.
IPv4 class
The second of three easy classes for everyday use. This one represents an IP address using the (soon to be replaced) IPv4 specification.
Domain Name class
The first of three easy classes for everyday use. Represents a Domain Name and has methods for parsing and validating.
Bugtracker
Presents a class used to send errors & exceptions to admins, not users.
Search III
Presents a very simple text search
A PHP Library class
Presents a Library class used to make php/css/js packages for a modular approach to building websites.
Search I
Discusses some initial ideas on how to make a search function on the site
Templating & PHP
A short article on using PHP as a templating engine with some code examples