From saleh@npac.syr.edu Tue Feb 17 21:57:00 1998 Status: RO X-Status: Received: (from majordom@localhost) by postoffice.npac.syr.edu (8.7.5/8.7.1) id VAA15300 for cps606spring98-outgoing; Tue, 17 Feb 1998 21:57:00 -0500 (EST) Received: from tarkovsky.npac.syr.edu (tarkovsky-164.npac.syr.edu [128.230.164.139]) by postoffice.npac.syr.edu (8.7.5/8.7.1) with ESMTP id VAA15295; Tue, 17 Feb 1998 21:56:57 -0500 (EST) Received: from localhost (saleh@localhost) by tarkovsky.npac.syr.edu (8.8.5/8.7.1) with SMTP id VAA06272; Tue, 17 Feb 1998 21:56:56 -0500 (EST) X-Authentication-Warning: tarkovsky.npac.syr.edu: saleh owned process doing -bs Date: Tue, 17 Feb 1998 21:56:55 -0500 (EST) From: Saleh Elmohamed To: cps606spring98@npac.syr.edu cc: Saleh Elmohamed Subject: [cps606spring98] Grading policy for Assignment 1 Message-ID: MIME-Version: 1.0 Sender: owner-cps606spring98@npac.syr.edu Precedence: bulk Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Length: 3623 Hi everyone, Hope you all having fun with the assignment :-) Roughly, here is a set of heuristics or "general rules" that we would like to follow when we (Saleh and Ozgur) set down to grade your first assignment: http://www.npac.syr.edu/projects/cps606spring98/assignments/homework1.html [1] The first part of the grade will go to the following three items (check the assignment page): 1. Design your class web page 2. Design an HTML form 3. Using osprey7 http://www.npac.syr.edu/projects/cps606spring98/assignments/setup-osprey.html Make sure you go over this configuration page carefully to get your stuff running correctly. We won't be giving any extra credit for correctly configuring your environment. It is really your job to do it right. [2] The second part of the grade is for the CGI script, written using Perl. This part is important so you guys need to pay some attention to it. Please, read that part carefully and make sure you fully understand the question. Also, make sure you understand the short section that begins with "This is a change!". There are a number of things that we will be looking for: 1. correctness 2. organization of the code and 3. comments and explanations. Since most of you probably won't start from scratch writing this part, please make it clear which part you added or modified when using someone else's code. Make sure comments and code agree and say what you mean, simply and directly. Make it right before you make it neat. Please refer to section 4 of the assignment. [3] The third part is for a short (about a page or so) description of your work. No need to re-write the questions, just have a clear and concise description of your solution. [4] The final part is for the output file. Since it will be located in your cgi-bin area, neither we nor anyone else (other than yourself) will be able to view its contents. It is important to us to see for ourselves how each update is carried out and what the contents of this file is afterward. Therefore, you need to make a link somewhere in your page to this file so we can view it after each update. In short, here is how you go about doing this. Assume your userid is co98aaa and file (database) name is strawberry. In your documents directory, .../cps606spring98-docs/co98aaa you do the following symbolic link (check any good Unix manual to see how these things work) ln -s ../../cps606spring98-cgi/co98aaa/strawberry cherry.db Now, in your assignment page, you can do something like output file to have your database linked. So, to summarize, the way you build your webpage is really up to you but we expect you to have there links to: 1. Your form 2. Your description 3. Your program 4. Your output file (or the database) It is always a good idea not to cram everything in one page. It really doesn't hurt to have a neat and a good looking homepage. We kind of appreciate those ;-) So, go ahead, unleash your creativity. References: ---------- 1. CGI resources (through the web page) 2. HTML resources (through the web page) 3. Learning Perl (O'Reilly and Assoc.) 4. CGI Programming (O'Reilly and Assoc.) 5. Any CGI/Perl book will do. 6. http://www.npac.syr.edu/projects/k12javaspring98/admin/application.html 7. http://www.npac.syr.edu/education/web/brochure/application.html 6 and 7 use the mailform in http://www.npac.syr.edu/projects/tutorials/CGI/examples/more-cgi/mailform.html Good luck, Saleh