July 2008
8 posts
Lighten up your development with Lighthouse
Over the last year we’ve tried a lot of different applications to keep track of bugs and other issues, but none of those apps sticked with us. They were either not suited for the job (Basecamp) or to difficult and ugly (Trac, Bugzilla). But now I think that we finally have found a solution that just gets the job done: Lighthouse by activereload. Lighthouse’s tagline is...
Jul 31st
Active OLAP released
Remember my post about easy OLAP queries in Rails? I rewrote it almost completely and published is as a Rails plugin for anyone to use on github! It is now called: Active OLAP. Although it is a complete rewrite, the API I demoed in my previous post should still work with some small changes. The most important: you have to enable it for every class you want to use it on with the enable_active_olap...
Jul 29th
Easy search with ActiveRecord
A couple of minutes ago I released scoped_search, a Rails/ActiveRecord plugin that makes it easy to search your models. It is very easy to use: Install the plugin in your vendor/plugins directory from http://github.com/wvanbergen/scoped_search Add the gem to your rails environment.rb: config.gem 'wvanbergen-scoped_search', :lib => 'scoped_search', :source => 'http://gems.github.com'...
Jul 26th
Snack 2.0
Earlier this week we discussed a fast food snack that is available in Rotterdam called “Kapsalon”, literally “Hairdresser’s”. According to the urban legend, the name came into existence after employees from a hairdresser’s composed their favorite meal at the shoarma place next door. The “calorie bomb” contains french fries, shoarma, cheese and...
Jul 19th
Using setInterval in a JavaScript class
I just figured out how to use setInterval in a JavaScript class. This little snippet shows how I used setInterval in a recursive way. function MyClass() {} MyClass.prototype.doNext = function( pArray ) { clearInterval( this.interval ); if( pArray.length > 0 ) { // do something with the array record this.doSomething( pArray.pop() ); // call this function again in a couple of...
Jul 16th
Easy OLAP queries in ActiveRecord
Because I love statistics so much, I decided to add some neat statistics functionality to the Floorplanner administration interface, so we can get better insight in what is going on. Instead of writing complete OLAP SQL queries myself and adding a custom interface for each one of them so our management can use them (yes Jeroen, that means you!), I built an ActiveRecord extension to ease the work....
Jul 14th
Welcome back!
Welcome to our brand new Floorplanner tech blog! Here we will be posting all our little technical adventures while working on the Floorplanner. This blog focusses mainly on the technical side of the Floorplanner, so you can expect stories about Flash/Flex, Ruby on Rails, Papervision 3D, JavaScript and all other kinds of thingies we run into on a daily basis.  You might know that we did...
Jul 14th
Using git-svn
I personally am a fan of the git version control system. The best part of git is its speed, and the simplicity of using local branches. Local branches are very helpful if you are working on different features at the same time but want to keep them apart. An example: it happens all the time that I am working on some feature and than I have to put my current work aside to work on a high priority...
Jul 11th