JavaScript/Notes/: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Garrett (talk | contribs)
Garrett (talk | contribs)
No edit summary
Line 10: Line 10:
'''Resources'''  
'''Resources'''  
https://noisebridge.net/wiki/Web_Development_Resources
https://noisebridge.net/wiki/Web_Development_Resources
== [https://noisebridge.net/wiki/JavaScript/Notes/Array Array Methods added to EcmaScript 5]==
Sort, map, filter, and more.


== [https://noisebridge.net/wiki/JavaScript/Notes/Debugging Debugging]==
== [https://noisebridge.net/wiki/JavaScript/Notes/Debugging Debugging]==
Line 22: Line 19:
== [https://noisebridge.net/wiki/JavaScript/Notes/Function Functions] ==  
== [https://noisebridge.net/wiki/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.
== [https://noisebridge.net/wiki/JavaScript/Notes/Array Array Methods added to EcmaScript 5]==
Sort, map, filter, and more.


== [https://noisebridge.net/wiki/JavaScript/Notes/Prototype Prototype] ==
== [https://noisebridge.net/wiki/JavaScript/Notes/Prototype Prototype] ==

Revision as of 12:52, 7 January 2014

You down with OOP? - Yeah you know me!

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

Browsers provide debuggers that can be launched from a breakpoint or the debugger keyword.

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.

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.

Fire custom events from your own user-defined objects.

This class covers closures.

Singleton with information hiding in function scope.

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

An abstract system for event notification.

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

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

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.