For a real-world analogy, think of your dog as an object. He has various attributes breed, fur color , size , and so forth. He also has actions that he is capable of performingbarking, running, jumping, whining. If your dog's name is Fido, his properties and methods would be referred to like this:
fido.breed = schnauzer; fido.color = gray; fido.bark(); fido.run();
Objects can also contain other objectsagain, just like your dog contains a tail and four instances of the paw object. In dot syntax, objects contained within other objects are referred to like this:
Just like your dog's tail would be referred to as
When you start working with Dreamweaver extensions, you'll discover that Dreamweaver provides a whole series of objects specifically for writing extensions. These include the dreamweaver or dw object, the site object, and the dom object.