The Growing Book Command Processor

When you submit a command to the Growing Book, the customized IC Manager main.cgi processes this command. The command consists of a name and its parameters. The command name is treated as a message type by the IC Manager to be passed on, together with the parameters, to the appropriate IC for processing.

Therefore, what you have to do is to implement your Growing Book commands as "actions" (C programs) and recompile the IC Manager main.cgi to test them. For the final demo, the TA will collect all the C programs to recompile the integrated IC Manager, which will process all the Growing Book commands. However, you must test your C programs with your IC Manager first, before submitting it to the TA.

The database associated with the Growing Book will, for the purpose of the class project, be stored in http://www.cs.pitt.edu/~jung/GrowingBook/HTML/main.txt.

Growing Book Commands as potential project topics (more details are available):
ABSTRACT: Create an abstraction of a chapter at a certain level.
SEND_AUTHOR: Send a message to the author(s) of a chapter.
SEND_TEACHER: Send a message to the teacher(s) of a chapter.
SEND_STUDENT: Send a message to the student(s) of a chapter.
ADD_AUTHOR: Add to the author(s) of a chapter.
ADD_TEACHER: Add to the teacher(s) of a chapter.
ADD_STUDENT: Add to the student(s) of a chapter.
DROP_AUTHOR: Drop from the author(s) of a chapter.
DROP_TEACHER: Drop from the teacher(s) of a chapter.
DROP_STUDENT: Drop from the student(s) of a chapter.
SET_AWARENESS: Set the awareness profile.
SET_PRIVACY: Add someone to the privacy list.
CHECK_AWARENESS: Check the awareness profile.
AWARE: Display info one should be aware of.
ADD_WHO-IS-WHO: Add to who-is-who.
ADD_CENTER: Add to centers of excellence.
ADD_REFERENCE: Add to reference(s).
ADD_TOOL: Add to tool(s).
ADD_WATERMARK: Add watermarks to the html files of a chapter.
DISPLAY_WATERMARK: Display watermarks of the html files of a chapter.
WEAVE: Weave pieces of the same type, such as sound bytes, into a presentation.
MATCHPAR: Define Growing Book working directory and matching parameters.


You will be assigned to implement two Growing Book commands as C programs, which must be tested with the Unix IC Manager. If XYZ is the name of the command, then xyz.c is the name of the program file, and xyz() is the name of the c function. Your command will rely on main.txt as input data and work on the Growing Book to produce results as html pages.

How the Term Project will be graded


Total 30 points

Each command is worth 10 points, distributed as follows:

         3 It works with your customized IC manager

         3 It works when your c programs are integrated into TA's IC manager

         2 Satisfactory inline documentation (documentation included

           as comments in your c program)

         2 Polished user interface (nice look-and-feel)

The remaining 10 points are rewarded for either of the following:

        10 An extra function for the Growing Book conceived

           by you. The same criteria described above will be used.

        10 An idea, theoretical or otherwise, about the growing

           book.  A self-contained presentation, in the same style

           as the seminar presentation, is delivered to the instructor.

           Presentation is no longer than 10 html pages and must

           be comprehensive.  The instructor will read and grade

           it according to its novelty, soundness and presentation.



BACK TO TOP GROWING BOOK (PC) SENTIENT MAP (PC)