Archive for December, 2011
Javascript: Converting a string representation of an object to an actual Object without eval
Posted by dda in Javascript on December 15, 2011
We all know that eval is evil, right? Every once in a while, I run across a situation where it is very tempting to just use “eval”, but in general I avoid it. Granted, there are acceptable reasons to use “eval”, but I have a hard time justifying a new instance of the JavaScript compiler […]
Don’t add hacks, make features!
Posted by dda in General Technology, SQL on December 10, 2011
Synopsis: Use SQL and a bit (sorry) of bit comparison to create a “Feature Framework” Is there a good way to add what amounts to nothing more than a HACK to your application? Probably not, but there are ways to mitigate the damage. I was recently given the task of modifying a well-designed client-server application […]