-
JavaScript Inheritance Tutorial Object Oriented Class Programming
Lesson Code: http://www.developphp.com/video/JavaScript/Inheritance-Tutorial-Object-Oriented-Class-Programming In all programming languages that sport object oriented features there is a concept known as “Inheritance”. Inheritance is when an object inherits all of the properties and methods of its parent object, to become a specialized version of the parent object. In JavaScript we use the prototype property to establish subclasses that…
-
JavaScript prototype Tutorial Add Object Method and Property to Class
Lesson Code: http://www.developphp.com/video/JavaScript/prototype-Tutorial-Add-Object-Methods-and-Properties-to-Class The JavaScript prototype property allows us to add specialized methods and properties to our custom objects and classes. There may be occasions when you must specialize the functionality of an object in your application, and the prototype property allows us to do that. It also enables Object Inheritance in JavaScript, which we…
-
JavaScript Class OOP Tutorial Intro to Object Oriented Programming
Lesson Code: http://www.developphp.com/video/JavaScript/Class-OOP-Tutorial-Intro-to-Object-Oriented-Programming Introduction to creating class based code in JavaScript, also known as OOP(Object Oriented Programming). Because it is a class-less prototype-based language special syntax is applied to your JavaScript in order to achieve OOP features that we see in languages such as C++, C#, PHP, Java, Perl, Python and more. JavaScript has no…