Programming help: what are the advantages of using the document object model in web page design? - Help.com



This post left anonymously

what are the advantages of using the document object model in web page design?


This open post was written 4 months, 3 weeks ago | V/U/S: 117, 2, 3 | Edit Post | Leave a reply | Report Post


Reciprocity (0) Reciprocation Failure -- The poster has NOT helped anyone else yet!

Since writing this post Anonymous may have helped people, but has not within the last 4 days.

Post Tags (1)

Replies (2)

Where were you?

Click and drag to move the map around. FAQ: How we place people on this map »
You can also watch events on Help.com as they happen
Mouse over the map for 2 seconds to see an expanded, interactive view

Jr. offline Verified User (10 months, 1 week) Long Term User Shouts: 20 #
An Undisclosed Location | 4 months, 3 weeks ago (4 minutes after post)

Ah, ummmm, ahhhh let me see. Forget it, I don’t know.

Quote this reply Report this reply to moderators
Help me with: Is my shout box missing?
narou1 offline Unverified User #
An Unknown Location | 1 month ago (3 months, 2 weeks after post)

When you are aware of the advantages of DOM immediately you start using it in your web pages. DOM is useful because it is a smart way to optimize your website in order you don’t have to waste time writing a lot of code or having problems with your XML files. The Document Object Model (DOM) is capable to manipulate the data model only in memory and not the representation as XML. The DOM works with the tags of your website modifying them, inserting, or removing them. When you are developing websites in Asynchronous JavaScript and XML (AJAX) will have the opportunity to create dynamic pages, more efficient and without having to code a lot.

If a system is continually changing, or if you want users to be able to extend
it, then the Dynamic Object Model architecture is often useful. The
alternative is to pick a simple programming language that is flexible and easy
to learn. In fact, a Dynamic Object Model is a kind of programming
language. Visual Basic could be thought of as based on a Dynamic Object
Model, though its internals are hidden and it is hard to be sure.
Systems based on Dynamic Object Models can be much smaller than
alternatives. One architect told me that his 50,000 line system had more
features than systems written without a dynamic object model that took over 3
million lines of code. I am working on replacing a system with several
millions lines of code with a system based on a dynamic object model that I
predict will require about 20,000 lines of code. This makes these systems
easier to change by experts, and (in theory) should make them easier to
understand and maintain

Quote this reply Report this reply to moderators
This account has been deactivated.

Invite Others to Help

A logged in and verified Help.com member has the ability to setup a Friends List and invite others to help with posts.