Object-oriented JavaScript: A Deep Dive into ES6 Classes
Jeff Mott takes an in-depth look at ES6 classes starting with the basics, then moving on to discuss inheritance, encapsulation, polymorphism and much more.
Jeff Mott takes an in-depth look at ES6 classes starting with the basics, then moving on to discuss inheritance, encapsulation, polymorphism and much more.
In this "next level Laravel" post, Younes explains an interesting approach to designing relationships with Eloquent: polymorphic relations.
Polymorphism means the capacity to take on different forms'. In Java, it describes the language's ability to process related classes through one interface in different ways.