webdev

RISON, a compact JSON specially suited for URIs

 - Tagged as

I was looking for a way to efficiently pass data between cross-domain iframes using the location hash trick. The first thing that I checked was JSON but the payload gets huge when url encoded, then I tried with base64 encoding which helps but not very much. Finally I found RISON which in short is nothing more than a reformulation of JSON's control characters to make them more URI friendly.Read more

A web development environment (III) - Firefox

 - Tagged as

Firefox is a great browser and is also a great development tool in itself. There are some problems though with the numerous extension available to developers. They are a great resource when programming but they slow down (and in some scenarios they might even break) our normal web browsing.

So the idea is to have a normal Firefox installation to use as our browser and then a separate install (and profile) used only for development purposes. This way we can install tons of development related addons without worrying about slowing down our normal browsing.Read more

A web development environment (II) - Cygwin

 - Tagged as

Following with the series I will introduce in this chapter Cygwin.

Cygwin is an excellent collection of Unix utilities and programs ported to Windows. While its ‘emulation‘ of an Unix like environment is quite good I actually don’t use it. I install it just for the helpful utilities it has.Read more

A web development environment (I) - The introduction

 - Tagged as

Disclaimer: This will be a series of posts dedicated to document my current development setup. This setup tries to be the one of a Ninja. It won’t end up with a bunch of boring application windows typical of a bald engineer. It also won’t be a group of black terminal windows running vi as a pseudo operating system like the average geek wannabe.Read more

Xdebug bookmarklet

 - Tagged as

Nothing really new since there is already a firefox extension which does just the same, but I also wanted to support other browsers.

So this bookmarklet toggles the cookie Xdebug uses to check if it should debug the running script or not.Read more