JavaScript/Notes/: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Garrett (talk | contribs)
Garrett (talk | contribs)
Line 13: Line 13:
dhtmlkitchen at gmail.com  
dhtmlkitchen at gmail.com  


Explore JavaScript Language Fundamentals and design patterns for web programming.
'''Overview:''' JavaScript Language Fundamentals and design patterns for web programming.


'''Resources'''  
'''Resources'''  

Revision as of 18:28, 7 January 2014

You down with OOP? - Yeah you know me!

Introduction

Teacher: Garrett Smith Held Wed and Friday, 7-9pm, Sunday 9:30 AM

Twitter: @xkit (follow & mention).

LinkedIn: Garrett Smith (endorsements welcome)

Web: http://dhtmlkitchen.com/

dhtmlkitchen at gmail.com

Overview: JavaScript Language Fundamentals and design patterns for web programming.

Resources Web Development Resources

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

Passing around lists of parameters? Typechecking arguments? Stop doing that. Here's how to make your code clearer and less error-prone.

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

Event Delegation and the Cascade.

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.

Sort, map, filter, and more.

Prerequisite: Functions.

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.

Prerequisite: Functions.

This class covers closures.

Prerequisite: Functions.


Fire custom events from your own user-defined objects.

Prerequisite: Functions.

Prerequisite: Scope Chain and Identifier Resolution.

Singleton with information hiding in function scope.

Prerequisite: Functions.

Prerequisite: Scope Chain and Identifier Resolution.

Prerequisite: Custom Events.

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

An abstract system for event notification.

Prerequisite: Functions.

Prerequisite: Scope Chain and Identifier Resolution.

An system for DOM event notification, designed to handle delegation and specific event models.

Prerequisite: Functions.

Prerequisite: Scope Chain and Identifier Resolution.

The Factory pattern, the Decorator pattern, newApply, and the holy grail: Abstract Factory.

Prerequisite: Functions.

Prerequisite: Parameter Object

Prerequisite: Scope Chain and Identifier Resolution.