Allow a web site to collect data in a structured manner
The web browser renders the form, collects the user's input, and transmits
the information to the web server
The method to be used for transmitting the information back to the server
is specified in the HTML tag that defined the form.
mailto: the information is send by mail
easy to set up
same issue as with mail feedback
GET or POST : The information is transmitted to the web server and passed
to a specified program for processing
better integration with the database system
need to develop the script that processes the data
GET : the data is encoded within the URL
- -
If the processing of a form is idempotent (i.e. it has no lasting observable
effect on the state of the world), then the form method should be GET. Many
database searches have no visible side-effects and make ideal applications
of query forms.
- -
If the service associated with the processing of a form has side effects
(for example, modification of a database or subscription to a service),
the method should be POST.