At some point along the way webmasters around the net realized that HTML (1) was too limited to do many of the things that they wanted to accomplish.
How could a webmaster display the current time and date on every page accessed by a client? How could she collect information about clients who were accessing her web site? How could she create a web site that was more than just an information warehouse, but a meaningful and dynamic conversation?
Certainly, HTML was great for distributing "pre-prepared" web pages on request. A client would use a web browser to contact a web server and use HTTP to ask the web server for a specific HTML document. (2) The web server would then send the requested document back to the web browser which in turn, would display the document as defined by the HTML to the client.
Pretty nifty really, and far superior to older technologies like gopher and ftp. However, the interaction between the client and the server was still extremely trivial. The server could only provide HTML documents that had been specially encoded by a webmaster, and that had been placed in certain publicly-accessible directories. The interaction between web browser and web server was pretty mind numbingly simplistic and the coolness of surfing through hyperlinks quickly became droll.
HTML fell short for anything truly "dynamic".
For example, to put the current date on every page using only HTML would require a webmaster to manually edit every file, every day. As you can imagine, this got tiring very quickly for sites with more than 5 pages. Webmasters needed a way to have HTML pages created and modified "on-the-fly," with information that could change weekly, daily, by the second, or for each and every request. And they needed those pages to be modified automatically, without their constant oversight.
As it so happens, the hardware that web server software runs on typically has quite a few resources that can be utilized to help solve these problems. Not only do servers have processing power to spare, they also have a battery of applications (such as e-mail, database manipulation, or calendaring) already installed and ripe for utilization.
And thus was born CGI (Common Gateway Interface). (3)
Related Articles
- Introduction to Procedural ProgrammingWell start of with if
Here is the basic usage of it
variable would be something like $variable - Object Orient Programming: Image ClassThis tutorial is a Web Programming in PHP article on Object Orient Programming: Image Class. The author says, I share the code I use for my image class. Four functions: Upload, Resize, Get a file extenstion, Resize on the fly.
- Introduction to Javascript for NewbiesJavascript is a client-side programming language whose processing engine is embedded in web browsers like Internet Explorer, Netscape, Firefox, etc. This enables the processing engine to read and interpret web pages that contain the javascript code when browsing
- PHP and Web DesignNote 1: You dont have to know PHP programming to do this tutorial. Note 2: I assume that your server supports files with .php extension. If not, you wont be able to do this tutorial. For more info on how to install PHP on your PC go to Php.net...
- Auto RedirectNote 1: You dont have to know PHP programming to do this tutorial. Note 2: I assume that your server supports files with .php extension. If not, you wont be able to do this tutorial. For more info on how to install PHP on your PC go to Php.net...
- Platform Independent Client-Side Applications with JavaThat very umph comes with Java. Java was originally developed at Sun Microsystems in 1991 to provide a platform-independent programming language and operating system for consumer electronics (TV sets, toasters and VCRs)...
- Top 10 Design / Marketing TipsWhen it comes to designing your site, there are 2 ways you can ultimately go. a) Designing for yourself and no one else, b) Designing to fit web marketing and customer attracting methods...
- Object Oriented Programming With PHP 4.1.xObject Oriented Programming provides raw power to PHP 4.1.x Part 1:Introduction First off, an object (also know as a class) is a very simple section of code that has a section of its own variables and functions. In a simple way an object is kind of like a program itself. Objects can be used fo...
- What In The World Do I Blog About?If youre like most people who start a blog, you initially have a bit of writers block. Good news- it will likely go away, and youll find yourself thinking of new things to blog about frequently. In fact blogging becomes quite addictive.
- JavaScript Confirmation BoxesA javascript confirmation box can be a handy way to give your visitors a choice of whether or not an action is performed. A confirmation box will pop up much like an alert box, but will allow the viewer to press an OK or Cancel button.
