This isolates the features of webwork which simply render a problem, independent of any connection with a database or with a webserver
Perl Prolog Ruby R TeX CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
client
courses/gage_demo
data
docs-misc
pg
ruby_code
webwork2
README.md
README2.md
RenderProblem.pm
run_problem_generator.pl
view_input_to_generator.pl

README.md

Project

Put a Ruby webserver front end on the PG renderer so that the client can send a .pg file, have it rendered and returned to the client which pushes it through a browser.

PG is the language used to write mathematics questions for WeBWorK. It is basically perl with additional macros that make it easier to write and to check the answers to mathematics homework problems.

A light weight Ruby server installations will make it possible to write and check homework questions on a laptop without connections to the web.

The question returned to the browser is active in the sense that when it is resubmitted to the PG renderer the entered answers are checked and the result is returned to the browser.

The UML for the project is at:
http://mgage.github.com/standalone-question-renderer/csc253_server_project.html

The items in yellow are the scripts that should be written to connect the Ruby webserver and the PG renderer engine. If XMLRPC is used as a transport mechanism then the existing perl client can be used to check the operation of the server and the renderer.

The items in blue constitute perl code that duplicates the functionality of renderProblem.pl which can be used as a model.

A description of the existing perl code for the PG renderer is in README2.