JavaScript/Notes/: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
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]===
== [https://noisebridge.net/wiki/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.
== Parameter Object ==
Passing around lists of parameters? Typechecking arguments? Stop doing that. Here's how to make your code clearer and less error-prone.


<!-- The truth:  
<!-- The truth:  

Revision as of 08:58, 31 October 2013

You down with OOP?

"Yeah you know me!"

Array Methods added to EcmaScript 5

Scope Chain and Identifier Resolution

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.