JS Sources

https://www.codecademy.com/articles/glossary-javascript

https://developer.mozilla.org/en-US/docs/Web/JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
Memory Mgmt
Concurrency & Event Loop
}

enumerable property, hasOwnProperty is derived from Object.prototype => to check whether the property is derived.

To check whether an object has a property defined on itself and not somewhere on its prototype chain, it is necessary to use the hasOwnProperty method which all objects inherit from Object.prototype.

hasOwnProperty is the only thing in JavaScript which deals with properties and does not traverse the prototype chain.

Object.create(), new

prototype and Object.getPrototypeOf
– prototype works with new operator. by setting the source prototype reference to the target prototype property before the constructor is called.
obj.[[Prototype]] = o.Prototype
The properties of a javascript are first checked at the object level, then the prototype level.
Prototype is basically a way to enable polymorphism in javascript. When a property is not available directly in an object, the evaluation happens through Object.getPrototypeOf(a1).fn()
In short, prototype is for types, while Object.getPrototypeOf() is the same for instances.
Prototype check is recursive.
This means that all the stuff you define in prototype is effectively shared by all instances, and you can even later change parts of prototype and have the changes appear in all existing instances, if you wanted to.

Object type and object instance. OOP in JS is classless, prototype-oriented, or instance-based programming – that uses polymorphism.

Using Callbacks:
Callbacks can be used in various utilities. The use of callbacks is for saving the state of values that were available to us when the callback was issued. This data can be returned in a synchronous way. Returning it in synchronous way is necessary since the state must be update with the correct values before it is returned. 

Angular JS:

http://stackoverflow.com/questions/9682092/how-does-data-binding-work-in-angularjs/9693933#9693933

AngularJS’ Internals In Depth

Jade:

To Engineers Who Tried to Use Jade Template Engine and Can’t Get Started

Client-side rendering vs Server side rendering:

Client vs serverside rendering – the big battle?

http://openmymind.net/2012/5/30/Client-Side-vs-Server-Side-Rendering/

__proto__ -> Function.prototype

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s