The entire system as it stands is built in Oracle stored procedures using mod_plsql and catenating the output using htp.p().