Refactoring our frontend development stack

At Code Yellow we write frontend heavy apps. This means that the browser is responsible for all the rendering, and the backend only handles API requests.

In the last few weeks we have been busy refactoring a large part of ...

Tagged ,

Passing variables from server to client using RequireJS

It's quite common to pass variables from server to client. Common uses are bootstrapping data, syncing config setting etc. Consider the following scenario: a single page app where a user logs in and refreshes the current page. You want ...

Tagged ,

Coding style guide



The 2 most used languages at Code Yellow are

  1. PHP
  2. Javascript

PHP has PHP-FIG which is becoming more commenly accepted ...

Tagged ,

jQuery 1.10.1 and 2.0.2

JQuery has released not 1 but (oh joy!) 2 versions! Check out the jquery site and specifically the changelog for more details. The 2.x branch does not support IE 6, 7 or 8 (and other IE running in compatibility ...

Tagged , ,

Marionette loading data


Marionette eases the use of Backbone tremendously. Using the different view types gives you more time to focus on building applications.

One ...

Tagged , ,

Dependency managers

Using other peoples libraries saves time and effort so that you as a developer can focus on the true task at hand. A problem that quickly becomes apparent is managing dependencies on libraries. For example, if you use jQuery then ...

Tagged , , , , ,


During my travels on the programming wasteland, I occasionally find useful libraries. This page will continuously be updated with new libraries. Each library will also have a small post describing the how to use it and why it's useful ...

Tagged , , , ,


Almost every project needs some sort of decimal input (such as quanity) and decimal point conversion/detection is not my cup of tee which is why I use autoNumeric. After the form is available in the DOM, the first thing ...

Tagged , ,


User input is an important part of any program. In web applications forms are almost always present to capture user data. Serializing form data is an everyday task, and $.serializeObject makes life so much better than $.serializeArray. See example below ...

Tagged , ,