Model testing using SQLite in-memory database with Zend Framework
In this post I am going to describe the method we set up with a few coworkers for testing models in Zend Framework projects. We are using fixtures to ensure our database is in a consistent state for...
View ArticleController testing with database fixtures in Zend Framework
Testing controllers with PHPUnit is not actually unit testing per definition, but more like automated integration testing, functional testing or acceptance testing. Whatever you want to call it, it...
View ArticleValidating data with triggers in MySQL
MySQL triggers can be used to create some validation conditions that are a little bit more complex than what can be achieved with basic data types and unique index for example. The reason why data...
View ArticleInstalling Jenkins CI server with GitHub integration for a PHP project
Here are the details how to install Jenkins CI server on a CentOS server (version 6.4 in this case) and set it up with GitHub integration so pushing to GitHub automatically triggers a build. Our...
View ArticleWhat’s new in PHP 5.5
So, why another “PHP 5.5 new features” post? I was doing research on the subject for a tutorial at work so I was digging through all the resources I could find on the subject anyway, so I decided to...
View ArticleWhat is Clean Code and why should you care?
Clean code is something that I have been interested in for a while now, and plan to write a series of blog posts about the different concepts related to clean code. In this introduction post to the...
View Article
More Pages to Explore .....