Skip to main content

WCGI Is WebAssembly + Old School CGI

 WCGI combines the newest innovations with the technology of the old. To what end? CGI is dead. Long live WCGI!

CGI (Common Gateway Interface) was a way for web servers and server-side programs to interact as simple

as taking a request over STDIN and returning a response over STDOUT. The protocol however was inefficient because it required a new process to be respawned each time a page was served. As such it was superseded by technologies which were better, faster, more secure, with better integration with the web server.
One such was FastCGI which was introduced as a middle ground between the PHP Apache Module and the CGI application. It allowed scripts to be executed by an interpreter outside of the web server and included the security benefits of CGI without any of the inefficiencies of CGI. For an example in Java, see Servlets.

https://www.i-programmer.info/news/87-web-development/16320-wcgi-is-webassembly-old-school-cgi.html

Comments

Popular posts from this blog

RAG from Scratch

  The "RAG from Scratch" tutorial by Langchain coupled with the "RAG playground" are two great educational resources that will help you kickstart your journey with RAG. https://www.i-programmer.info/news/105-artificial-intelligence/17676-rag-from-scratch.html

Hour Of Code 2024 Is About To Kick Off

  This year the event that aims to provide a coding experience for all school students and anyone else who wants to join in runs between December 9th and 15th and includes new activities. Let's find out all about it! https://www.i-programmer.info/news/150-training-a-education/17664-hour-of-code-2024-is-about-to-kick-off.html