JavaScript OOP
Wednesday, March 7th, 2007As JavaScript is gaining in popularity due to Ajax, Object-Oriented Programming is becoming more and more important. If you are coming from a language such as Java, you'd have some difficulty grasping the JavaScript object model. Perhaps because there isn't one, really. But there's a way to accomplish most of the design patterns that you are accustomed from a real OOP language.
Let's look at this one item at a time.