Chapter 1. Go and web applications

 

This chapter covers

  • Defining web applications
  • Using Go to write web applications: the advantages
  • Understanding the basics of web application programming
  • Writing the simplest possible web application in Go

Web applications are ubiquitous. Take any application you use on a daily basis, and likely it’s a web application or has a web application variant (this includes mobile apps). Any language that supports software development that interfaces with human beings will inevitably support web application development. One of the first things developers of a new language do is build libraries and frameworks to interact with the internet and the World Wide Web. There are myriad web development tools for the more established languages.

Go is no different. Go is a relatively new programming language created to be simple and efficient for writing back end systems. It has an advanced set of features and focuses on programmer effectiveness and speed. Since its release, Go has gained tremendous popularity as a programming language for writing web applications and *-as-a-Service systems.

In this chapter, you’ll learn why you should use Go for writing web applications and you’ll learn all about web applications.

1.1. Using Go for web applications

1.2. How web applications work

1.3. A quick introduction to HTTP

1.4. The coming of web applications

1.5. HTTP request

1.6. HTTP response

1.7. URI

1.8. Introducing HTTP/2

1.9. Parts of a web app

1.10. Hello Go

1.11. Summary

sitemap