Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Julia

You're reading from  Mastering Julia

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781783553310
Pages 410 pages
Edition 1st Edition
Languages

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 wget and 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 functionally little different from the echo server developed in the previous section. After some initial set up, it grabs a socket on which to listen and runs asynchronously, waiting for a connection that it then services.

What is different is that the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}