Working with the Web
The World Wide Web (WWW) has become a popular medium to return information. Initially this was for web browsers as a result of CGI or server-side scripting, but recently it has been for more generalized services. We saw an example of the latter with the use of REST in conjunction with the CouchDB document database.
In addition to browsers being almost universally available, we noted that most firewalls are configured to permit the traffic of HTML data. Also, programs such as
curl can be used to query web servers in the absence of a browser.
In this section, we will consider Julia's approach and in particular to the facilities available under the group heading, JuliaWeb.
A TCP web service
Essentially, a web server is