I am confused about the terms of web interfaces and web applications.
They're actually the same. Web applications are programs that run on web servers. They generate web interfaces. That is, they produce HTML+CSS+Javascript, and web interface is what users see in their browsers.
1… gitweb is a web application which can only be run on a web server? Is gitweb a web application in the same sense as a web application written in Java servelet and run on Tomcat?
Yes to both. gitweb
is written in Perl, but that's a minor technical detail.
2… gitweb is a Git web interface (web frontend to Git repositories)
Git Pocket Guide says: Git comes with a web-based repository browser called “gitweb.”
It's the same gitweb
.
Does a "web interface" mean the client of a web application?
No. gitweb
is a client of git
, i.e. it takes all its information from git repositories. It presents the acquired information to users via its web interface. A user who uses gitweb
views git repositories using a browser. (I'm afraid my answer sounds like I speak to a 3 y.o.)
Does that mean gitweb is the client of a web application also called "gitweb"?
No, there is only one gitweb
. It's a web application that shows git repositories.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…