[Tfug] dynamic website help

Zack Williams zdwzdw at gmail.com
Sun Apr 5 21:10:52 MST 2009


> I have a website that I'm creating for a collaborative project. It
> involves a series of documents that are being revised, re-revised, and
> then re-revised a third time. Right now I have the documents available
> for download, and I've written a script for people to resubmit the
> files. The problem I'm having is that I have a table on my site, which
> lists each document, and I want to toggle something (anything, really)
> to indicate that a revision of a given document has been uploaded. So,
> as an example, document1 has had no revisions submitted, so the
> toggles for revision 1,2 and 3 are 'off'. Then someone submits
> revision 1 and its toggle for revision on is turned 'on' while the
> rest of the toggles are 'off' still.

You're kind of reinventing the wheel.

If doing it web-based is not a prerequisite, then you may want to look
into a version control system, like subversion or git.   This can
handle binary/proprietary file formats.

If web-based is required, and the document is text based, think about
a wiki-based system, which generally have versioning built in.

- Zack




More information about the tfug mailing list