Go: Building Web Applications Front Cover

Go: Building Web Applications

  • Length: 903 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-08-31
  • ISBN-10: B01LD8K5C0
  • Sales Rank: #1461483 (See Top 100 Books)

Build real-world, production-ready solutions by harnessing the powerful features of Go

About This Book

  • An easy-to-follow guide that provides everything a developer needs to know to build end-to-end web applications in Go
  • Write interesting and clever, but simple code, and learn skills and techniques that are directly transferable to your own projects
  • A practical approach to utilize application scaffolding to design highly scalable programs that are deeply rooted in go routines and channels

Who This Book Is For

This book is intended for developers who are new to Go, but have previous experience of building web applications and APIs.

What You Will Learn

  • Build a fully featured REST API to enable client-side single page apps
  • Utilize TLS to build reliable and secure sites
  • Learn to apply the nuances of the Go language to implement a wide range of start-up quality projects
  • Create websites and data services capable of massive scale using Go’s net/http package, exploring RESTful patterns as well as low-latency WebSocket APIs
  • Interact with a variety of remote web services to consume capabilities ranging from authentication and authorization to a fully functioning thesaurus
  • Explore the core syntaxes and language features that enable concurrency in Go
  • Understand when and where to use concurrency to keep data consistent and applications non-blocking, responsive, and reliable
  • Utilize advanced concurrency patterns and best practices to stay low-level without compromising the simplicity of Go itself

In Detail

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. It is a statically typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.

This course starts with a walkthrough of the topics most critical to anyone building a new web application. Whether it’s keeping your application secure, connecting to your database, enabling token-based authentication, or utilizing logic-less templates, this course has you covered.

Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this course will arm you with everything you need to build world-class solutions. It will also take you through the history of concurrency, how Go utilizes it, how Go differs from other languages, and the features and structures of Go’s concurrency core. It will make you feel comfortable designing a safe, data-consistent, and high-performance concurrent application in Go.

This course is an invaluable resource to help you understand Go’s powerful features to build simple, reliable, secure, and efficient web applications.

Style and approach

This course is a step-by-step guide, which starts off with the basics of go programming to build web applications and will gradually move on to cover intermediate and advanced topics. You will be going through this smooth transition by building interesting projects along with the authors, discussing significant options, and decisions at each stage, while keeping the programs lean, uncluttered, and as simple as possible.

Table of Contents

Module 1: Learning Go Web Development
Chapter 1: Introducing and Setting Up Go
Chapter 2: Serving and Routing
Chapter 3: Connecting to Data
Chapter 4: Using Templates
Chapter 5: Frontend Integration with RESTful APIs
Chapter 6: Sessions and Cookies
Chapter 7: Microservices and Communication
Chapter 8: Logging and Testing
Chapter 9: Security
Chapter 10: Caching, Proxies and Improved Performance

Module 2: Go Programming Blueprints
Chapter 1: Chat Application with Web Sockets
Chapter 2: Adding Authentication
Chapter 3: Three Ways to Implement Profile Pictures
Chapter 4: Command-line Tools to Find Domain Names
Chapter 5: Building Distributed Systems and Working with Flexible Data
Chapter 6: Exposing Data and Functionality through a RESTful Data Web Service API
Chapter 7: Random Recommendations Web Service
Chapter 8: Filesystem Backup

Module 3: Mastering Concurrency in Go
Chapter 1: An Introduction to Concurrency in Go
Chapter 2: Understanding the Concurrency Model
Chapter 3: Developing a Concurrent Strategy
Chapter 4: Data Integrity in an Application
Chapter 5: Locks, Blocks, and Better Channels
Chapter 6: C10K – A Non-blocking Web Server in Go
Chapter 7: Performance and Scalability
Chapter 8: Concurrent Application Architecture
Chapter 9: Logging and Testing Concurrency in Go
Chapter 10: Advanced Concurrency and Best Practices

To access the link, solve the captcha.