|
Posted by David Segall on 05/18/06 18:51
Bob <bob@bob.org> wrote:
>David Segall wrote:
>> Bob <bob@bob.org> wrote:
>>
>>> Afifov wrote:
>>>> Hello this maybe out of context, but there is no group here for this.
>>>>
>>>> I dont have any freaking idea about DOM and how to use it. Can anyone
>>>> point me to some places for the layman or begginer? I know xml though.
>>>>
>>>> Thanks
>>> DOM = CSS + Javascript, or Dynamic HTML (DHTML). Just to give you an idea.
>
>> It would be the wrong idea. This article contains a lucid account of
>> what the Document Object Model actually is.
>> <http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro4/>
>
>For a nonprogrammer, nonwebdesigner type, it would not be tremendously
>far off. See:
>
>http://www.w3.org/DOM/
I can see how you were misled by the W3C summary because it confuses
the definition with the usage of the DOM. The only useful part of the
"What is the Document Object Model?" paragraph is "The Document Object
Model is a platform- and language-neutral interface". The idea behind
the DOM is that it is a definition of a data structure; how you access
that data is irrelevant.
It is true that most readers of this group would populate a Document
Object Model using CSS and [X]HTML and may access it or alter it using
Javascript. However, if you were writing a browser you would access
the DOM using C++ or Java.
Forgive me for being pedantic about this. I feel it is important to
distinguish between the way the data on a web page is represented -
the DOM - and the way it is accessed (CSS, HTML, Javascript, Java
etc).
Navigation:
[Reply to this message]
|