The web is used as a technical platform to allow the manipulation of
applications hosted on web servers. In such applications, programs and data
reside on a web server - unlike conventional applications which reside on the
user's computer. For developers, the provision of an application hosted on a web
server is much less costly than burning a CD and sending it to mass
distribution. Subsequent improvements are also facilitated.
CGI is a technique for associating a program with a web page. Using this
technique, the HTTP server can use the program to obtain data from, for example,
databases, and then send it as a web page.
Between 1995 and 2005 Java Servlet succeeded CGI, then Active Server Pages,
mod_php (PHP language) and mod_perl
for perl language, used by many cgi and fastCGI scripts (1995), were launched as
competing technologies.
PHP quickly became the most used language on the server side.
https://www.setthings.com/en/web-applications/