JavaScript/Notes/

From Noisebridge
< JavaScript(Difference between revisions)
Jump to: navigation, search
(Custom Events)
Line 17: Line 17:
 
Event Delegation and the Cascade.
 
Event Delegation and the Cascade.
  
== [[Function|Functions]] ==  
+
== [[JavaScript/Notes/Function|Functions]] ==  
 
Functions are callable objects with an internal <nowiki>[[Scope]]</nowiki> property. Learn how to call functions and pass functions to other functions, where they can be later called.
 
Functions are callable objects with an internal <nowiki>[[Scope]]</nowiki> property. Learn how to call functions and pass functions to other functions, where they can be later called.
  
== [[Array|Array Methods added to EcmaScript 5]]==
+
== [[JavaScript/Notes/Array|Array Methods added to EcmaScript 5]]==
 
Sort, map, filter, and more.
 
Sort, map, filter, and more.
  
Line 31: Line 31:
 
Fire custom events from your own user-defined objects.
 
Fire custom events from your own user-defined objects.
  
== [https://noisebridge.net/wiki/JavaScript/Notes/Scope Scope Chain and Identifier Resolution]==
+
== [[JavaScript/Notes/Scope Scope|Chain and Identifier Resolution]]==
 
This class covers closures.
 
This class covers closures.
  
== [https://noisebridge.net/wiki/JavaScript/Notes/Singleton Singleton] ==
+
== [[JavaScript/Notes/Singleton|Singleton]] ==
 
Singleton with information hiding in function scope.
 
Singleton with information hiding in function scope.
  
== [https://noisebridge.net/wiki/JavaScript/Notes/IBD Interface-Based Design]==
+
== [[JavaScript/Notes/IBD|Interface-Based Design]] ==
 
Two interfaces with a similar signature. The Devil's in the details -- encapsulate them!
 
Two interfaces with a similar signature. The Devil's in the details -- encapsulate them!
  
=== [https://noisebridge.net/wiki/JavaScript/Notes/EventNotificationSystem  Event Notification System]===
+
=== [[JavaScript/Notes/EventNotificationSystem  Event Notification System]]===
 
An abstract system for event notification.
 
An abstract system for event notification.
=== [https://noisebridge.net/wiki/JavaScript/Notes/DomEvents DOM Events Adapter]===
+
=== [[JavaScript/Notes/DomEvents DOM Events Adapter]===
 
An system for DOM event notification, designed to handle delegation and specific event models.
 
An system for DOM event notification, designed to handle delegation and specific event models.
  
== [https://noisebridge.net/wiki/JavaScript/Notes/Factory   Factory]==
+
== [[JavaScript/Notes/Factory|Factory]] ==
 
The Factory pattern, the Decorator pattern, newApply, and the holy grail: Abstract Factory.
 
The Factory pattern, the Decorator pattern, newApply, and the holy grail: Abstract Factory.
  
== [https://noisebridge.net/wiki/JavaScript/Notes/ParameterObject Parameter Object] ==  
+
== [[JavaScript/Notes/ParameterObject|Parameter Object]] ==  
 
Passing around lists of parameters? Typechecking arguments? Stop doing that. Here's how to make your code clearer and less error-prone.
 
Passing around lists of parameters? Typechecking arguments? Stop doing that. Here's how to make your code clearer and less error-prone.
  
== [https://noisebridge.net/wiki/JavaScript/Notes/TypeConversion Type Conversion] ==
+
== [[JavaScript/Notes/TypeConversion|Type Conversion]] ==
 
There are five primitive types in JavaScript: Null, Undefined, Boolean, String, Number. Various operations in JavaScript require conversion to and from primitive values.
 
There are five primitive types in JavaScript: Null, Undefined, Boolean, String, Number. Various operations in JavaScript require conversion to and from primitive values.

Revision as of 18:16, 7 January 2014

You down with OOP? - Yeah you know me!

Contents

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 Web Development Resources

Debugging

Browsers provide debuggers that can be launched from a breakpoint, the application's menu, or the debugger keyword in the script.

ClassName Swap

Event Delegation and the Cascade.

Functions

Functions are callable objects with an internal [[Scope]] property. Learn how to call functions and pass functions to other functions, where they can be later called.

Array Methods added to EcmaScript 5

Sort, map, filter, and more.

Prototype

The prototype chain is used for reading property resolution.

User-defined functions can be used to construct new objects. Objects have, on their prototype chain, the constructor's prototype.

Custom Events

Fire custom events from your own user-defined objects.

Chain and Identifier Resolution

This class covers closures.

Singleton

Singleton with information hiding in function scope.

Interface-Based Design

Two interfaces with a similar signature. The Devil's in the details -- encapsulate them!

JavaScript/Notes/EventNotificationSystem Event Notification System

An abstract system for event notification.

[[JavaScript/Notes/DomEvents 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.

Type Conversion

There are five primitive types in JavaScript: Null, Undefined, Boolean, String, Number. Various operations in JavaScript require conversion to and from primitive values.

Personal tools