The Pragmatic Guide to JavaScript

There are plenty of books that teach JavaScript from a basic introductory angle. The Pragmatic Guide to JavaScript is a bit different. It’s a lightweight guide (around 130 pages) for those of us who already know a programming language or two. Instead of covering boring stuff like variables and functions—let’s face it, they’re not all that different from language to language—it shows you some real-world use cases in convenient byte-size portions.

The book’s format is interesting. Each chapter is a two-page spread with the text on one side and code samples on the other. Each of the chapters deals with a single practical usage of JavaScript, such as:

  • Dynamically selecting methods and properties
  • Using the Module Pattern to prevent naming collisions
  • Optional function arguments
  • Dynamically styling content
  • Preloading images
  • Form validation and dynamic form fields
  • AJAX, JSON, JSON-P and cross-domain AJAX
  • An introduction to mashups

Another neat feature is the way it shows examples using straight JavaScript as well as with different frameworks.

Overall the book seems like a great way to dive right into JavaScript, providing you already have some scripting experience with another language. It was quite useful to me, as by grounding in JavaScript isn’t nearly as good as with PHP. I learned a few new tricks.

Best of 2010

Happy New Year! It’s hard to believe that I’ve been actively posting on Webmaster-Source for about five years. This past year has been pretty busy for me. I did a bit of work on WordPress as part of the Google Summer of Code, I…

Does Project Wonderful Make Advertising Awesome?

Project Wonderful is an ad marketplace that is commonly used on webcomic sites and lit-blogs, partially because of the large community of independently-operated websites that use it. They use a nifty “infinite auction” scheme where advertisers bid how much they are willing to pay…

Vanilla: The Most Modern and Awesome Forum Package

If you’ve been a web user since before the days of social networking sites and “Web 2.0,” you probably spent a lot of time hanging out on discussion forums. It’s a little strange that, as much as the web has evolved, forum solutions haven’t…

Speed Up Your Site With Head JS

Head JS is a 2.3 kilobyte script that makes it easy to asynchronously load your JavaScript files to prevent blocking. It allows the browser to load the web page separately from the scripts, so the rendering process isn’t held up by the download. Non-blocking…

The 1140px Fluid CSS Grid System

A new CSS grid framework has been gaining attention in the blogosphere lately. A 12-column fluid framework with a preferred width of 1140px. The developer picked that width because it fits nicely on a 1280 pixel wide monitor. The framework’s most notable strength, though,…

Apple iAd Producer Lets You Design HTML5 Ads Visually

Apple has just launched a new OS X application intended for advertisers looking to run ads on Apple’s iAd network. The software package, called iAd Producer, gives you an iLife-style tool to visually design interactive HTML5 ads. The iAd Producer displays a chart giving…

Yahoo Claims They Aren’t Shutting Down Del.icio.us After All

Yahoo put out a new post on the Del.icio.us blog stating that, despite all indications otherwise, they will not be closing down the bookmarking service. They may have fired all of the site’s staff and included it on an internal slide as being “sunset,”…

BlogBuzz December 18, 2010

Yahoo is Shutting Down Del.icio.us

According to TechCrunch, Yahoo has fired the entire staff of the Delicious social bookmarking service and will be shutting it down shortly. (Along with Altavista and MyBlogLog.) They will also be closing Yahoo Buzz and some of their API services. Yahoo acquired Del.icio.us back…