If you haven’t tested LESS you should. LESS is not a new language or a technical replacement for CSS, it’s a way of implementing CSS as it was a more structured language. The development process is fairly simple, you write your LESS code in a LESS file that will be compiled into a CSS file that your browser can read. Before starting you’ll need two things: a syntax highlighter and a compiler.
Continue reading →
If you ever worked with YUI or Dojo frameworks, you must be familiar with this pattern, it consists on subscribing a widget’s event by supplying a method to run when the event occurs. The Observer or Pub/Sub (publish/subscribe) pattern is not new but has great effect in a language like JavaScript which is event driven.
Continue reading →
A versatile iterator, like the foreach, is a method that allows the iteration of Array, Objects or HTML elements (nodes) collections. Similar method exist in other languages, and can be very useful by using less code, optimized loops and profiting directly from the language enhancements.
Continue reading →
A few days ago, I’ve upgrade the mac ports that included an upgrade for subversion to version 1.7. The problem is that apps like Cornerstone or Netbeans that depend on version 1.6 stopped working
Here’s a quick a simple way to fix it: https://trac.macports.org/wiki/howto/InstallingOlderPort
A few months ago I’ve discovered Sublime Text 2, it looked nice, but I didn’t manage to have the time to look into it in more thoroughly, until now. Sublime Text 2 is awesome.
YUI Compressor is a very useful tool to compress code, JavaScript or CSS. Integrating java based tools in Sublime Text is pretty simple. Here’s how to integrate YUI Compressor.
Continue reading →