Beruflich Dokumente
Kultur Dokumente
Information
Primary Purposes of the Internet Dispersal of information Collection of information The bi-directional transfer of information cannot occur with HTML alone!
INPUTS: Items passed to the server for processing. OUTPUT: The results of the server processes: a web page
Amazon: Type in your credit card and their server takes that information and bills your credit card company. Server-side image maps. Those utilized on mapping web sites are generally server-side because the input is simply two coordinates. The map is redrawn by the server having those coordinates as the center. Simple CGI or ASP application. Take your name and say hello.
Examples:
HTML Forms
Any time you see a web site where you are prompted to enter information
Input box Checklist Radio Buttons Select list, Submit button
Variables
Get: Fields are sent in the URL following a question mark (?) and separated by ampersands (&)
http://yo.com/post.aspx?name=Ned&id=42
Get
Aids in (but may not guarantee) bookmarking Only supports the maximum URL length for a browser, thus many fields long wont work well. Does not require the use of a form.
Post
Supports much more information transfer Hides information from user (mostly)
You can have the users browser send an email on the users behalf to an email address within your form. This is not recommended to implement in production, but it can help you debug.
For example, let's say that you wanted to "hook up" your Unix database to the World Wide Web, to allow people from all over the world to query it. Basically, you need to create a CGI program that the Web daemon will execute to transmit information to the database engine, and receive the results back again and display them to the client. This is an example of a gateway, and this is where CGI, currently version 1.1, got its origins.
CGI Implementations
ASP/ASP.NET: Microsoft Active Server Pages running on Microsoft Internet Information Server (IIS) JSP: Java Server Pages running on the Java Virtual Machine, likely served by Apache Tomcat. PHP: server-side HTML embedded scripting language Perl: architecturally similar to Java C: Your old fiend Shell Scripting: not recommended