Last modified 5 years ago
Basic layout
*NOTE* out of date
Here is the new source-code layout for infoarena.
- common: Shared code: Data models, logging system, misc utilities.
- www: Code that runs on the web server. Should we restrict this to MVC stuff only?
- www/views: Code for viewers, all html goes in here.
- www/controllers: Code that responds to http requests. Please see MVC.
- www/wiki: Wiki parser.
- www/macros: Wiki macros go here. Please see macros.
- www/macros/macro_$name.php: Code for the $name macro, in a function called macro_$name.
- jrun: Our jailer program?. This is the only part written in C.
- tools: All sorts of tools and scripts.
- eval: Judge daemon. Move to judge? See #68.
- graders: Task evaluators and tests. This is huge, since it contains tests.
- graders/$name: Task evaluator and tests for task $name.
- db.sql -- Database dump used for local copies of the code.
There are a bunch of config files around the tree, please see ConfigFiles about how it all works.
![[infoarena] development](/chrome/site/logo.png)