driven, enthusiastic and a little bit geeky.

marnixkok.nl redesign This page had become a little stagnant. The information was still relevant, but I had completed quite a few new projects that I wanted to talk about. So, while updating the content I also redid some parts of the layout. Hope you like it!

marnixkok.nl redesign

marnixkokredesign

This page had become a little stagnant. The information was still relevant, but I had completed quite a few new projects that I wanted to talk about. Projects that I finished, articles I wrote. The site that was here before was a static HTML page. Hard includes, broken links, impossible to maintain!

I decided to create an actual backend for the site. During the last couple of years I have become proficient at building Ruby applications and I've come to rely on the functionality presented in the activeadmin gem which allows you to build some amazing edit screens for complex datastructures in minutes, not days.

Using activeadmin I was able to create a small CMS that:

  • allows me to define templates with field types that could be different per page;
  • have pages that relate to eachother and each have their own template type;
  • has a simple media database in which I can store and update my files.

It's really simple, not fancy at all, but it just works, and works better that many ad-hoc solutions I've created before. And the nice thing is, it all just works in Rails. I'm planning to write an article about this and release a gem with the code so anyone can use it. For now a small screenshot will have to do:

cms-page

Since adding content has become a leisurely stroll down a form, I'm planning on updating this page more often now!