Monthly Archives: June 2008

Taking a close look at inheritance and closures in Javascript

Let’s play with inheritance and closures in Javascript. Take a look at the following javascript code: function BaseClass(){ var id=200; this.Id=function(){ return id; } } function ChildClass(){ var id=500; } ChildClass.prototype = new BaseClass(); var childObject=new ChildClass(); In Javascript, inheritance is achieved using prototype. When we try to access any member on Javascript object, it [...]

Something useful: A WYSIWYG WordPress theme editor

Here’s an oldie but a goodie. Confounded by trying to track down fancy-looking WordPress themes? Check out this Web- based theme editor that lets you tweak every nook and cranny of a theme then spit it back to your server to go live. You can add columns, change fonts and backgrounds, even throw in a [...]

Is JavaScript more object-oriented than other programming languages?

Like this post? Publish It On Your Own Blog I started my career as a web developer before the dot.com crash. I learnt all about HTML, IIS, ASP, SQL Server and JavaScript. Equipped with the knowledge I built a few dynamic websites and carried my laptop with me to all my interviews and walked out [...]