Tohu - How it works

This page should explain how it all works including:

  • architecture diagram
  • technologies used

 

Overview

Tohu is a small framework on top of Drools that allows interactive web applications to be built from rule definitions. Java objects representing questions, answers, groups etc. are updated by rules (e.g. answering yes to a certain question might cause another question to appear on the same page). The state of the objects are sent to and from the browser via AJAX requests where javascript renders the questions on the screen. When the user makes a change to a field an AJAX request to the server may fire more rules and cause further screen updates.

 

See also: Tohu - Modules

 

Core Classes

TohuCoreClasses.png

Architecture Overview

See attached document for overview diagrams.

 

The Javascript library makes use of JQuery while the Tohu Execution Server is Java.