2013-02

The Edge 2013 videos are online

[2013-02-13] dev, webdev, video
Edge 2013 was a web development conference that took place on February 9, 2013, in London. Its approach was different from most conferences. Quoting the website:
Edge is a different kind of conference, for developers with experience to share, who want to see and bring improvements to the web platform. Our emphasis is on creating a good environment for productive debate and discussion, rather than presenting the experiences of a single speaker.

Each themed session is an hour long, and starts with a maximum 10 minute talk by an expert in that topic, outlining the current state of the platform in that area. [...] The remainder of the session will be given over to an open but structured discussion, with a professional moderator and a panel of seasoned developers who have in-depth knowledge of the subject. [...]

Session participants will include [...] a notetaker to record the discussion so we can share it on the web later.

JavaScript’s regular expressions are more fun with XRegExp

[2013-02-12] dev, javascript, jslib, jslang
Reminder: As soon as your JavaScript regular expressions become more complicated, you should probably use Steven Levithan’s XRegExp library. The cool thing about XRegExp is that it internally compiles its extended regular expressions to normal regular expressions, meaning that they are fast. Let’s look at some of XRegExp’s highlights, quoted from the XRegExp website.

Learning JavaScript via other languages

[2013-02-06] dev, javascript, jslang
Looking back on my life, three programming languages prepared me well for JavaScript (which has some challenging aspects):

JavaScript: fixing categorization

[2013-02-03] dev, javascript, jslang
Categorizing values in JavaScript is quirky. This blog post explains the quirks and one approach to fixing them. To understand everything, it helps to be familiar with how values are categorized in JavaScript. If you aren’t, consult [1].

2013-01

parseInt() doesn’t always correctly convert to integer

[2013-01-29] numbers, dev, javascript, jsint, jslang
In JavaScript, all numbers are floating point. Integers are floating point numbers without a fraction. Converting a number n to an integer means finding the integer that is “closest” to n (where “closest” is a matter of definition). You might think that parseInt() performs this task, but it doesn’t. At least, not always.

JavaScripts 12 größte Fallgruben

[2013-01-27] dev, javascript, deutsch, jslang
[Dieser Blogpost ist die Langversion eines Artikels im CHIP Web Design 2013.]

JavaScript ist eigentlich eine recht kompakte Sprache. Wenn es nur nicht all diese Fallgruben gäbe... Dieser Artikel erklärt die 12 größten und wie man am besten mit ihnen umgeht. Zur Lektüre werden grundlegende JavaScript-Kenntnisse vorausgesetzt. Wir halten uns an die aktuelle Version von JavaScript, ECMAScript 5.

Web development: 2012 and forward

[2013-01-22] dev, html5, webdev
Functionn is a blog on open source web development. Today, they published an interview with me and several other people (including DailyJS’s Alex R. Young) covering various web-development-related topics. They asked the following questions:

Categorizing values in JavaScript

[2013-01-20] dev, javascript, advancedjs, jslang
This post examines four ways in which values can be categorized in JavaScript: via the hidden property [[Class]], via the typeof operator, via the instanceof operator and via the function Array.isArray(). We’ll also look at the prototype objects of built-in constructors, which produce unexpected categorization results.

Responsive web design versus adaptive web design

[2013-01-16] dev, web design, webdev
This blog post looks at the difference between responsive web design and adaptive web design. Before we can get started, we need to define another concept: progressive enhancement.

Graph search: Facebook as a database

[2013-01-15] semantic web, social, computers, facebook
Today, Facebook introduced a new feature called “graph search”. This blog post explains what it is. It is based on the Verge’s liveblog of the event.