html - Is the DOM API an object-oriented API? -


forgive lack of knowledge web-technology , web-related aspects , terminologies. 1 answer this question states the dom standards define interfaces implemented objects dom object tree in browser.

what i'd know that, notion of interface, implementation objects etc here same thing familiar in object-oriented-programming? in other words, dom api object-oriented api?

any language state , methods can coexist on data structures object-oriented. interfaces, classes , other features common statically typed oo languages aren't makes language oo. also, may not have interface feature in js, conceptually interface contract object must fulfill nothing prevent documenting such interfaces in js.

the dom api oo. actually, dom stands document object model. in other words, dom object-oriented solution problem of representing , interacting html , xml documents.

however, doesn't mean respects fundamental oo principles solid principles.


Comments