Quantcast
Channel: Cvuorinen.net » Programming
Browsing all 6 articles
Browse latest View live

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 Article



Controller 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 Article

Validating 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 Article

Installing 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 Article

Image may be NSFW.
Clik here to view.

What’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 Article


What 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
Browsing all 6 articles
Browse latest View live




Latest Images