<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ogremindes.net &#187; cgi</title>
	<atom:link href="http://ogremindes.net/tag/cgi/feed/" rel="self" type="application/rss+xml" />
	<link>http://ogremindes.net</link>
	<description></description>
	<lastBuildDate>Thu, 18 Feb 2010 21:41:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introduction To Programming: Web Programming Languages &#8212; CGI</title>
		<link>http://ogremindes.net/blog/introduction-to-programming-web-programming-languages-cgi/</link>
		<comments>http://ogremindes.net/blog/introduction-to-programming-web-programming-languages-cgi/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 04:19:00 +0000</pubDate>
		<dc:creator>Ogremindes</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[TAFE]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[cgi]]></category>

		<guid isPermaLink="false">http://ogremindes.net/introduction-to-programming-web-programming-languages-cgi/</guid>
		<description><![CDATA[Common Gateway Interface, or CGI was the first method of server side scripting. It was developed by the NCSA to more easily allow for dynamic applications...]]></description>
			<content:encoded><![CDATA[<p>Common Gateway Interface, or <acronym title="Common Gateway Interface">CGI</acronym> was the first method of server side scripting. It was developed by the <acronym title="National Center for Supercomputing Applications">NCSA</acronym> to more easily allow for dynamic applications. Before <acronym title="Common Gateway Interface">CGI</acronym>, the only way to create, say, a search engine, was to directly alter the code of the web server itself.</p>
<p><acronym title="Common Gateway Interface">CGI</acronym> is not a language unto itself. Rather, it takes the data in the <acronym title="Common Gateway Interface">CGI</acronym> file and inputs it to an external program, which then sends it&#8217;s output back to the server. Any program than can handle the input/output streams used by <acronym title="Common Gateway Interface">CGI</acronym> can be used by the <acronym title="Common Gateway Interface">CGI</acronym> script.
<p>When writing a <acronym title="Common Gateway Interface">CGI</acronym> script you could put all the code you need for the task at hand in the <acronym title="Common Gateway Interface">CGI</acronym> file, much like you would for <acronym title="Hypertext Preprocessor. Or maybe Professional Home Page. Possibly Personal Home Page.">PHP</acronym>. The code would then be sent to an interpreter program to be executed. Alternatively, you could write the program separately and compile it, having only the inputs to activate it in the <acronym title="Common Gateway Interface">CGI</acronym>.</p>
<p>A chief weakness of <acronym title="Common Gateway Interface">CGI</acronym> is that it makes a separate running instance of the program it calls every time it is run. If there are many simultaneous connections this can add up quickly.</p>
<p>Being the first of it&#8217;s kind, <acronym title="Common Gateway Interface">CGI</acronym> is widely used. However, newer sites are not commonly written using <acronym title="Common Gateway Interface">CGI</acronym>, as it is highly inefficient compared to other methods for sever-side scripting.</p>
<ul>
<li>
<a href="http://www.oreilly.com/openbook/cgi/" onclick="javascript:urchinTracker ('/outbound/article/www.oreilly.com');">CGI Programming on the World Wide Web</a>
</li>
<li>
<a href="http://www.wdvl.com/Authoring/CGI/" onclick="javascript:urchinTracker ('/outbound/article/www.wdvl.com');">CGI: The Common Gateway Interface for Server-side Processing</a>
</li>
<li>
<a href="http://modperlbook.org/html/index.html" onclick="javascript:urchinTracker ('/outbound/article/modperlbook.org');">Practical mod_pearl</a>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ogremindes.net/blog/introduction-to-programming-web-programming-languages-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
