Storage class for a web application configuration extracted from a JSON file.
This class supports the creation of semi-dynamic HTML pages. Each page entry in the JSON is rendered using the same ResponseReceipe instance, with only the 'body->main' content loaded from a static file.
For each semi-dynamic page, this class stores: - the page name (used in the URL), - the page title, - the local filename of the main body content.
Example entry in the JSON file: "index.html": { "title": "Home", "main": "index.htm", "header": true, "footer": true }
The 'bakeresponse' method can return a ResponseReceipe for any page—either semi-dynamic or fully dynamic. Note that 'contains' only checks semi-dynamic pages, while 'ispage' identifies any page that can be baked.