|
Updated: 28 September 2003
ASP resources page
This web page was compiled by Dr Jan Pajak. It contains samples of code from various
areas of ASP scripting, as well as samples of merit-level assignments completed by best
students of PR115, PR255, PR515, and PR655 modules. This page is designed to be used as
programming support and pool of examples by students of PR515 (PR115) and PR655(PR255)
subjects.
Sys files (Term 4, 2003)
(You are requested to upload the "sys" directory with all files to your current web site)
Click to inspect
tutor's example of testing web page (Note that this web page is used for testing).
Click to inspect
content of the found.txt file (Note that this file contains outcomes of DB search).
Click to download the
code of the entire "sys" directory (in ZIP compressed format).
Sample hit counters (Term 4, 2003)
Click to inspect
tutor's example of a simple hit counter (Note that it is described in E2 of PR655).
Click to download the
JavaScript code of this simple hit counter (in ZIP compressed format).
Click to inspect
tutor's example of a hit counter with fancy digits (Note that it is described in E4 of PR655).
Click to shift to the
(Example 2003_3_1hit) Sample HTML web page with hit counter installed (Experimental Assignment 2, PR515, Term 3, 2003).
Click to shift to the
(Example 2003_3_2hit) Hit counter homepage (Experimental Assignment 2, PR515, Term 3, 2003).
Click to shift to the
(Example 2003_3_3hit) Codes of hit counter pages for downloading (ZIP format) (Experimental Assignment 2, PR515, Term 3, 2003).
Sample submission forms (2002 and 2003)
Click to shift to the
(Example 3a) Search Engine Submission and Confirmation (Assignment 2, PR515, Term 1, 2003).
Click to shift to the
(Example 3b) Search Engine Submission and Confirmation (Assignment 2, PR515, Term 1, 2003).
Click to shift to the
(Example 3c) Search Engine Submission and Confirmation (Assignment 2, PR515, Term 1, 2003).
Click to shift to the
(Example 2a) Search Engine Submission (Assignment 1 and 2, PR115, Term 3, 2002).
Click to shift to the
(Example 1a) Client Form Submission (Assignment 1 and 2, PR115, Term 2, 2002).
Sample search engines (Term 4, 2002)
(Test these for the following key words (listed in any random order): align, body, center, color, colour, title)
Click to shift to the
(Example 8b) Search Engine 8b (Assignment 1, PR255, Term 4, 2002).
Click to shift to the
(Example 8c: uses "Access" DB) Search Engine 8c (Assignment 2, PR255, Term 4, 2002).
Click to download the
JavaScript and HTML codes of this 8c search engine (in ZIP compressed format).
Click to shift to the
(Example 7b) Search Engine 7b (Assignment 1, PR255, Term 4, 2002).
Click to shift to the
(Example 7c: uses "Access" DB) Search Engine 7c (Assignment 2, PR255, Term 4, 2002).
Click to download the
JavaScript and HTML codes of this 7c search engine (in ZIP compressed format).
Click to shift to the
(Example 6b) Search Engine 6b (Assignment 1, PR255, Term 4, 2002).
Click to shift to the
(Example 6c: uses "Access" DB) Search Engine 6c (Assignment 2, PR255, Term 4, 2002).
Click to download the
JavaScript and HTML codes of this 6c search engine (in ZIP compressed format).
Click to shift to the
(Example 5a) Search Engine Submission 5a (Assignment 1 and 2, PR115, Term 3, 2002).
Click to shift to the
(Example 5b) Search Engine5b (Assignment 1, PR255, Term 4, 2002).
Click to shift to the
(Example 5c) Search Engine5c (Assignment 2, PR255, Term 4, 2002).
Click to download the
JavaScript and HTML codes of this 5c search engine (in ZIP compressed format).
Click to shift to the
(Example 3a) Search Engine Submission 3a (Assignment 1 and 2, PR115, Term 3, 2002).
Click to shift to the
(Example 3b) Search Engine 3b (Assignment 1, PR255, Term 4, 2002).
Click to download the
JavaScript and HTML codes of this 3b search engine (in ZIP compressed format).
Click to shift to the
(Example 3c) Search Engine 3c (Assignment 2, PR255, Term 4, 2002).
Click to download the
JavaScript and HTML codes of this 3c search engine (in ZIP compressed format).
Click to shift to the
(Example 1a) Search Engine Submission (Assignment 1 and 2, PR115, Term 3, 2002).
Click to shift to the
(Example 1b) Email Submission and Confirmation (Assignment 1, PR255, Term 4, 2002).
Click to shift to the
(Example 1c) Search Engine (Assignment 2, PR255, Term 4, 2002).
Template
Click to shift to the
(Example 1) Template for a front page (Resource for assignment
1, Term 4, 2002).
File handling
(ilustrates reading and writing records from/to a text disk file
disks/found.txt)
Click to shift to the
in_file.asp which reads a disk file (record-by-record)!
Click to shift to the
out_file.asp which appends a record to the end of a disk file!
Navigation through web - it shows
how one page can call, run, or visit, other ones:
Codes of subsequent pages can be viewed or saved, if you click on filenames:
visitpage.txt
reply_generator.txt
starter.txt
transitory.txt
hello.txt
Click to shift to the
hello.asp Web page!
Click to shift to the
Starter.htm Web page!
Click to shift to the
reply_generator.asp. It generates a virtual web page and runs it.
Click to shift to the
visitpage.asp. It shows code for visiting other web sites.
Sample test files:
found.txt, and
go.htm
for search engine testing:
Click to display the content of
found.txt. It allows you to reload the found.txt file!
Click to run the
go.htm. It runs the engine testing web page.
Sample DHTML menu - it is composed of four components named:
dhtml_menu/dhtml.htm
dhtml_menu/menu_adjust.js
dhtml_menu/menu_forbidden.js, and
dhtml_menu/arrowdn.gif
Click to run the
dhtml.htm file!
Microsoft Access Database Handling Pages:
database/data1.mdb
database/send.htm
database/insertdata.asp
database/database.asp
for accessing, writing, updating, and reading a Ms Access database:
Click to download the content of DB table
data1.mdb. It contains a database table.
Click to run the
send.htm. A client-side Web page for sending data to insertdata.asp to be inserted to an Access DB.
Click to run the
insertdata.asp. An ASP page for inserting data (posted from send.htm) to the Access DB table.
Click to run the
database.asp. An ASP page for replacing in DataFieldOne the word HELLO with the word HI when DataFieldTwo is equal to THERE (i.e. update of Access DB).
Click to download the content of DB table
English.mdb. It contains the English.mdb database table.
Counts of visits to this page:
|