Product & Tech Blog

search
expand_more
expand_more

Make your stuff look better – in 3 easy steps!

Blog post header

Many developers dread that final part of a project when they have coded up a brilliant piece of work and all that is left is making it look presentable. Unfortunately, it’s repeatedly proven that technical brilliance is easily overlooked unless it looks half decent and preferrably a bit unique. And

Communicating designs across departments and borders – the productivity & communication rig.

Blog post header

As an in-house design department we are always searching for tools to communicate new concepts, ideas and finished designs to management, journalists and decision makers.

Scrum? What a drag!

Blog post header

I attended a Scrum Master course at Crisp last week. These are some of my reflections from that course (which I recommend by the way). But first: why would I take a course on something I’ve been using for at least 5 years? I think it’s because I’ve seen so

iOS7-bug: Shows white page when getting 304 Not Modified from server

Blog post header

It seems like after Apple upgraded almost every line of code in the iPhone they also introduced a bug regarding browser cache in Safari. If your site takes advantage of the Last-Modified or ETag headers, you will probably run into this problem as well. The iPhone will send a If-Modified-Since

CSS: Block formatting context

Blog post header

Floats, absolutely positioned elements, block containers (such as inline-blocks, table cells, and table-captions) that are not block boxes, and block boxes with ‘overflow’ other than ‘visible’ (except when that value has been propagated to the viewport) establish new block formatting contexts for their contents. ~ W3C, CSS 2.1 Confusing? I

Avoid Dependency on 3rd Party Sources With Composer

Blog post header

Composer is the defacto standard dependency manager for PHP out there, also here in VG. We use it for not only our internal packages, but for all external packages like ZF2, Symfony, PHPUnit, etc. For the most parts it has been a pleasant experience, but it creates a hard dependency towards

Servant leadership — Why and how your leader should work for you

Blog post header

Historically, effective leadership has been characterized by a command-and-control approach to managing teams and solving problems; power, direction and autonomy was primarily reserved for higher ranks in the organization. Subordinates were encouraged to find a box to sit in and only influence the aspects of the process or company they

Dissecting Javascript clicks in UIWebView

Blog post header

In VG we make heavy use of UIWebView, almost all of our iOS apps is a mix between native code and HTML. This is nice and dandy for presenting all sorts of content – being a newspaper means tons of webpages with ads, frames, javascript menus and whatnot. Generally this

Inheriting configuration in Zend Framework 2 applications

Blog post header

When working on Zend Framework 2 applications you might come across situations where you need to differentiate the application configuration for the different application environments, be it development, staging, testing and/or production. This can be cache TTL‘s, Memcached hosts, Redis hosts, debugging levels and more. Instead of copy/pasting the complete

EditorConfig: Consistent coding style

Blog post header

If you’ve worked on more than one project in your coding career, you’ll probably have come across different coding styles. While some projects prefer an indentation of four spaces, others might prefer to only use two. Some may even use tabs. Then there’s line-endings, charsets and trailing whitespace. When you

Responsive CSS

Blog post header

The days when it was enough to create html stylesheets that work on one given screen width (eg 1024px) is over. As smartphones and tablets took the market, it was very common to have separate pages for such devices, like m.domain.com or touch.domain.com. Today, browsers are found on devices of

Using PHP’s built-in web server in Behat tests

Blog post header

Behat is a tool for running acceptance tests for your application. If your application is a web application you will need a web server to execute your tests. This is not likely an issue when running your tests locally since you probably have a web server running on the development