TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: HTML-based tutorials? From:"Steven J. Owens" <puff -at- NETCOM -dot- COM> Date:Sat, 12 Dec 1998 19:51:31 -0800
Geoff,
> For an upcoming project, we've been asked to create an instructional
> package that can be used both on CD-ROM and on the Web. [...] we've
> decided to go with a solution based on simple, (relatively)
> browser-independent HTML. [...]
> We'd like to consider the option of including a computerized test
> within the body of the instructional material. [...] we'd like to
> provide some method of letting the computer assess their performance
> Does anyone have recommendations for a Web-based tool (e.g., a
> specific CGI script) that will total up correct answers to provide a
> final grade?
> How about something HTML-based that will be independent of the
> operating system
Writing a Perl script in CGI to do this is fairly
straightforward. Unfortunately, it's trickier than this. I can't go
into detail at the moment (gotta be somewhere else momentarily) but if
you can't invoke a CGI script from a standalone web browser, you need
to install a web server to take the CGI invocation and run the program
and then take the results and hand it back to the user. I know why
this is so in theory, but I think it was fairly inane of netscape not
to include some capability (maybe a plugin) to handle standalone
browser situations.
Probably your best bet is using Javascript. I hate saying this
because Javascript is *not* my favorite language for myriad reasons.
However, it won't need an external web server to invoke a Perl script.