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
    Conquering Impostor Syndrome

    Two years ago I documented my struggles with Imposter Syndrome and the response was immense.  I received messages of support and commiseration from new web developers, veteran engineers, and even persons of all experience levels in other professions.  I've even caught myself reading the post...

Incredible Demos

  • By
    Introducing MooTools LazyLoad

    Once concept I'm very fond of is lazy loading. Lazy loading defers the loading of resources (usually images) until they are needed. Why load stuff you never need if you can prevent it, right? I've created LazyLoad, a customizable MooTools plugin that...

  • By
    Send Email Notifications for Broken Images Using MooTools AJAX

    One of the little known JavaScript events is the image onError event. This event is triggered when an image 404's out because it doesn't exist. Broken images can make your website look unprofessional and it's important to fix broken images as soon as possible.

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!