Forum .LRN Q&A: Programming language

Collapse
Posted by Sascha Jakob on
Hy Guys,

i have a question about the programming languages that are used in the .LRN/OpenACS project. I know that the main language is TCL, but are there any more langugaes that are used. If there are more, please tell me what languages and in which area exactly it is used.
How gets the answer translatet into HTML format? Is there any framework?

I am happy about any answer, so thank you.

Yours Sincerely
Sascha

Collapse
2: Re: Programming language (response to 1)
Posted by Jarkko Laine on
Hi Sascha,

OpenACS is written in TCL, as you knew already. The database layer uses of course SQL and either PL/SQL or PL/pgSQL ("procedural" SQL) depending on the underlying database (Oracle/PostgreSQL).

OpenACS *is* the framework. It translates the request (see https://openacs.org/doc/openacs-5-1/request-processor.html) to a pair of tcl/adp files (see https://openacs.org/doc/openacs-5-1/templates.html). The TCL file contains the application logic for that page and the ADP file is the presentation template. The returned HTML file is the result of processing these files.