Archive for December, 2011

Javascript: Converting a string representation of an object to an actual Object without eval

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 […]

, , ,

Leave a comment

Don’t add hacks, make features!

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 […]

, , ,

Leave a comment