Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Julia Programming Projects

You're reading from   Julia Programming Projects Learn Julia 1.x by building apps for data analysis, visualization, machine learning, and the web

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781788292740
Length 500 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Adrian Salceanu Adrian Salceanu
Author Profile Icon Adrian Salceanu
Adrian Salceanu
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started with Julia Programming FREE CHAPTER 2. Creating Our First Julia App 3. Setting Up the Wiki Game 4. Building the Wiki Game Web Crawler 5. Adding a Web UI for the Wiki Game 6. Implementing Recommender Systems with Julia 7. Machine Learning for Recommender Systems 8. Leveraging Unsupervised Learning Techniques 9. Working with Dates, Times, and Time Series 10. Time Series Forecasting 11. Creating Julia Packages 12. Other Books You May Enjoy

Developing the game's web UI

Please start your favorite Julia editor and open the sixdegrees/ folder we used in the previous chapter. It should contain all the files that we've worked on already—six_degrees.jl, plus the Articles, Database, Gameplay, and Wikipedia modules.

If you haven't followed through the code up to this point, you can download this chapter's accompanying support files, which are available at https://github.com/PacktPublishing/Julia-Programming-Projects/tree/master/Chapter05.

Add a new file for our web app. Since the code will be more complex this time and should integrate with the rest of our modules, let's define a WebApp module within a new WebApp.jl file. Then, we can add these first few lines of code:

module WebApp 
 
using HTTP, Sockets 
 
const HOST = ip"0.0.0.0" 
const PORT = 8888 
const ROUTER = HTTP.Router...
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 $19.99/month. Cancel anytime