DOM scripting essentials in under 10 minutes

I am going to use you as my guinea pigs here. For an upcoming workshop in Singapore I am creating presentations and also screencasts to take away. Therefore I just recorded one of the sessions on the essentials of DOM scripting and put this “dry run” screencast on my server for you to check out.

You can also check the high quality version:”DOM Essentials in 10 minutes screencast”:http://icant.co.uk/articles/domessentials/ and tell me what you think.

18 Responses to “DOM scripting essentials in under 10 minutes”

  1. Tuna Says:

    Its good.

    Only problem I can see is that you talk of concepts and then you brush them aside without explanation. Eg “…we use the item() method..” - what is this, explain or tell me you’ll get to it later.

    Also you say things like “… document write..” hang on what is that, why is it so bad.. you can’t make a sweeping statement without a least a sentence of clarification.

    You get a bit tongue tied on the

    insert referencing the parent node.

    Generally very good.

  2. Binny V A Says:

    Will the screencast remain at the given URL - even after the talk? Can I link to it without the fear of 404s?

  3. Scott G Says:

    I agree with some of the comments above.. would be great to know why I need to do some of these things? Quick examples / case studies perhaps?

    also, I might reveal the text on each slide as you talk about each of them, rather than dumping it all out at once. This way people concentrate on your words more instead of trying to read everything all at once.

  4. Chris Heilmann Says:

    Tuna, thanks, I will bin the item() example, it is more confusing than really useful.

    Binny, yes you can link to this, and please do.

    Scott, sorry about you getting stuck in the spam filter of this, I am just sick of deleting 100 comments a day. I will consider taking the slide text in more. Normally during presentations I don’t do that, as a slide should aid your talk, not be it, but with a screencast it might make more sense.

  5. Tomasz Tybulewicz Says:

    I really like your presentation, especially showing all of those methods on HTML code.

  6. George Says:

    Excellent presentation.

    I’m reading your book at the moment and am finding it very good. It is like the main course after reading DOM Scripting as a starter. I wonder what the dessert will be…

    Thanks again - much appreciated

  7. Dan Champion Says:

    Excellent, thank you, very useful and concise. If anyone needs more they can always dip into a book, but this provided everything I needed in a refresher.

  8. Snow Says:

    I love it - clear and crisp - you could consider to take more pauses while you are speaking - at some points you are going a bit to fast for me (could be me in need of coffee ;-)). Btw do you consider making the hole of the workshop available - i certainly am eager to read it.

  9. Nick Fitzsimons Says:

    That’s a great introduction to the fundamental interfaces of the DOM, Chris.

    Pedantry follows…

    At 2:32 you refer to “the element that this one contains”; I think you meant “the element that contains this one”.

    At 3:17 you refer to the li elements as being members of the childNodes collection, but fail to mention that a browser that parses without discarding inter-element whitespace (i.e. not IE) will also have the text nodes containing the whitespace between the li elements as members of the collection. This means that the length value mentioned at 3:26 would only have the value 6 in IE, given that the formatting of the markup is as shown.

    (Pedantry ends.)

  10. Lynn Wallenstein Says:

    As someone who knows next to nothing about this stuff (I am the design face of the business and have programmers on staff), I “walked away” feeling that I learned a lot in a quick time. I agree with Tuna that there definitely could be some further explanation for me to fully grasp everything, but I understand the goal is short and quick. I already have some placed I can put this into action.

    Loved it!

  11. Andre Malheiro Says:

    It’s an excellent summary of the basics. The only problem I see is that the rythm of the presentation is quite linear even when the amount of information is not. I suggest that you slow down in the more complex parts, like when you show more than one technique in a single example. Maybe it would be even better to break down those examples in order too keep “the level of information per example” more or less constant. Hope I made myself clear enough to be helpful. Cheers.

  12. Ryan Behrman Says:

    For covering everything in a 10 minute talk it’s very good. Though it would depend on your audience - the only reason why I understood anything is because I already know most of it. Otherwise I think I would have struggled a lot with the pace. But for 10 minutes to cover the DOM and javascript, you’ve done a top job!

  13. Isofarro Says:

    Hmm, my previous comment got gobbled up (I forgot to uncheck the checkbox!)

    The page talking about manipulating DOM: adding, changing and removing nodes: don’t start with removing nodes. Go in the order of the title - add a node, then insert a node, then finally remove it.

    That way, you’ll get to insert a little pause after explaining the insertBefore complexity, with the slide on screen for longer. Hopefully that will allow the awkward syntax to sink in.

    Having the insertBefore as the last point on the slide, and switching over to the next slide rather quickly will probably leave people a little bewildered - so leaving it on screen for a few more seconds can be of use.

    But, excellent screencast. Very useful.

  14. Aarron Walter | A DOM Scripting Primer Says:

    [...] Chris Heilmann has posted a pretty brilliant video primer on JavaScript and manipulating the DOM. If you are looking for a video introduc [...]

  15. Kredi Says:

    For covering everything in a 10 minute talk it’s very good. Though it would depend on your audience – the only reason why I understood anything is because I already know most of it. Otherwise I think I would have struggled a lot with the pace. But for 10 minutes to cover the DOM and javascript, you’ve done a top job!Quote..

    I agree to you totally…

  16. Kredi Says:

    I agree to you totally..

    “I love it – clear and crisp – you could considerxs to take more pauses while you are speaking – at some points you are going a bit to fast for me (could be me in need of coffee ;-)). Btw do you consider making the hole of the workshop available – i certainly am eager to read it. “

  17. Developer Says:

    Really Good Video
    It inspire me for DOM Scripting…..

    Thanks,
    Developer

  18. bayrakΓ§? Says:

    this is nice video. thanks

Leave a Reply

@mediaAjax
Wait till I come! is the blog of , a developer evangelist living and working in London, England. Download vcard.

Feed me, Seymour: Entries (RSS) and Comments (RSS).