Lists Home |
Date Index |
- From: Steven Champeon <email@example.com>
- To: len bullard <firstname.lastname@example.org>
- Date: Tue, 14 Jul 1998 23:04:41 -0400 (EDT)
On Tue, 14 Jul 1998, len bullard wrote:
> Question for the document object model gurus: what happens to the scope
> and execution order if function calls in event attributes are removed
> as well as other post-form inline code?
Oddly enough, the only thing that is supported by both Big Browser Vendors
in a fairly consistent manner is just this sort of embedded event handling.
Remove this, and you're left to the idiosyncracies of the event bubbling
model versus the "you have to ask" model provided by Netscape. AFAIK, the
DOM stuff doesn't go so far as to prescribe the manner in which a given
event is propogated, preferring to remain well in the world of IDLs and
other high-level stuff like object inheritance hierarchies. Somebody please
correct me if I'm wrong.
> > 4. Modularity: since the script is self-contained, it is easy to
> > replace it later without necessarily editing the original document.
> Yes as long as the namespace relationships are easy to track for
> the author of the code but again, no worse than include files.
I must say this was something that gave me the screaming fantods, when
I realized that there seemed to be no way to track the namespace of a
file in a debug statement, but there is no difference between function
latest one is kept and all others blown away. For all practical intents
even a simple package function like Perl has.
> > The disadvantage is that management becomes difficult when there are
> > dozens (or hundreds) of small code fragments rather than one large one
> That is the web in general, so folks are used to it.
People are becoming more and more aware of the enormous cost involved,
however. Saying Web folks are just "used to it" is adding to an already
"All the good geek things, | email@example.com
only without all the | http://a.jaundicedeye.com
bad geek things." | http://hesketh.com/schampeo/
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)