Working with the web
The World Wide Web has become a popular medium for returning information.
Initially, this was limited to web browsers because of CGI or server-side scripting but recently, it has been extended to more generalized services due to the introduction of encoding schemes such as XML, JSON, and BSON.
In addition to browsers being almost universally available, we should note that most firewalls are configured to permit the traffic of HTML data. Also, programs such as wget
and curl
are available to query web servers in the absence of a browser.
In this section, we will consider Julia’s approach and, in particular, the facilities available under the community group, JuliaWeb.
The main modules are supported by JuliaWeb and the roadmap currently aims to combine all older packages such as HttpServer
, HttpClient
, Requests
, WebSockets
, and more into one behemoth of a package we’ve met already: HTTP.jl
.
The HTTP package aims to provide a complete suite...