What are good JavaScript OOP resources?

JavascriptOopClosures

Javascript Problem Overview


JavaScript is a lightweight and powerful language, but it's often misunderstood and hard to learn (especially about its object oriented programming).

What are the good materials (blogs, screencasts and books) to learn JavaScript OOP? The topics can be anything, but let's not include browsers, AJAX and libraries for now.

Also how did you learn the functional programming, closure, object, inheritance and design patterns in JavaScript? Personally I would like to see more code examples because some of the books I mentioned above keep the example minimal.

(EDIT: As this post is now community effort, please help maintain and develop the following list of resources!)

Books

Videos

On Stack Overflow

Others

Javascript Solutions


Solution 1 - Javascript

You can see great code examples of Javascript in mainstream libraries like jQuery. I've learned a lot just reading it's source code. There's nothing better than reading sources that are working in millions of websites and are concerned about best practices.

Solution 2 - Javascript

In the same vein as The Good Parts, Douglas Crockford's website has many good articles on JavaScript and OOP, such as Prototypal Inheritance, Classical Inheritance in JavaScript, etc.

Solution 3 - Javascript

In addition to the previous references to Crockford's work, I recommend you read this perspective on the contrast of Functional vs. Classical inheritance patterns in JS:

Inheritance Patterns in JavaScript by Michael Bolin

Solution 4 - Javascript

The recent Crockford on JavaScript video talks are worth watching - Act III: Function the Ultimate covers OOP in JavaScript.

Solution 5 - Javascript

I have found this blog post to be the most clear explanation of prototypes: https://javascriptweblog.wordpress.com/2010/06/07/understanding-javascript-prototypes/

I have written a blog series on object orientation in JavaScript. You can access it here: https://rahuldotout.wordpress.com/2011/06/13/javascript-a-different-beast-part-7-inheritance-without-classes/

Solution 6 - Javascript

Most of the resources you can get surfing on the internet. You can see the links googling on google. With the oops javascript code, there is no need for the developers to rewrite the code instead they can create small blocks of code. I' m listing down the resources of which I'm aware of -

https://www.quora.com/What-are-some-good-resources-for-JavaScript-OOP

http://www.c-sharpcorner.com/topics/javascript-oop

https://addyosmani.com/resources/essentialjsdesignpatterns/book/

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionTK.View Question on Stackoverflow
Solution 1 - JavascriptGmonCView Answer on Stackoverflow
Solution 2 - JavascriptRaul AgraitView Answer on Stackoverflow
Solution 3 - JavascriptGeoff MollerView Answer on Stackoverflow
Solution 4 - JavascriptColonel SponszView Answer on Stackoverflow
Solution 5 - JavascriptrahulmohanView Answer on Stackoverflow
Solution 6 - JavascriptGreen HarryView Answer on Stackoverflow