JavaScript/Notes/: Difference between revisions
No edit summary |
|||
| Line 10: | Line 10: | ||
'''Resources''' | '''Resources''' | ||
https://noisebridge.net/wiki/Web_Development_Resources | https://noisebridge.net/wiki/Web_Development_Resources | ||
<!doctype html> | |||
<head> | |||
<title>Debugger Example</title> | |||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |||
</head> | |||
<body> | |||
<h1>Test Debugger</h1> | |||
<p> | |||
When Entering an Execution Context, the Variable Environment is initialized with parameter | |||
variables, Function Declarations, and Variable Statements. | |||
</p> | |||
<pre> | |||
function myFunc(myParam) { | |||
debugger; | |||
var myVar = 1; | |||
function innerFunc() { | |||
} | |||
} | |||
</pre> | |||
== [https://noisebridge.net/wiki/JavaScript/Notes/Array Array Methods added to EcmaScript 5]== | == [https://noisebridge.net/wiki/JavaScript/Notes/Array Array Methods added to EcmaScript 5]== | ||
== [https://noisebridge.net/wiki/JavaScript/Notes/Debugging Debugging]== | |||
== [https://noisebridge.net/wiki/JavaScript/Notes/ClassnameSwap ClassName Swap] == | == [https://noisebridge.net/wiki/JavaScript/Notes/ClassnameSwap ClassName Swap] == | ||
Revision as of 16:16, 30 December 2013
You down with OOP? - Yeah you know me!
Introduction
When: Every Friday night from 7:00PM — 8:45PM.
Teacher: Garrett Smith
Hearken to the days of view-source:! In this course, I'll explore Object Oriented JavaScript as it pertains to client side web programming. And some DOM stuff.
Resources https://noisebridge.net/wiki/Web_Development_Resources
<!doctype html> <head> <title>Debugger Example</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body>
Test Debugger
When Entering an Execution Context, the Variable Environment is initialized with parameter variables, Function Declarations, and Variable Statements.
function myFunc(myParam) {
debugger;
var myVar = 1;
function innerFunc() {
}
}
Array Methods added to EcmaScript 5
Debugging
ClassName Swap
Event Delegation and the Cascade.
Functions
Scope Chain and Identifier Resolution
This class covers closures.
Singleton
Interface-Based Design
Two interfaces with a similar signature. The Devil's in the details -- encapsulate them!
Event Notification System
An abstract system for event notification.
DOM Events Adapter
An system for DOM event notification, designed to handle delegation and specific event models.
Factory
The Factory pattern, the Decorator pattern, newApply, and the holy grail: Abstract Factory.
Parameter Object
Passing around lists of parameters? Typechecking arguments? Stop doing that. Here's how to make your code clearer and less error-prone.