CARVIEW |
Douglas Crockford JavaScript Master Class
- By
- Douglas Crockford
- Publisher:
- O'Reilly Media
- Released:
- September 2009
- Run time:
- 5 hours 50 minutes
Javascript incorporates some of the best and worst ideas in programming languages. In this segment, Doug Crockford introduces the Javascript programming language, covering all of the core language features, including numbers, strings, operators, arrays, objects, and functions, pointing out the good, the bad, and the ugly features of the language as he goes. You'll learn about some common Javascript patterns, why lambda is cool, why you should never, ever use eval, and why you should always declare everything.
Javascript incorporates some of the best and worst ideas in programming languages. In this segment, Doug Crockford introduces the Javascript programming language, covering all of the core language features, including numbers, strings, operators, arrays, objects, and functions, pointing out the good, the bad, and the ugly features of the language as he goes. You'll learn about some common Javascript patterns, why lambda is cool, why you should never, ever use eval, and why you should always declare everything.
-
1.
The History of the Language
44 minutesDespite its strange history and convoluted development, Javascript is the most popular language in the world, with processors running on more computers than any other language. It is a flexible, stable and "serious" language, but not one programmers often take seriously. In this section, Doug Crockford explains the fascinating history of Javascript and why you should take it seriously and learn the language properly. -
2.
A Survey of the Language: Part One
56 minutesJavascript incorporates some of the best and worst ideas in programming languages. In this segment, Doug Crockford introduces the Javascript programming language, covering all of the core language features, including numbers, strings, operators, arrays, objects, and functions, pointing out the good, the bad, and the ugly features of the language as he goes. You'll learn about some common Javascript patterns, why lambda is cool, why you should never, ever use eval, and why you should always declare everything. -
3.
A Survey of the Language: Part Two
18 minutesJavascript incorporates some of the best and worst ideas in programming languages. In this segment, Doug Crockford introduces the Javascript programming language, covering all of the core language features, including numbers, strings, operators, arrays, objects, and functions, pointing out the good, the bad, and the ugly features of the language as he goes. You'll learn about some common Javascript patterns, why lambda is cool, why you should never, ever use eval, and why you should always declare everything. -
4.
Pseudoclassical Inheritance
15 minutesUnlike other languages that support inheritance, Javascript uses what is known as prototypal inheritance, in which objects inherit directly from other objects (no classes involved!). Doug Crockford explains what prototypal inheritance is, how it differs from classical inheritance, and how to use prototypal inheritance to extend object behaviors and properties. -
5.
Prototypal Inheritance (Free Preview)
5 minutesIn this segment, Doug Crockford continues his exploration of prototypal inheritance; you'll learn the details of how it works and how to use it properly. -
6.
Functional Inheritance
16 minutesJavascript functions are extremely flexible. In this segment, Doug Crockford shows how you can use the Module pattern and the Closure pattern to create constructor functions that can create objects, hide data, and simplify inheritance. -
7.
ECMAScript: The Fifth Edition
20 minutesIn this segment, Doug Crockford discusses the forthcoming fifth edition of ECMAScript, the language specification upon which Javascript is based. This is the first new edition of the language since 1999, and incorporates important security enhancements as well as improvements to the language. -
8.
Ajax Performance
22 minutesYou already know that you can deliver applications with the browser using Javascript and Ajax. Did you know that the DOM interface is a common bottleneck in Javascript applications? That the Javascript compiler does very little optimization for you? In this segment, you'll learn how to effectively use the browser to deliver an application and optimize those applications with plenty of tips from Doug Crockford. -
9.
Security
36 minutesThe browser is not a safe programming environment, and Javascript is not a secure programming language. In this segment, you'll learn why. You'll also learn some of the ways you can prevent some of the most common security dangers, like cross-site scripting attacks, and what Doug Crockford and others are doing to help solve the Web's most pressing security problems. -
10.
Style
19 minutesDespite all the problems with Javascript - global variables, semicolon insertion, phony arrays, etc. - it is possible to write excellent Javascript code. In this segment, Doug Crockford steps you through some basic style guidelines for writing good Javascript. You'll learn why you should always use semicolons (and put them in the right places!), why placement of curly braces matter, and how to use the closure pattern to hide global variables. -
11.
JSLint
12 minutesJSLint is a Javascript code quality tool that Doug Crockford wrote to help him write better Javascript programs. In this segment, Doug describes how you can use JSLint to help improve the robustness and portability of your programs, enforce style rules, spot errors and eliminate globals - in short, to write good Javascript code. -
12.
JSON
24 minutesJSON (JavaScript Object Notation) is a lightweight data-interchange format, and is a surprising "good part" of Javascript. JSON has been in the Javascript language for a long time, and was discovered by Doug Crockford when he was looking for an efficient data format. It is now part of the ECMAScript specficiation and is available widely in a variety of other languages including Java, Objective-C, PHP and Ruby. In this segment, Doug Crockford describes JSON and shows how to convert XML into JSON in three different ways. -
13.
Theory of the DOM Part One
38 minutesIf you're going to create applications for the browser with Javascript, you need to understand the DOM. In this segment, Doug Crockford describes in-depth what the DOM is and how to work with it using Javascript. You'll learn about tree structures and events, why bubbling is better than trickling, why memory management with Ajax programs is so important, and how to cope with the differences and bugs in browser DOMs. -
14.
Theory of the DOM Part Two
20 minutesIf you're going to create applications for the browser with Javascript, you need to understand the DOM. In this segment, Doug Crockford describes in-depth what the DOM is and how to work with it using Javascript. You'll learn about tree structures and events, why bubbling is better than trickling, why memory management with Ajax programs is so important, and how to cope with the differences and bugs in browser DOMs.

- Title:
- Douglas Crockford JavaScript Master Class
- By:
- Douglas Crockford
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Video
- Video Release:
- September 2009
- Run time:
- 5 hours 50 minutes
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |