·

Webdevelopment

Making the internet a more beautiful place day by day since 2006.

Ten days of Test Driven Development

  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 ...

Create a (MySQL) SSH tunnel from within Vagrant

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 ...

Unit testing Magento with the database

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 ...

Change Magento configuration on the fly

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 ...

How to keep the fun in webdevelopment

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 ...

Prevent the generic ‘Killed’ error in your PHP script

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 ...

How to make elements visible on scroll

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 ...

Create a simple notification bar with KnockoutJS

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 ...

PHP as a CLI language

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 ...

1 2 3 4 5 6