mail to Edmond Hui
UofC

CPSC 547: Advanced Information Systems


CGIs, Plugins, & etc.


  1. CGIs
  2. Plug-ins
  3. Web Push/Pull Technology
  4. Demonstrations
  5. References


What is CGI?

Why we need it?

How CGI works?

  1. The client sends an HTTP request to the server. (E.g. http://admun.home.ca/cgi-bin/helloworld.cgi) If there are any user inputs (E.g. from HTML forms), the parameters are passed along with the HTTP request.
  2. The server receives the request and executes the correspondent script, which can be written in virtually any programming language. If there are any user inputs, the server will pass it to the script.
  3. The script executes and returns output to the server through standard output.
  4. The server will return all output to the client.

How to write a CGI script?

Notes:

What we can do using CGI scripts?

What kind of CGI packages available out there?

There are many CGI packages available on the Internet, and many of them are free. Here are some places to find such packages:

Problems in CGI?


What is plug-in?

What is the difference between plug-ins, helper applications and Java Applets?

Here's are some examples of Plug-in, Java applet, & Helper application:

What plug-in technology available currently?

A list of Netscape plug-ins is here


What is Web Push/Pull technology?

How these technologies work?

Push technology generally falls into two categories:

Server-based filters:

  1. The client tells a server what to watch for.
  2. When the conditions happen, the server notifies the client.
  3. The user then checks out the web pages from the Internet.
Example: eBay auction service & My Yahoo

Client-based filters:

  1. The client was configured to watch for some conditions.
  2. The client periodically polls the server to see if the conditions are met.
  3. If the events occur, the client updates the information it displays.
Example: Pointcast

Why it's useful?

What is the problem associates with Push/Pull technology?

Who's in the race?

There are many push/pull technologies battling for the growing market: Note: So far most of these technologies only support Windows 95/NT/Mac. However, Mirabilis's Castanet has Java version, which can run on any platforms that Java is available (E.g. Linux, Solaris).


Demonstrations

A CGI demo is here. These CGI scripts are installed at admun.home.ca; if you can located the where about of the machine. 8)


References

Netscape (1997).  The LiveConnect/Plug-in Developer's Guide.  Netscape Communications Corp.  http://home.netscape.com/eng/mozilla/3.0/handbook/plugins/index.html.

(links) NCSA (1996).  The Common Gateway Interface. National Center for Supercomputing Applications, University of Illinois at Urbana-Champaign , IL. Mar. 7, 1996. http://hoohoo.ncsa.uiuc.edu/cgi/overview.html

(links) NCC (1997).  The Common Gateway Interface.  CGI Script Resource List. Network Cybernetics Corp.  http://dvjcc.ncc.com/cdroms/web/web_sites_cgi.html

(links) The CGI Resource Index; http://www.cgi-resources.com/

(links) Matt's Scripts Archive; http://www.worldwidemart.com/scripts/

DeJesus, Edmund X. "The Pull of Push." Byte Magazine August 1997: 84na1-84na8

Hosted by www.Geocities.ws


UofC Advanced Information Systems, Department of Computer Science
mail to Edmond Hui
Hosted by www.Geocities.ws

1