[Javascript] DOM vs AJAX
Mike Dougherty
mdougherty at pbp.com
Tue Jun 20 08:13:29 CDT 2006
Are you using AJAX instead of server side include (SSI) ? If you have html in a file that you
want to be part of the document, you could include it into the original source html - no AJAX
necessary. (this supports David Dorward's suggestion that AJAX is an overhyped buzzword)
So you want to make a more interactive experience without round-tripping form submissions. You
can include various 'panels' and manage their state via javascript. DHTML still does not require
AJAX.
xmlhttp is a great tool to enable your browser apps to enter fat desktop client-server world.
Hopefully by that point you have executed robust DHTML applications. Using AJAX just to say you
have done it probably is using the wrong technology for the job. (You can use a hammer to drive a
screw into wood, but a screwdriver is much better)
On Tue, 20 Jun 2006 10:21:28 +0200
"Michael Borchers" <list at tridemail.de> wrote:
> when i discovered DOM i used it to dynamically create form elements.
> now i also use AJAX.
>
> with DOM i'd have to really create every element,
> but with AJAX i would simply store the elements in a seperate file
> and then import it into a <div>.
>
> seems much easier ans quicker to me.
>
> any disadvantages?
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>
> __________________________________________________________
> This message was scanned by ATX
> 4:20:07 AM ET - 6/20/2006
More information about the Javascript
mailing list