Code & the internet

Posts Tagged ‘namespaces’

Replace PHP functions using namespaces

I have recently spent a while learning about the new features of PHP 5.3.  One of the massive additions to the latest version is namespaces.  Simply put, namespaces allow you to group related constants, classes and functions together under a namespace, allowing you to have the same function name in 2 different namespaces and not [...]


Previously

Building a PHPDoc parser in PHP

This is the second in a series of posts about how I built Doqumentor – The Runtime PHP Documen


Using the PHP Reflection API to document your code

I have recently spent a bit of time writing a new PHP development tool for documenting code at runti


Exploring the iPhone’s accelerometer through Javascript

The iPhone has had an accelerometer in it since the start, allowing users to tilt the device and it