Fluff 2012 August Notes on Advanced Javascript
I just attended the NFJS Raleigh tour stop. This was my third time at this great event and my focus of the sessions was javascript and mobile.
Here begins my notes:
Suggested Book: Seven Languages in Seven weeks by Bruce Tate
Prototypes – IO, LUA, SELF : access to class , define on the fly, manipulate class after you define it.
Functional JS vs OO JS
http://joda-time.sourceforge.net/ – spring data
Everything in javascript is an object but primitives. Objects consist of key value pairs + prototype
javascript function is pass by reference not by copy.
Dynamic typed language
hoisting – Only functions create a new scope.
propertyIsEnumerable : higher within prototype
passing functions to a function desirable for reuse
associative array {name: ‘fred’}
two scopes: global and function level scope
this – scope you are in
null == undefined
parasitic inheritance is like composition
CommonJS – use of require
Underscore.js
Date.js
Sugar.js
Backbone.js
Testing- Jasmine
https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Working_with_Objects
No comments yet.
Leave a Reply