Chapter 5. Module Augmentation
In the previous chapter, we started creating simple modules for our fictitious Images Inc. web application. In this chapter, we will take one of the modules that we have already built and add more functionality to it using an approach known as module augmentation.
This approach allows us to extend our modules without the need to change the original implementation. There are different techniques which can be used to implement module augmentation, and we will cover a couple of them in this chapter.
Module augmentation can be very useful when working on projects that have many contributors to the code base. This type of projects usually require us to extend our modules by adding new code and functionality to what has ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access