The MVC framework for javascript applications

The real MVC. The Smalltalk MVC. The Gang of Four MVC.

Model - View - Controller

  • A model contains domain data. When a model changes, it informs its observers.
  • A view observes a model and represents its model's current state. A view has a controller. A view can have child views.
  • A controller decides what happens when a user interacts with the controller's view.

The three core design patterns of MVC (observer, composite, and strategy) are embedded in Maria's Model, View, and Controller objects. Other patterns traditionally included in MVC implementations (e.g. factory method and template) make appearances too.

Quick Start

Quick Start Tutorial

Learn Maria and how to use MVC to structure your applications.

Plugins

Plugins

Maria is designed to be flexible so that plugins can modify virtually any of the framework’s functionality.

API Documentation

API Documentation

All the nitty-gritty details extracted from the inline documentation.

GitHub Project

GitHub Project

Maria is free, open-source software and a community project on GitHub. Join us and get involved!

Example Applications