BinaryTiers implements the architecture pattern Model-View-Controller (MVC)
Models encapsulate the business logic and the data objects of your web application, in BinaryTiers models are normally backed by a database. Models can be easily extended and they permit an independent development, testing and maintenance.
The View is composed of “themes” that are responsible for providing appropriate representations of your application interface. Themes are CPP files with embedded HTML.
The Controllers are responsible for handling incoming HTTP requests and send the response. This response can be processed by the View, or sent directly to the output in order to generate XML, JSON, etc.
In BinaryTiers controllers can provide a direct response or a pre-processed response that is commonly used in form validations.