JavaScript/Notes/: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
== [https://noisebridge.net/wiki/JavaScript/Notes/ClassnameSwap ClassName Swap] ==
== [https://noisebridge.net/wiki/JavaScript/Notes/ClassnameSwap ClassName Swap] ==
Event Delegation and the Cascade.
Event Delegation and the Cascade.
== [https://noisebridge.net/wiki/JavaScript/Notes/Function Functions] ==


== [https://noisebridge.net/wiki/JavaScript/Notes/Scope Scope Chain and Identifier Resolution]==
== [https://noisebridge.net/wiki/JavaScript/Notes/Scope Scope Chain and Identifier Resolution]==

Revision as of 17:07, 3 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.

Array Methods added to EcmaScript 5

ClassName Swap

Event Delegation and the Cascade.

Functions

Scope Chain and Identifier Resolution

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.