Documentation

Table of Contents

Components

Migration

The main differences between Temma 1.x and version 2

Installation

Temma installation is very easy, by cloning the Git repository

Configuration

Temma configuration is based on a JSON file and optional environment variables

Routing

Temma's routing system is intentionally very simple by default, but can be extended

Log

Writing to the log files is done in a simple and expressive way, making debugging easier

Controllers

Temma's controllers are simple to build and operate, and can be easily extended

Views

Smarty templates by default, but also JSON, CSV, RSS, iCal, INI exports

Dependency injection

This component is the backbone of your application developments

Sessions

Record data relating to a user session, to switch to stateful operation.

Cache

To avoid computing the same data again and again, save them to cache

Model

Access to databases is done using the DAO pattern, with or without cache

Plugins

Modify the behavior of your application using pre- or post-controller plugins

Execution flow

Temma uses an easy-to-use plugin system to manage query execution

Helpers

Temma provides severals objects to facilitate some processings.