Separate concerns with queues

When you’re doing Javascript, you often find yourself listening to events, and then taking action upon what happened. Let’s take a classic example; the drag and drop effect. You have code that listens for the mousedown event which should signal that it’s time to start listening for the mousemove event. In the mousemove event listener [...]

Posted at 2009.08.20 | no comments; | Filed Under: Javascript | read on

A Javascript OO gotcha

Every now and then I run into this issue when I’m do OO in Javascript. It creates really wierd bugs that can make you want to rip you hair off (I have no hair left…), so I thought it might be a good idea to share it. It all boils down to the fact that [...]

Posted at 2009.08.13 | 1 comment | Filed Under: Javascript, Object Oriented | read on

AD Gallery – a jQuery gallery plugin

I got inspired by myself when I wrote the Editable Select plugin, so I decided to write another one. It’s a gallery plugin that’s a bit different than plugins like Thickbox and Lightbox.
You can see it here (it’s a work in progress, please be gentle).
After quite a lot of tweaking, bug fixing and making sure [...]

Posted at 2009.07.09 | 161 comments | Filed Under: Javascript | read on

An editable select list plugin for jQuery

For a job I did for a client for a couple of months ago, there was a need for a select list that could be editable. I found a plugin for it (don’t remember where I found it, unfortunately), and it worked, kinda. So this morning, I felt like writing such a plugin from scratch.
It [...]

Posted at 2009.07.07 | 16 comments | Filed Under: Javascript | read on

About

This is where I put my thoughts and ideas on software development, mainly Javascript (get it, Coffeescripter, Javascript… funny, right?). I’m a developer from Sweden, working with web development.

Code

Plugins, code snippets and other things can be found here.

Categories

Pages