PHP

Eric Hogue on September 3rd, 2012

A few months ago, I wrote about continuous testing. When I wrote that post, I was using watchr to run my tests. A few weeks ago, I started using Guard instead of watchr and I wouldn’t go back. Reasons to Change One of the problems I had with watchr, is that it did not see […]

Continue reading about Continuous Testing in PHP with Guard

Eric Hogue on August 19th, 2012

A co-worker recently asked me how I stay current with new development in the PHP world. I started writing a document for him, then I though it might be a good idea to put this in a blog post. So here are a few of the resources I use. Most of them are about PHP, […]

Continue reading about PHP Resources

Eric Hogue on June 8th, 2011

Test driven development (TDD) is at the core of the Agile Methodology and Extreme Programming. This practice has been known for a while and a lot have been written on it. However, I still meet developers that don’t know what it is. I understand that many employers won’t let their employees write tests, but we […]

Continue reading about Test Driven Development in PHP

Eric Hogue on May 9th, 2011

In a previous post, I talked about Continuous Integration. If your Continuous Integration server runs on every commits, it will help you keep your code quality high. It will also make integration a non issue. However, when I make a mistake, produce sub-optimal code or if I write code that does not respect our coding […]

Continue reading about PHP Tool Integration (PHPsrc)

Eric Hogue on May 3rd, 2011

According to Wikipedia, continuous integration implements continuous processes of applying quality control — small pieces of effort, applied frequently. In simple terms, you verify that your project meets the quality standards frequently. This way, you can catch any deviation early. Doing the integration in small increments makes it easier. Implementing a continuous integration server can […]

Continue reading about Continuous Integration In PHP

Eric Hogue on April 14th, 2011

Late static binding is one of the new features of PHP 5.3. It came out almost 2 years ago, but it to me that many programmers around me have no idea about it. Myself, I have learned about it around 6 months ago. The PHP documentation defines late static binding as a way to “reference […]

Continue reading about Late Static Binding

Eric Hogue on March 30th, 2011

When developing web applications, we often run into performance issues. People often blame PHP or MySQL for bad performance, but in most case the answer is not that easy. Blindly trying to optimize random parts of our applications can lead to some uneven results. There are many available tools to profile a PHP application. Learning […]

Continue reading about Profiling a PHP Application

Eric Hogue on February 10th, 2011

I have been programming in PHP for 5 years now. I did not choose this language, I had to learn it to work on the code of the company my bosses bought. Since I started, I heard many rants about how bad PHP is. Some where valid, but a lot of them are just blaming […]

Continue reading about What I Love/Hate About PHP

Eric Hogue on February 2nd, 2011

Debugging a PHP application can be painful. When I have a bug in my code I tend to use echo and error_log to pinpoint the source of the problem. Then I can usually look at the code and figure out what my mistake is. But sometime the ability to step through the code is very […]

Continue reading about Debugging PHP In Eclipse