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 been already developed by other developers.
The concepts that we will cover in this chapter are:
- The idea behind module augmentation
- Loose augmentation
- Tight augmentation
- Generating our application's content area
- Module augmentation and script...