Object Oriented JavaScript

preview_player
Показать описание


MY UDEMY COURSES ARE 87.5% OFF TIL December 19th ($9.99) ONE IS FREE

01:50 JavaScript Objects
02:36 Objects in Objects
04:12 Constructor Functions
05:58 instanceof
06:28 Passing Objects to Functions
08:09 Prototypes
09:34 Adding Properties to Objects
10:44 List Properties in Objects
11:38 hasOwnProperty
12:42 Add Properties to Built in Objects
14:31 Private Properties
18:01 Getters / Setters
21:20 defineGetter / defineSetter
24:38 defineProperty
27:07 Constructor Function Getters / Setters
29:40 Inheritance
37:13 Intermediate Function Inheritance
39:14 Call Parent Functions
41:51 ECMAScript 6
47:31 Singleton Pattern
49:32 Factory Pattern
52:53 Decorator Pattern
54:52 Observer Pattern
Рекомендации по теме
Комментарии
Автор

I've read countless JavaScript blogs and books on Constructors and Prototypes but they don't explain it as crystal clear as you do. You should seriously write a book man. Would love to see you break down and pick apart an angular or node.js tutorial. Thanks for making these videos. I know making them takes ALOT of work and time to develop.

P
Автор

Your channel is like a big book of secrets, contains every thing a programmer needs to know about a programming language, Thank you fo that :)

abdelouery
Автор

Right now we're flying at an altitude of 36, 000 feet....

ThatViralVideo
Автор

I'm only 35 minutes but you've already solidified a few concepts that have been somewhat unclear to me for the last few months. My sincere gratitude! Thanks!

dudegoodman
Автор

Adding the time stamps is a wonderful idea. When I am not just trying to learn from you tube videos, but trying to do a real program, I can never remember a useful video. This will make finding your examples so much easier. Thanks for going the extra mile.

jeannemccabe
Автор

The most concise and clear tutorial in JS OOP I've ever watched. One request is a link to a project where I can practice on. Maybe a CRUD project like Customer Management or something else?

miabellasalonandmedicalspa
Автор

This is freakin' legendary! The best part I like about your style is how you are so quick in going over concepts, which all the other tutors take ages to go through at the ultimate cost of the student completely giving up on the tutorial! Great job sir!

DarkPsy
Автор

This video explains OOPs concepts in JS perfectly and to the point, instead of going in circles when reading any book! Thanks much!

kal-el-shadowfax
Автор

I believe this may clear some confusion. At around 32:44 Derek says that when the prototype is changed (from the base Object (which is default )), that the prototype.constructor will point to the Object object... In reality it points to the function the prototype Object was set with:


function Animal(){
this.kind="Animal"
this.breathing="yes"
}//default prototype =object Object

function Cat(){
this.type="Cat"
this.sound="meeow"
}
Cat.prototype=new Animal(); //set new prototype ...mess up .constructor
/// needs Cat.prototype.constructor=Cat be accurate
var kitty1=new Cat();



Logs:
function Animal(){
this.kind="Animal"
this.breathing="yes"

velocitynetworking
Автор

I am not able to handle more than 2 languages at one point of time, how is is possible to give such an awesome explanation on almost all programming languages out there. Am awestruck! You are a superman!

sandyagosandy
Автор

This is a superior video to those I've watched recently. I'm coming from C#/C++ with very little javascript, and I was looking for a good primer. You are:
#1 Easy to understand. Good communicator. Clear audio.
#2 Concise and quick with your accompanying code.
#3 Smart about the educational route you go down.

I think this is too dense for a beginning programmer to learn from in one go, and my only advice to them would be... watch it four times. It is hard to find information of this quality and density presented by someone without an Indian accent... (I'm only half joking)

ParrhesiaJoe
Автор

For get and set, I think you should name both getAddress and setAddress just to address. It makes more sense.

StingJia
Автор

I didn't understand OO JS before this video. Thanks!

boolmax
Автор

The 'PERFECT' technologist and 'MASTER' instructor!!

stevenlane
Автор

It would be very cool if you start doing tutorials with projects. Like learning JavaScript by doing a dynamic site, learning HTML by doing a static site, etc. Great tutorials by the way.

jesusmiguel
Автор

in the first 3 minutes i learned more than I did taking about 2 weeks of online courses and speaking to javascript developers. People really need to learn how to communicate better.

LouSaydus
Автор

BY FAR the best books for javascript are the 'You don't know JS' series. definitely check them out

RatchetSK
Автор

at 38:08 - the extend function -
why not simply do
Child.prototype = new Parent();

Child.prototype.constructor = Child;

saharFTW
Автор

The work you do is really amazing, and you should be miles more popular than you are. I'm a recent graduate with an AS in Software Development, and I certainly learn more from your videos than I learned in *most* of my college classes. I really appreciate it man. Thanks for everything.

bjblastyoass
Автор

Thanks Derek for this and for the tutorial 'Learn JavaScript in one video'. I have chewed on the book 'JavaScript The Definitive Guide'. So I had some knowledge regarding JavaScript but these two videos are given an awesome overview, connects everything and every bit of JavaScript comes to life. Amazingly good stuff!

robkremers