Matthias Vandermaesen

Colada

Tales in web development written by Matthias Vandermaesen

Taking baby steps with AngularJS

I've been joining the AngularJS bandwagon lately. Why? Because modern browsers and devices can do so much more besides merely rendering static HTML. And client side frameworks are excellent companions for processig raw server side API output. Here's what I've come to learn.

Adventures in voxels and Javascript

A few weeks ago, I decided to try out something completely different: a foray in javascript and gaming. Colleague @frankbaele spent the better part of last year tinkering with JavaScript and basic game development. Pretty much inspired, I decided to try and do the same.

The Translated Entity Reference module

A few weeks ago, I ran into an issue with the Entity Reference module and the Internationalization suite. A client with a project featuring content in multiple languages, wanted the autocomplete widget only to show suggestions in the active language. On the surface, this didn't look like an exceptional request, but the process to devise a good solution became quite interesting.

Easily deploy WordPress with Capistrano and Composer

Over the past decade, I've been writing my personal lifelog on netsensei.be. I started out using Movable Type but switched to WordPress soon after. Deployment of updates has always been a nagging problem. I went through the painstaking motions using FTP, SCP and other tools. Oftentimes, I would forego an upgrade because the process of ugprading was just too time consuming.

Moving to new pastures

Say hello to the new colada.be. This site has gotten a complete overhaul. It's been redesigned and rebuild from scratch. It's one project I wanted to do over the fall season. Not only did I take the opportunity to try out several new hip tools such as Sass & Grunt, I also wanted to confront myself with my own creative process.

An introduction to the ctools modal API

So, I finally did a first screencast with my new gear. Over the past few months, I had to implement a so called 'modal' pop-up on occasion. These popups are used for instant actions: login forms, selecting stuff, etc. without reloading the entire page. The Chaos Tools suite contains a nice Modal API subset. Instead of using all kinds of 3rd party Javascript/CSS libraries, it's more practical to rely on CTools to get a popup. In fact, it's the same API used to create those fancy popup's you see when using Panels or the Panels In-Place Editor.

The agony of choice

Not so long ago, the toolbelt of any web developer was limited. Building for the web wasn't a very complicated affair. With a good understanding of PHP, HTML, CSS and Javascript, one could tackle most problems. The web wasn't a hard place to understand as the concept of a "website" entailed a collection of interlinked hypertext documents. Of course, there were the obvious frustrations with browsers and standards and most developers had there own idiosyncracies when it came to writing code. But the knowledge of a single developer encompassed all he needed to build an entire production ready website.

Bending Drupal Commerce add to cart form

The other day, I had to tweak the "Add to cart" feature which comes out of the box with Drupal Commerce. Adding and tweaking features in Commerce can be a bit daunting. The package contains a fully fledged API with several subsystems to handle orders, products, checkout,... It's easy to get lost if you are new. This article explores this use case and the particularities I had to go through.