articles

Tutorial: Node.js and Express.js - Part I - Getting started

A couple of months ago a wrote a series of tutorials on scalatra. In this article, and a couple of follow ups, I'll do the same for Node.js together with Express.js.I don't think Node.js needs an introduction, since a lot has been written about this framework this last year. Express.js on the other hand, might not be so well known.

HAL 9000 Soundboard with HTML5, Canvas and HTML5 Audio

In the last month I've been experimenting with the Web Audio API. Currently I'm looking at how you can use this API to create robot sounds and was looking for a nice way to represent this. So as a quick side project I decided to create an animated HAL 9000 using HTML5 Canvas. In this article I'll quickly walk you through the steps how I did this.

Use COLOURlovers top patterns as random background for you web application

A couple of days ago I stumbled on the COLOURlovers site from the Android Play Store. This site provides a whole lot of beautiful patterns, colors and palettes and has tools to create them. I downloaded an app that randomly changes the background for my tablet, and really like the result. They really have a very beautiful set of patterns to use as a background:

HTML5: Use the pointer lock API to restrict mouse movement to an element

In this article we'll look a bit closer at one of the new web APIs that recently has landed in Chrome: the pointer lock API (http://www.w3.org/TR/pointerlock/). With this set API it is possible to lock the mouse on a specific HTML element. With the mouse locked, you can move your mouse all around, and it will never leave the focus of the element.

Tutorial: Getting started with scala and scalatra - Part IV

Welcome to the last part of this series of tutorials on scala and scalatra. In this part we'll look at how you can use Akka to handle your requests using an asynchronous dispatcher, how to use subcut for dependency injection and finally how you can run the complete API in the cloud. In this example I've used openshift from JBoss to run the API on JBoss Application Server 7.1. Now what have we seen in the previous tutorials:

Record audio using webrtc in chrome and speech recognition with websockets

There are many different web api standards that are turning the web browser into a complete application platform. With websockets we get nice asynchronous communication, various standards allow us access to sensors in laptops and mobile devices and we can even determine how full the battery is. One of the standards I'm really interested in is webrtc.

Pages