Tzispa

A sparkling web framework

Frameworks

Tzispa is composed by these frameworks:

Installation

% gem install tzispa

Usage

% tzispa new myproject

Adding apps

% cd myproject
% tzispa generate app mainapp

Tzispa support multi-app projects. Each app must have a unique mount path

% tzispa generate app adminapp --mount=admin

Launch

% tzispa server

Starting app server daemonizing

% tzispa server --daemonize

Adding templates

There are 3 template types: layout, static and block:

  • layout: these are the skeleton entry points in the rig template engine
  • static: these are "light" templates that are a included without any processing as plain text
  • block: the true core of the rig templates, each block template file has an associated ruby file with the template binder class
% tzispa generate rig lister --type=layout --app=mainapp
% tzispa generate rig sitefoot --type=static --app=mainapp
% tzispa generate rig product_detail --type=block --app=mainapp

Work in progress ...