Application implementation

From the beginning, our intent in the design of our application was to create a modularized ecosystem in which different pieces of the code (modules) would be joined together to create a fully functional application. To that end, our code has been structured as displayed in the following screenshot:

Application implementation

As you can see, our application has been organized into three main folders: css which hosts all of our styling files, Images which stores all the images in the application's catalog; and js, which contains all the JavaScript code for our application. As this structure is only one approach to organizing the application's code, ...

Get Modular Programming with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.