Book description
Take a deep dive into web development using the Go programming language to build web apps and RESTful services to create reliable and efficient software. Web Development with Go provides Go language fundamentals and then moves on to advanced web development concepts and successful deployment of Go web apps to the cloud.
Web Development with Go will teach you how to develop scalable real-world web apps, RESTful services, and backend systems with Go. The book starts off by covering Go programming language fundamentals as a prerequisite for web development. After a thorough understanding of the basics, the book delves into web development using the built-in package, net/http. With each chapter you’ll be introduced to new concepts for gradually building a real-world web system.
The book further shows you how to integrate Go with other technologies. For example, it provides an overview of using MongoDB as a means of persistent storage, and provides an end-to-end REST API sample as well. Developers looking for a full-fledged web development framework for building web apps will be introduced to Beego. The book then moves on to demonstrate how to deploy web apps to the cloud using the Google Cloud platform. Finally, the book introduces Docker, a revolutionary container technology platform for deploying containerized Go web apps to the cloud.
Web Development with Go provides:
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Introduction
- Chapter 1 : Getting Started with Go
- Chapter 2 : Go Fundamentals
- Chapter 3 : User-Defined Types and Concurrency
- Chapter 4 : Getting Started with Web Development
- Chapter 5 : Working with Go Templates
- Chapter 6 : HTTP Middleware
- Chapter 7 : Authentication to Web Apps
- Chapter 8 : Persistence with MongoDB
-
Chapter 9 : Building RESTful Services
- RESTful APIs: the Backbone of Digital Transformation
-
Building RESTful APIs
- Third-Party Packages
- Application Structure
- Data Model
- Resource Modeling for RESTful APIs
- Adding Route-Specific Middleware
- Setting up the RESTful API Application
- Authentication
- Application Handlers
- JSON Resource Models
- Handlers for the Users Resource
- Registering New Users
- Logging in to the System
- Data Persistence with MongoDB
- JSON Resource Models
- Handlers for the Tasks Resource
- Testing API Operations for the Tasks Resource
- JSON Resource Models
- Go Dependencies Using Godep
- Deploying HTTP Servers with Docker
- Go Web Frameworks
- Summary
- References
- Chapter 10 : Testing Go Applications
- Chapter 11 : Building Go Web Applications on Google Cloud
- Index
Product information
- Title: Web Development with Go: Building Scalable Web Apps and RESTful Services
- Author(s):
- Release date: January 2016
- Publisher(s): Apress
- ISBN: 9781484210529
You might also like
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Show Your Worth: 8 Intentional Strategies for Women to Emerge as Leaders at Work
Foreword by Rodney Adkins, Former Senior Vice President at IBM, Chairman at Avnet, and Board Member …
book
Powerful Command-Line Applications in Go
Whether you want to automate tasks, analyze data, parse logs, talk to network services, or address …