Product & Tech Blog

search
expand_more
expand_more

Using PHP’s built-in web server in your test suites

Blog post header

As of PHP-5.4.0 the CLI SAPI provides a built-in web server. The web server is designed for development purposes, and serves requests sequentially. This web server can come in really handy when the need for an httpd arises during (integration) tests. In this post I’ll use PHPUnit as the testing

WebGL DAE model viewer

Blog post header

3D modeling is pretty fun. I’m nowhere near an expert – in fact, I’ve only really used Sketchup. There was a time when I was really into it, making 3D-models for all sorts of PC components. The other day, I was looking at a WebGL demo made in three.js, and

Server-side Highcharts rendering

Blog post header

Highcharts is a fantastic tool for generating javascript-based charts. It’s flexible, fast and can be extensively customized. Recently, I had to find a way to render Highcharts as static images on the server as we wanted to attach charts in emails. The reason why we wanted to stick with Highcharts

Synergy + Norwegian keyboards

Blog post header

Synergy is a really cool application which lets you easily share your mouse and keyboard between multiple computers. I’ve been using it both at work and at home – having both a Linux and a Windows computer available in this manner is a pretty powerful setup. It does have a

Selenium tests

Blog post header

When we develop code at VG we have started to use Selenium tests for continuous integration. This allows us to easy write tests that programmatically checks that last commit didn’t break anything.

Hover state on touch devices

Blog post header

With an increasing number of users on tablets and smartphones, the need to take touch friendliness into consideration is greater than ever. Even though both the browsers and hardware are approaching desktop speed, there are still some issues with implementing web sites and web apps for these devices.

Capture The Flag!

A short time ago we released Capture The Flag; a set of web developer themed puzzles. There are ten levels for you to play with during easter. The toplist show the time of the ten fastest to solve the (at the time of writing) ten levels of the CTF. Maybe

Vektklubb Android-app available

We recently released an Android application for Vektklubb.no – a product that helps you lose weight, stay in shape and become healthier. The app is a simple WebView-based wrapper, but we hope this can help new and existing users discover the mobile version of the product. You can download the

VGTV available as XBMC plugin

Blog post header

If you are a user of XBMC (a free and open source media player / media center solution),   you might be interested in the recently released VGTV plugin for the platform.

Speed up websites using DNS prefetching

Blog post header

We recently added a couple of lines of HTML to our mobile website that potentially speeds it up for users with recent browsers (Chrome and Firefox, at the time of writing). The technique might not work for all sites, but it applied very well to ours. I’ll explain how and

Getting Bash Completion for Remote Subversion Paths

Blog post header

Do you want automatic completion for remote paths when using svn in bash? Do you want to switch easier between branches? I’ve written a small script that gives you autocompletion for all remote paths.

Using Elastica to query elasticsearch

Blog post header

The last couple of months I have been playing around with elasticsearch, an open source, distributed, RESTful search engine built on top of Apache Lucene. To interact with elasticsearch in PHP I have been using a client called Elastica. This was all fun and games until I needed to do