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
Building RESTful Web services with Go
Explore the necessary concepts of REST API development by building few real world services from scratch. …
book
Full-Stack Web Development with Go
A Go programmer's hands-on guide to go from building basic server-side templates to full single page …
book
Hands-On RESTful Web Services with Go - Second Edition
Design production-ready, testable, and maintainable RESTful web services for the modern web that scale easily Key …
video
Building RESTful APIs with Go
REST is an architectural style that tackles the challenges of building scalable web services. APIs provide …