Thoughts about code and other things that interest me
Ajax... JSON or Partial HTML?

Single Page web applications can be a good way to enhance a user’s experience. When developing single page web apps, what content type should you return in your responses? read more...

Comments
Auto loading php classes take two

My previous post describing auto loading classes in php, is getting a bit out-dated. Since then, some folks have gotten together to help standardize class loading resulting in PSR-0. Here is their sample implementation:
read more...

Comments
PHP Traits Example

The upcoming release of php 5.4 introduces traits.
read more...

Comments