|More Webwork Suggestions||topic started 9/17/2003; 4:28:39 PM
last post 9/18/2003; 6:23:01 PM
|John Jones - Re: More Webwork Suggestions
9/18/2003; 6:23:01 PM (reads: 1009, responses: 0)
We use suggestion 2 within the current framework of WW. I have a directory Library, with subdirectories of ASU-topics, Rochester, etc. All of the files under this structure are 644, so only the owner (me) can modify them. The web server can read them, but not right them.
When creating a course, I have a tar file of the usual stuff, but it includes a symbolic link in the templates directory to the Library. I then copy the set definition files for the course into the templates directory and give the web server write permissions on those. The paths to files already have Library/ASU-topics/setGraphs/... in them.
Our faculty can then have our "standard" version of a course to start with, and they cannot change the official versions of the problem files. They can modify set definition files to take problems out and change dates.
In theory, instructors could use Save As in the problem editor to create new problem files. It will work if they don't try to save into the Library, but reduce the path to just a single filename (which then goes into their templates directory). No one does this, but the possibility exists.
An idea I had a while ago and haven't gotten around to is to have the system be a little more savy about editting problems in the "Library" - so that it automatically makes a corresponding directory in the course's templates directory, saves there, and asks if the set definition file/built set should be updated to point to the new file. We have a grant proposal under submission related to a National problem library. If it is funded, then this part will definitely get programmed.
It is reasonable to ask how the first part of your suggestion will be handled by a national problem library. We hadn't thought about this aspect since problems are not supposed to stop working with later versions of WW. On the bright side, part of the grant proposal is to test and clean up problems before we include them in the national library. Problems which don't work with the latest version of WW would be fixed.