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
    CSS Animations Between Media Queries

    CSS animations are right up there with sliced bread. CSS animations are efficient because they can be hardware accelerated, they require no JavaScript overhead, and they are composed of very little CSS code. Quite often we add CSS transforms to elements via CSS during...

  • By
    How to Create a Twitter Card

    One of my favorite social APIs was the Open Graph API adopted by Facebook.  Adding just a few META tags to each page allowed links to my article to be styled and presented the way I wanted them to, giving me a bit of control...

Incredible Demos

  • By
    pointer Media Query

    As more devices emerge and differences in device interaction are implemented, the more important good CSS code will become.  In order to write good CSS, we need some indicator about device capabilities.  We've used CSS media queries thus far, with checks for max-width and pixel ratios.

  • By
    MooTools Link Fading

    We all know that we can set a different link color (among other properties) on the hover event, but why not show a little bit more dynamism by making the original color fade to the next? Using MooTools 1.2, you can achieve that effect. The MooTools...

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!