Skip to content
mgage edited this page Dec 7, 2012 · 12 revisions

Welcome to the standalone-question-renderer wiki!

Project signup: https://github.com/mgage/standalone-question-renderer/wiki/ROCS-Signup

Add comments about the project here.

Project description and PG renderer setup: http://mgage.github.com/standalone-question-renderer/

Main github: https://github.com/mgage/standalone-question-renderer

UML map (with links to protocol formats): http://mgage.github.com/standalone-question-renderer/csc253_server_project.html

Task organization:

Client tasks

  1. Extract hardwired environment data in renderProblem.pl and place in text file
  2. Duplicate functionality of renderProblem.pl which reads in the problem template (index.txt) and the environment data and sends it to the webserver. It looks like the package xmlrpc4r would be suitable for sending via XMLRPC protocol and that orbjson would be suitable for sending JSON. Are there other candidates?. Will there be issues with escaping data?
  3. Testing

webserver -- PGgenerator connection tasks

  1. Figure out how to translate incoming XMLRPC to a ruby Hash. (if the webserver people don't do this for us.) Print the Ruby hash to a file for submission to PG renderer xmlrpc4r package might work for it
  2. Figure out how to tranlatate incoming JSON to a ruby Hash. Print the Ruby hash to a file for submission to PG renderer orbjson.rubyforge.com might work
  3. Trigger the PG renderer to act on the file. (Optional -- can we replace the file with STDOUT/STDIN?).
  4. Translate ruby Hash into the XMLRPC
  5. Translate ruby Hash inot JSON
  6. Testing
Clone this wiki locally