View Generator

This section describes Brightspot’s process for creating Views based on your Styleguide configuration files.

One component of the Model-View-ViewModel pattern is the View—the code that implements an application’s appearance. In particular, a Brightspot View implements a site’s appearance through a combination of template (Handlebars), data (JSON), styling (CSS or Less), and behavior (JavaScript) files.

Developers create JSON files that represent the expected data required to create a View. At compile time, the Brightspot View Generator parses the JSON files and produces Java interfaces to be implemented on the backend.