The last time I worked with DHTML I found myself using a lot of
expando properties. I''d set properties and event handlers on an
element, and I''d handle events in one place.
I see that there are a lot of JavaScript objects created in
scriptaculous, and I''m not seeing expandos yet.
I found it much easier to treat the document as a data
structure then to mirror that structure in JavaScript.
Did people discover that expandos and event bubbling were faulty
for some reason? I''m wondering. It''s been a while.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml