This is a story a of 2 developers who love their job. John is a passionate developer who likes to work punctual and precise. He loves test driven development because it gives him stability and guarantee in his work. He knows that it takes a bit more time and effort to setup, but he read further ...
Let’s say you have the scenario where you need to connect to a remote (MySQL) database. If you have SSH access to the server you can simply create a SSH tunnel and forward the MySQL port from the remote machine to a port on your local machine. For example: But what if you need to do this in read further ...
This year I want to dive more into unit testing in PHP. Writing good, test-driven code is important for the stability and guarantee of your project, but it also helps you – as a developer – sleep a little better at night. You might have seen earlier posts regarding unit testing in PHP in the past, read further ...
Sometimes you have a situation where you need to change the configuration of Magento on the fly. Just for your single request, without saving it. This can be easily done with the Magento configuration Model: If you want to change a configuration value on the fly on store-level, you can do this as follows: read further ...
As a programmer, your work can become a bit… boring sometimes. If you think you’ve lost al fun in your job as a webdeveloper, than read this post on how to turn that frown upside down.read further ...
I recently found myself in a task where I had to process 500.000+ rows from a database, each with a while set of columns. The first thing I tried to do was fetch it all in a single query and have PDO sent me a result. My server didn’t like this very much and gave read further ...
I recently got inspired by this article, where elements became visible (with nice and nifty animations) when the user started scrolling. Now I wanted to implement something like this in a project I’m currently working on, and a purist as I am I wanted to do this with nothing more than CSS3 transitions. The idea read further ...
In this article I am going to show you how to create a simple notification system with KnockoutJS. If you’ve never done something with KnockoutJS before, you really should. It makes creating rich, interactive snippets on your website so much easier, without having to worry all to much about the JavaScript behind it.read further ...
Some of you might already know this, but I use PHP as a CLI language quite often. And why not? It’s PHP, the language I know best. It has access to the file system so you can do all kind of magic with it. Like any shell script it’s great for maintenance, scaffolding or periodic read further ...