Posts in Category: Web Design

My thoughts on web design and development

Barcamp Bangalore 8

Barcamp Bangalore 8 was announced sometime recently. So I headed to the Barcamp Bangalore site to check out the details and was shocked.

The site’s homepage has been changed to something so tacky, and my first reaction was, wtf, it’s so fugly. Ugh.. C’mon guys, do something better than that..

Anyway, Barcamp Bangalore has been announced for March 7th & 8th.. I’m booking my calendar today ;)

Book Review: Javascript: The Good Parts by Douglas Crockford

The phrase “JavaScriptmaster” and Douglas Crockford are considered synonymous in the web development world. When I heard that Crockford was writing a book on JavaScript, especially a guide to the better features of one of the most maligned (and perhaps abused) but popular languages in the current web development industry, I was sure I wanted to read that book. I opened the book with very high expectations and unsurprisingly, I was not disappointed one bit.

With the recent explosion in the usage of JavaScript, the interest in JavaScript is at an all time high. When Netscape, which created JavaScript, released the specification of the language in the mid-nineties, it was unable to define a robust and complete specification for the language due to pressures of rushing out a production release. As a result, fair chunk of the language is not well thought out which contributes to bad programming style and promotes some bad programming practices. It is not the programmers but the language which causes this. Programming models based on Global variables, JavaScript eval, inconsistencies in variable scope, and confusion regarding how objects are created and handled in JavaScript can all be the sources of programming errors and give rise to bad programming practices.

This book, as its name suggests, focuses on the “Good Parts” of the JavaScript while cautioning the readers against the “Bad Parts” of the language. All the  above mentioned “bad parts” and many other programming constructs are cautioned against in a two-part appendix.

Two other appendices also touch  on JSLint, the powerful JavaScript syntax and program correctness verifier and JSON, the preferred and increasingly popular text data exchange format. These two chapters give a taste and a starter for two very important support tools for JavaScript.

However, the meat of the of the book focuses on the better parts of the JS language. In ten chapters, Crockford explains why features like – JS inheritance model, prototypes, objects, arrays and how the language handles regular expressions – are very useful and make JavaScript a fairly powerful language in its own right. Object Oriented programming in JS, how methods and the prototype chain is handled and can be used to write clean and powerful code are all a must read for advanced JS programmers.

The language of the book is very simple and sprinkled with illustrative source code which makes understanding the concept in discussion easy to understand. That said, this is not a beginners book. This book is aimed at those who have programmed in JS and have a working knowledge of the language. Nevertheless, it is a highly recommended book for anyone looking to get into better and more powerful JavaScript programming.


Something is wrong with the blog.. The CSS and various javascript files are not being served by the server even though they appear to be present in the themes folder. And since there is no SSH or ftp access to my server, I cannot even check until I return home..


GPL is too restrictive

I want to base a theme on Sandbox but unfortunately it is based on GPL which I think is too restrictive. I would rather have it in LGPL/MIT/AFL (Even MPL) instead which are more open and non-restrictive.

Sigh.. I’ll have to look for another theme though I doubt any will match the awesome Sandbox. I wish Scott would provide dual licensing.

New Year – New look

I try to update the look of my blog fairly regularly (atleast more than my posting :D ). So with the new year, I decided that I needed a new theme, a new look for my blog AND a new name (the first change in my 4 years of blogging).

I’ve always thought that Red contrasts very well with both White and Black. So this time I was looking for a theme with atleast a splash of red. But what I found exceeded my expectations. Based on the wildly popular Hemingway theme, I now present Dawn. A stunning red and black theme by Milo and some beautiful and original artwork by Milo.

I have modified the theme to suit my needs and to show my Zooomr photos and also to fix a couple of bugs which Milo very patiently went through with me to correct. I am extremely grateful for her help.

And yes, I know that the new year was over a month ago but it was not long ago that I found the theme I really liked enough to switch. So here it is :)