AmanKing

OOP in JavaScriptControl PanelChange LogBrowse PagesSearch?

OOP in JavaScript

I've been using JavaScript since I don't know when. I've done a lot of pretty neat stuff with it but my approach has mostly been as follows:

  1. I need something to be done
  2. I use what I know about JavaScript to think up a way of doing it
  3. If I get confused about certain properties of certain predefined objects that I know, I search for them on the Net
  4. I get the job done

I've now realized that something's darn wrong with my approach regarding JavaScript! I've used up many could-have-been-fruitful years doing JavaScript stuff with only what I already know. I should have gotten to know the intricacies of JavaScript better and explore what all is there.

With the advent of AJAX and Web Services, I've started taking a closer look at JavaScript.

I've started by learning how to make better use of JavaScript's OOP features.

Here's a good link to get started: http://devedge-temp.mozilla.org/viewsource/2001/oop-javascript

Also here is some very basic info that says that everything in JavaScript is an object and every object in JavaScript is actually a hashtable! Smile

For a more complete coverage of JavaScript, check this out: http://www.crockford.com/javascript/survey.html

Tags: technology:javascript Last modified 06:36 Sun, 3 Dec 2006 by AmanKing. Accessed 279 times Children What Links Here share Share Except where expressly noted, this work is licensed under a Creative Commons License.