Home > General > Meanwhile, at the PHP world

Meanwhile, at the PHP world

November 22nd, 2009 Leave a comment Go to comments

fireplaceIn order to accomplish my goal of keeping this blog updated and grant me some good memories in the future, let me write down about what is going on in my small PHP world:

CakePHP

In my daily job we deal with tons of code written in the pre-framework era but I had a chance to experiment with CakePHP in the past months. I had a good time being involved in three side projects using the framework.

The documentation is good and written like a tutorial but some times you still need need to dive into the framework’s source code to get specific details about classes and methods.

Emacs PHP mode improved

I replaced php-mode for php-mode-improved. The improved version has fixed some bugs in from the previous version but it is sad to read:

;; This has been submitted to the php-mode maintainer, but I've not yet had a
;; response.

The (probably) most popular php-mode is abandoned.

Xdebug

I occasionally read Chromium’s tools written in Python and - as the newbie for life that I amĀ  - I wasted a significant amount of time adding print and exit statements to the code.

It was time to learn how to use a Python debugger and make life easier. Enters pdb.

It didn’t take long to look for a similar tool for PHP: xdebug.

I just wonder why I didn’t try to learn these tools earlier.

PHPUnit

This was something I was excited to do. To move all the crude test scripts to a test framework as dictates industry’s best practices.

Some tests were written using SimpleTest but after a few grep and sed commands they all work with PHPUnit now.

PHPUnit’s documentation is better and development is active. SimpleTest is stuck in version 1.0.1 since April 2008.

  1. No comments yet.
  1. No trackbacks yet.

Please insert the signs in the image: