Skip to content

This isolates the features of webwork which simply render a problem, independent of any connection with a database or with a webserver

Notifications You must be signed in to change notification settings

cs253/standalone-question-renderer

 
 

Repository files navigation

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.

About

This isolates the features of webwork which simply render a problem, independent of any connection with a database or with a webserver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 93.0%
  • Prolog 6.8%
  • Other 0.2%