0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

備忘録その2(CGIについて)

Posted at

CGIについて

・CGIは「仕組み」の名前であって「言語」ではない
・CGIはWebサーバーと外部プログラムをつなぐ規約(インターフェース)
・Perl、Python、PHPなど、さまざまな言語でCGIスクリプトを実装できる

CGIの欠点

・リクエストごとにプロセスが立ち上がるため重い。CGIの大きな欠点は毎回新しいプロセスが起動すること。
例:ユーザーがフォームを送信 → サーバーはCGIスクリプトを実行 → 終了
・負荷が高くなるとパフォーマンス問題になりやすい。

CGIはHTMLを「生成する」役割

・HTMLをその場で組み立てて出力する役割がある
・そのため、「CGI=Webアプリのはしり」ともいえる

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?