JavaScript: The Good Parts

By  on  

I just wanted to give everyone a heads up that O'Reilly will be hosting a training session with JavaScript expert Douglas Crockford on March 30th in San Fransico. From the website:

In this Master Class, JavaScript expert Douglas Crockford will scrape away the language's bad features to reveal all the good ideas that make JavaScript an outstanding object-oriented programming language -- ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. You'll learn why this powerful feature subset is more reliable, readable, and maintainable than the language as a whole, and discover firsthand how to create extensible and efficient code with it. Based on his popular O'Reilly book, JavaScript: The Good Parts, this class will demonstrate how JavaScript can be a beautiful, elegant, lightweight, and highly expressive language.

If you'd like to go, I have a special code for you that will save you 25% off of the price: SPH25.

Unfortunately I can't make it but if you live in the Bay area be sure to check it out!

Recent Features

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

  • By
    JavaScript Promise API

    While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready?  Promises are becoming a big part of the JavaScript world...

Incredible Demos

  • By
    Create a Simple Dojo Accordion

    Let's be honest:  even though we all giggle about how cheap of a thrill JavaScript accordions have become on the web, they remain an effective, useful widget.  Lots of content, small amount of space.  Dojo's Dijit library provides an incredibly simply method by which you can...

  • By
    MooTools dwCheckboxes Plugin

    Update / Fix: The checkboxes will no longer toggle when the "mouseup" event doesn't occur on a checkbox. Every morning I wake up to a bunch of emails in my Gmail inbox that I delete without reading. I end up clicking so many damn checkboxes...

Discussion

  1. Hi David, I realise you’ve started blogging again now back from your holiday, I’m stuck as to what to do with your Image Preloading code in order to get it to work with more than just image formats (e.g. .jar files) and had posted in that article (several times, accident!).

    No reply from you as yet, so just asking here (in case, but probably not) because you may not have seen the question in the comments. If you feel little incentive to reply then would you say it wouldn’t be hard to adapt the code? I thought about asking elsewhere but its your code and nobody knows it better and I didn’t think you’d want to see a modified and possibly less efficient version of in floating about. Not being a programmer it’ll probably end up that way ;)

    Thanks again.

  2. Man, I’ve been hearing a lot of buzz about this

  3. Hassan

    I’m not in Bay too. Is there anyway we could watch the video of the presentation?

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!