triptic

Weblog by triptic | Online Communication in Eindhoven

Archive of Onno Marsman

MySQL performance nightmares: Solr to the rescue

11 May 2011

For almost a year we have worked very hard on a huge project: Oneindig Noord-Holland. In case you were wondering why it’s been a bit quiet from my side: That’s why.

One of the key features of this website was its search feature. It’s going to be a huge collection of items of different types: stories, events, news, profiles, images, videos and a lot more… All these types of  items can have the same properties: title, author, description, tags, dates, date ranges, specific locations, location areas and links to other items. These items can also have content which contains text, images, videos, links to other items and more. As a visitor you need to be able to work your way through all these items and that’s where the search comes in.

(more…)

Moving wordpress using the ezmigrate plugin

29 March 2010

Following up on my rather complex post about how the ezmigrate plugin came to life, this will be a simpler tutorial style post in which I will explain how to actually use the ezmigrate plugin to move or migrate your wordpress installation.

(more…)

Simulating closures in php versions prior to php 5.3

28 March 2010

Now that PHP 5.3 has closure and lambda function support, we all would like to use it. However, not all of us are able to do so because we are still stuck with hosting providers not able or willing to upgrade to PHP 5.3. Wanting to use closures myself on servers that only support PHP 5.2 I came up with a solution to be able to use closures in PHP 5 versions prior to 5.3:

(more…)

ezMigrate plugin for WordPress

3 March 2010

While setting up a development environment last month for an extensive blog using WordPress I once more encountered a problem which I ran up against every single time I had worked with WordPress. The absolute urls stored in constants, options and post contents got in my way again. Now it was the time to find a solution for this and take matters into my own hands.

(more…)