Home Register Members List Search Today's Posts Mark Forums Read

Go Back   TechFuels Forum > Hardware > CPU & Components

Reply
 
LinkBack Thread Tools
aldrin
Senior Member
 

aldrin is offline  
Old 01-20-2009, 10:29 AM
  #1 (permalink)
Create Interactive Websites With CGI

Python can be used as CGI scripts in the development of different websites. CGI scripts act as a standard protocol between an application and the web server. The HTML page which is fetched by the HTTPd is static, and CGI is used to generate dynamic content and is 'executed in real time. For example, you need to search a record on a database server, so a web page like google.com will be provided to you. After you enter the search string, the web server deamon will run the respective CGI program to send the information to the database server and then receive the result and display it back to the client's browser.

Name:  Create Interactive Websites With CGI.jpg
Views: 43
Size:  41.1 KB

In other words, you are allowing the web server deamon. to run a program on the server. The advantage of using CGI is that it is very simple to write programs but is recommended for low load applications. As each time a request comes from the client a new Python interpretor is loaded, hence making things slower.

FastCGI is another concept similar to CGI but a better option than CGI. In case of FastCGI, a new process gets started which runs behind the web server independently. Hence whenever a request is generated, the application gets executed without loading the interpretor as was the case with CGI. This results in better performance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Websites Comes Forbidden arsenal General Internet Terms 0 01-10-2009 09:05 AM
Interactive & Intelligent of Internet Okaf8547 General Internet Terms 0 12-16-2008 07:29 AM
Restricting websites inriteck General Internet Terms 0 07-18-2008 02:38 PM
Protect Your Websites hassik54 Web. 2.0 0 05-22-2008 02:39 PM
Advanced Interactive Executive vandana43 Operating System 0 03-19-2008 11:29 AM


All times are GMT +1. The time now is 11:49 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Copyright Techfuels -->
SEO by SubmitEdge


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151