Skip to content

Frontend Design

Jacob Hartman edited this page May 19, 2017 · 2 revisions

Design

The frontend server is made of three main components, managers, controllers, and frontends. These components follow a Model-View-Controller type of relationship.

Manager

Description

A manager manages data for a particular object, such as a lab, a virtual machine, or a user. The manager adds, retrieves and deletes objects of the certain type. It does not bother with any data not related to the object it manages.

Controller

Description

A controller acts very much as it names suggests. It interacts with different managers to bring their functionality together into a cohesive whole, such as bringing together data from users, groups and permissions managers to present an interface for managing permissions for users and groups. Controllers are the brains that hold the data from the managers together.

Frontend

Description

A frontend is where a user interacts with the application. A frontend interacts with controllers to carry out actions indicated by the user and will respond to the user when the action is done. Essentially this serves as the view in the MVC relationship.

Clone this wiki locally