Ian Lewis
Dec. 21, 2014
I have been looking at JavaScript templating libraries recently for a personal project and I'd like to write about my thoughts here. Up until now, I had only really needed to use JavaScript on the client side, in the browser. While most librari[...]
July 22, 2013
Backbone.js is a neat little JavaScript model framework. It gives you nice way of making Models and allows you to fetch and save them to the server easily using a REST API. One of the nice things about Backbone is that for a while it has returne[...]
Dec. 26, 2012
I have been using PhantomJS and QUnit for a while now to run JavaScript automated tests. I like QUnit because has a decent in-browser UI but also has a nice extension API so you can create plugins and output in different formats if you like. Ho[...]
May 1, 2012
I have a love-hate relationship with JavaScript. Well, more hate and less love but I find myself conflicted when I write it. JavaScript simply makes it hard for me to write good code. As a little background, the JavaScript I write is almost excl[...]
April 26, 2010
Today I got an email from a friend on Facebook that suggested that I try out this application called "Only 4% of harvard grads can solve this riddle..". Being curious I took a look at it. The app starts out innocently enough, posing a riddle th[...]
Oct. 24, 2009
Today I released a feature on Smipple that allows you to embed snippets in blog posts and web pages. It uses javascript's document.write() to embed the html into the webpage. It looks like the snippet below. Enjoy!
Feb. 14, 2009
My coworker recently introduced me to one of the most blatantly bad behaviors in web browser history. He introduced it thus: Out[1]: simplejson.dumps({'foo': '<script>alert(document.cookie);</script>'}) Out[2]: '{"foo": "<script>alert(document[...]
Jan. 22, 2009
Earlier this week I came across the jQuery Pageslide plugin via Ajaxian and was impressed with the design. I set about using it to display help messages to the user for a site I am working on. It worked well and all but I found that you can onl[...]
Sept. 21, 2008
I recently quit using gwt and started using jQuery for a personal project of mine and I wanted to be able to show some modal dialog boxes using jQuery. As it turns out there is an easy to use plugin that does exactly this called jqModal. jqModal[...]
July 8, 2008
I wanted a convenient way to test out some javascript by running it in a browser and being able to play with it via an interpreter like python has. As it turns out the almighty Bob created a nice interpreter for playing around with Mochikit but [...]