-
Notifications
You must be signed in to change notification settings - Fork 7
Home
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
- Extract hardwired environment data in renderProblem.pl and place in text file
- 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?
- Testing
webserver -- PGgenerator connection tasks
- 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
- 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
- Trigger the PG renderer to act on the file. (Optional -- can we replace the file with STDOUT/STDIN?).
- Translate ruby Hash into the XMLRPC
- Translate ruby Hash inot JSON
- Testing