Let’s take the pubsub pattern that we learned from the last video and integrate it with a few other JS modules. The result will be 2 modules that are very loosely coupled to other modules.
This loose coupling will allow the application to grow significantly larger without encountering problems.
Again, here’s the pubsub code I’m using here:
And here’s all the HTML/CSS/JS on CodePen:
54 views
98
24
9 years ago 00:05:18 54
Modular Javascript #5 - PubSub Implementation
9 years ago 00:09:29 78
Modular Javascript - Prototypal Pattern vs Classical OOP in JS
9 years ago 00:21:41 120
Modular Javascript #2 - Converting jQuery to an Object Literal Module