Search

Getting a native App feeling with HTML5, CSS3 and Javascript, Part 3

In this third part of how to get a native app feeling with HTML, Javascript and CSS we will build a basic but solid navigation system. This is where we start building our application and influence our know-how from part 1 and part 2.

While my colleague at Point Software, François Scheurer, is working on his next article of how to make a chess game in the Scala programming language, we will use our know-how gained in the last two parts of this series to build the frontend of the game.

Read more

Getting a native App feeling with HTML5, CSS3 and Javascript, Part 2

In the second part of this blog series I will introduce you to the terrible world of touch event handlers and working around mobile Safari’s behavior issues in JavaScript. Touch events are a very sensitive feature and therefore a good knowledge about the calling stack of the default events is required. I will also refer to a snippet which will give you an idea how to create splash screens and icons for your application.

Read more

eventer.js – Event and Task Management in Javascript

If you are building a big client-side Javascript application, things like custom events for GUI updates and their listeners can cause big headache. Especially if you are not managing them on a central place.

Javascripts only way to simulate custom events is a polling-like setTimeout() or setInterval() mechanism. I will not further explain why it is usually better to use a recursive setTimeout() instead of a setInterval(). If you want to learn more about their differeces, John Resig (the creator of jQuery) has written a very deep article about timers.

Introduction

Recursive function calls with a setTimeout() can be confusing when having 20+ timers. You better cache their timer-ID, otherwise you

Read more