Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

In this Master Class video, 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. Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and then released in a hurry before it could be refined. Once Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language. In this Master Class video, 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. What will I learn?

  • A survey of JavaScript and its history
  • Object-oriented programming in classical, prototypal, and functional styles
  • A detailed look at JavaScript's elegant features, including syntax, objects, functions, inheritance, arrays, regular expressions, and methods
  • Theory of the Document Object Model (DOM)
  • Performance, security, and style with JavaScript
  • How to sidestep the bad parts of JavaScript
  • Is this Master Class video for me?
If you develop sites or applications for the Web, this class is a must, whether you're managing object libraries or just trying to get Ajax to run faster.

Subscriber Reviews

Average Rating: 4.418918918918919 out of 5 rating Based on 74 Ratings

"Excellent material, poor choice of venue" - by Aldo Herrera on 04-MAY-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I just want to comment on the quality of the audio. The material itself is top-notch and it should be required viewing (and reading of the book) for any JS developer out there. If you really want to learn JavaScript, you NEED to either read the "JavaScript: The Good Parts" book or watch these videos, even if you have a strong background in other programming languages.

With that being said, I find it appalling that O'Reilly decided to release this video, when the audio is so distracting. It sounds like this was recorded in a cafeteria at lunch time. You can hear all sorts of noises like cutlery, plates, people talking, doors opening and closing, etc. This is just plain bad, and I wonder how someone decided to put Crockford, one of the leaders of the field, in such a crappy environment for a course. A replacement video of the same talk in a more professional environment would be nice.


Report as Inappropriate

"Theory of DOM part Two" - by Anonymous on 27-NOV-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
It end abruptly.
Report as Inappropriate

"On the money" - by Abhay Joshi on 11-OCT-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The first video of this series is a bold attempt by the speaker to discuss how Javascript came to existence while discussing history of computer science. He has also discussed straightaway how strategies of companies like Microsoft, Netscape and Sun Microsystems led to different standards for client side scripting languages like Java Applets, JScript etc.
Report as Inappropriate

"Great" - by Juliana Cavalcanti on 12-FEB-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Great content from a true javascript master!
Report as Inappropriate

"Excellent Class" - by Anonymous on 20-JAN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is a great introduction to all things JavaScript but if you don't know anything to begin with, it might be over your head. I'd suggest getting some practice with the language first, then come back here and learn about how you should use it the right way.

Since it is a long course, I'll break out some good parts to save you time if you're interested.

History of the language -- you can skip this unless you're a die hard programming fan and really want to know where JS came from.
A Survey of the Language -- a long section of the course, but this goes over all of JavaScript which is great for beginners.
Pseudoclassical, Prototypal, Functional Inheritance -- you'll want to learn the different types of inheritance so you can build larger scale apps while having manageable code. There are additional patterns not described in here though so look into those as well (AMD, jQuery Plugin Style, etc.)
ECMAScript 5 -- I'd say you could find newer information on this elsewhere, but the video isn't too long anyway
Theory of the DOM -- if you really want to know about the DOM check it out, but doubt its necessary
Ajax Performance -- if you're going to be doing Ajax this will help, of course.
Security -- learn about all the vulnerabilities in JS and the Browser. It will scare you straight.
Style -- take some time to learn good style JS. Your fellow developers will appreciate it.
JSLint

Report as Inappropriate

Table of Contents

Chapter/Selection

Time

The History of the Language: Part One

Preview

00:44:07

A Survey of the Language: Part Two

Preview

00:56:21

A Survey of the Language: The Continuation of Part Two

Preview

00:18:39

Pseudoclassical Inheritance

Preview

00:15:39

Prototypal Inheritance

Preview

00:05:42

Functional Inheritance

Preview

00:16:48

ECMAScript: The Fifth Edition

Preview

00:20:06

Theory of the DOM Part One

Preview

00:38:30

Theory of the DOM Part Two

Preview

00:20:24

Ajax Performance

Preview

00:22:49

Security Videos

Preview

00:36:06

Style Video

Preview

00:19:28

JSLint Videos

Preview

00:12:05

JSON Videos

Preview

00:24:02