HTML5: Server-sent events with Angular.js, Node.js and Express.js
I was playing around with Node.js and Express.js and happened to run across an article on server-sent events. Server-sent events is a W3C specification that ...
I was playing around with Node.js and Express.js and happened to run across an article on server-sent events. Server-sent events is a W3C specification that ...
In the last couple of weeks I’ve started working with AngularJS. AngularJS is a great simple framework that allows you to create complete web-apps in javascr...
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 Exp...
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 fo...
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 palett...
Just a quick article about the Clipboard API and how you can use this to quickly add copy and paste support for your applications. The clipboard API is a bi...
If you’ve read some of my other articles on this blog you probably know I’m a fan of HTML5. With HTML5 we get all this interesting functionality, directly in...
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...
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 ...
There are many different web api standards that are turning the web browser into a complete application platform. With websockets we get nice asynchronous co...
In a previous article I already wrote about the web intents API. At that time the web intents feature was very experimental, but already usuable. In this art...
This post is the third on a series of articles I’m writing on scalatra. In “part I” we created the initial environment, and in “part II” we created the first...
If you’ve read some other articles on this blog you might know that I like creating visualizations of various datasets. I’ve just started a small project whe...
One of the (many) advantages of working with the Play framework is that you can start the server and have your changes automatically reloaded. This makes dev...
In the previous part of the tutorial we created a simple application from scratch and setup Eclipse so we could edit the scala files for scalatra. In this se...
In this series of tutorials we’re going to look a bit closer at scalatra. Scalatra is a lightweight scala based micro-web framework, that can be used to crea...
In this article I’ll once again look at data / geo visualization with Three.js. This time I’ll show you how you can plot the urban population growth over the...
With Three.js it’s very easy to create 3D objects and render these using WebGL. In a couple of previous articles I already showed how you can create 3D maps ...
The final article on remote debugging web applications on mobile devices shows how you can do this using Opera Mobile. With Opera Mobile you can easily debug...
In the previous article I wrote about remote debugging web applications using chrome on Android. If you don’t want to use chrome or you want to test and debu...
With the latest versions of chrome debugging web apps running on smartphones and tablets has become a lot easier. This article shows you how to setup the req...
TL;DR: Play the game here (requires current Chrome, Opera of Firefox with webrtc enabled): Motion controlled space invaders A couple of days ago I ran acros...
n a couple of recent articles I’ve been using Three.js and d3.js to create 3D maps and visualize metrics. In the last week I combined a couple of these techn...
Three.js is a great library for creating 3D objects and animations. In a couple of previous articles I explored this library a bit and in one of those exampl...
The last couple of days I’ve been playing around with three.js and geo information. I wanted to be able to render map/geo data (e.g. in geojson format) insid...
A couple of months ago I needed to create a dynamic Word document with a number of tables and paragraphs. In the past I’ve used POI for this, but I’ve found ...
In this article we’ll show you how you can use the W3C geolocation API to measure the speed and the heading of your car while driving. This article further u...
If you’ve read any of my other articles you’re probably aware that I really like this whole “browser as the platform” concept. We can easily communicate with...
Compressing a PDF in Mac is very easy and doesn’t require any of the commercial tools out there. This isn’t an area I normally blog about, but when I needed ...
Update 19-01-2014: Well the adoption rate is very small. Firefox still supports this, but support has still not landed in Chrome (see here: https://code.goog...
In this tutorial we’ll look at how you can use three.js to render a 3D map of an image using webgl on a canvas element. In this example we’ll rasterize an im...
Most modern laptops automatically dim the screen when the light conditions in the room change. If there is a lot of light, the screen normally increases in b...
I recently ran across an article that was talking (again) about the Object-Relational mismatch. And just like in many articles this mismatch is called the O...
In my last couple of blog posts I showed you can use a couple of the new HTML5 related APIs (webrtc, web workers, device orientation) directly from your brow...
I’ve been experimenting with web workers and the various browser implementations. Most of the articles I’ve seen show an example where a single worker thread...
Yesterday I gave a presentation at JPoint’s meetingpoint on how to get your API or service from using the basic REST principles such as verbs and resources t...
In my previous article I showed how to use box2d-web and deviceorientation to rol around a set of circles using standard HTML5 APIs. My initial goal of that ...
When the first smartphones came out, they all had the traditional labyrinth applications. Application where you had to move a ball around a certain path by t...
When you have many services it is a good thing to register them somewhere so your consumers can easily find them, see what they are about, determine whether ...
Most people have already heard about SPDY, the protocol, from google, proposed as a replacement for the aging HTTP protocol. Webservers are browsers are slow...
In a recent article I showed how you can use webrtc, canvas and websockets together to create a face detection application whose frontend runs completely in ...
Through HTML5 and the corresponding standards, modern browsers get more standarized features with every release. Most people have heard of websockets that al...
In this article we’ll look at how you can connect from Scala to RabbitMQ so you can support the AMQP protocol from your applications. In this example I’ll us...
This article shows how you can use knockout.js, Twitter’s Bootstrap and d3.js together to create a javascript application that creates visually pleasing grap...
SPDY is a new protocol proposed by Google as a new protocol for the web. SPDY is compatible with HTTP but tries to reduce web page loading by using compressi...
When you talk about security for REST based APIs, people often point to HTTPS. With HTTPS you can easily protect your services from prying eyes using methods...
In my recent projects I’ve had to do a lot with certificates, java and HTTPS with client-side authentication. In most of these projects, either during testin...
I’ve been diving more and more into scala the last couple of months. Scala together with the “Play Framework” provides you with a very effective and quick de...
Every time I start with an embedded Jetty server, I can’t find any up to date documentation and have to mess around with old, obsolete and deprecated documen...
I just wrote a small post on how to setup Jetty to support client-side certificates (http://www.smartjava.org/content/embedded-jetty-client-certificates). To...
REST has become the standard way of creating APIs and exposing resources on the internet. Traditional web services (using SOAP and various sets of WS-* stand...
I’ve started diving deeper into scala and as a language I’m starting to like it. Combine it with the Play framework and you’ve got a nice, statically typed, ...
Once in a while I run into the problem where I don’t want to exclude a single dependency from a maven dependency, but all dependencies. For instance I recent...
When I develop web applications I like to be able to quickly start them from Eclipse without having to rely on all kinds of heavy-weight tomcat or glassfish ...
I've been playing around with d3.js a bit the last couple of days and it's a great little javascript library to visualize information. I needed a simple li...
In this two part article we’ll look at how we can use the WSO2 registry (http://wso2.com/products/governance-registry/) as the service repository for service...
Been a while since I looked at the new versions of Mule, so took some time this weekend to look at the new version of Mule. After a rather unexpected small d...