November 2007 Archives

Object Oriented Programming in Javascript

I wrote some stuff in Javascript now, but during the recent days I made a big step on my personal learning curve. I learned about how to do Object Oriented Javascript programming correctly. Until recently, I coded OO Javascript "by the book", which, to be honest, is no real object oriented programming at all. While reading the code of X-lib and mootools I understood that "by the book" makes no real object orientation. In this little article I discuss what I have learned.

© 2002-2016, Christian Glahn and Michael Valersi