Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] DOM vs AJAX
- From: mwarden at gmail.com (Matt Warden)
- Subject: [Javascript] DOM vs AJAX
- Date: Tue Jun 20 04:03:58 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Borchers wrote: > 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>. You are injecting serialized representations of elements into an already unserialized document tree. > seems much easier ans quicker to me. It is quicker (for now). And it is easier for someone who already knows (X)HTML. > any disadvantages? Higher maintainability costs. Less standardization in working with documents (you use innerHTML for (X)HTML documents, but must use DOM for others). Those are the ones I like, but no innerHTML-lover ever seems to buy them. For everyone else, I point them here: http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp http://msdn.microsoft.com/workshop/author/tables/buildtables.asp If it feels dirty, it probably is. - -- Matt Warden Oxford, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEl7nxrI3LObhzHRMRAlFDAJoCQUhH2XrnKva0AmX8UF5OU3uFdQCgl42P gCfEkhkmqLbMfKi6n8swrRk= =9Qso -----END PGP SIGNATURE-----
- Follow-Ups:
- [Javascript] DOM vs AJAX
- From: Rakesh Pai
- [Javascript] DOM vs AJAX
- References:
- [Javascript] DOM vs AJAX
- From: Michael Borchers
- [Javascript] DOM vs AJAX
- Prev by Date: [Javascript] DOM vs AJAX
- Next by Date: [Javascript] DOM vs AJAX
- Previous by thread: [Javascript] DOM vs AJAX
- Next by thread: [Javascript] DOM vs AJAX
- Index(es):