SillySmart, like most modern web applications, base his architecture on Design Pattern MVC (Model-View-Controller).
This pattern requires the separation between the data (Model), presentation (View) and treatment (Controller):
Model represents data modeling, often characterized by a database. It allows manipulation CRUD (Create, Read, Update, Delete) and ensures data integrity.
View represents the interface with which the user interacts. It presents the data and receives user actions.
Controller makes the interaction between both layers. It supports event handling to update the View and Model layer.