Web Development with Go
Building Scalable Web Apps and RESTful Services
(Sprache: Englisch)
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...
Voraussichtlich lieferbar in 3 Tag(en)
versandkostenfrei
Buch (Kartoniert)
Fr. 65.00
inkl. MwSt.
- Kreditkarte, Paypal, Rechnungskauf
- 30 Tage Widerrufsrecht
Produktdetails
Produktinformationen zu „Web Development with Go “
Klappentext zu „Web Development with Go “
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. The book then moves on to demonstrate how to deploy web apps to the cloud using the Google Cloud platform.
Web Development with Go provides:
- Fundamentals for building real-world web apps in Go
- Thorough coverage of prerequisites and practical code examples
- Demo web apps for attaining a deeper understanding of web development
- A reference REST API app which can be used to build scalable real-world backend services in Go
- A thorough demonstration of deploying web apps to the Cloud using the Google Cloud platform
Go is a high-performance language while providing greater level of developer productivity, therefore Web Development with Go equips you with the necessary skills and knowledge required for effectively building robust and efficient web apps by leveraging the features of Go.
Inhaltsverzeichnis zu „Web Development with Go “
Chapter 1: Getting Started With GoChapter Goal: Introduces the reader to the Go programming language, and explains how to set up Go on the user’s machine. This chapter will also provide basic sample programs with Go.
- Introducing Go
- Why Go
- Installing Go
- Sample programs with Go
- Summary
Chapter 2: Go Fundamentals
Chapter Goal: Provide tutorials for understanding the features of Go with the help of practical samples
- 1. Packages
- 2. Go Tools
- 3. Array
- 4. Slice
- 5. Map
- 6. Defer
- 7. Panic
- 8. Recover
- Summary
Chapter 3: User Defined Types and Concurrency
Chapter Goal: This chapter further explores the features of Go. Unique features such as user-defined types and concurrency will be explained in detail with the help of examples and samples.
- Struct
- Interface
- Concurrency
- Goroutines
- Channels
- Summary
Chapter 4: Getting Started with Web Development
Chapter Goal: This chapter introduces the reader to web development in Go with the internal package net/http. Also, complex routing scenarios will be covered. The chapter will employ a static web server and basic web app for practical understanding of the process.
- Introducing net/http package
- Build a simple web server
- http.Handler Interface
- Build a static web server
- Build a basic web app
- URL router
- Gorilla mux URL router
- Summary
Chapter 5: Go Templates
Chapter Goal: This chapter introduces the readers to Go templates with the internal package html/template. Also, the reader will learn how to build a web app practically using html/template with net/http package.
- Introducing the html/template package
- Basic syntax
- Declare variables
- Includes
- Context
- Building a web app with net/http and html/template
- Summary
Chapter 6: HTTP Middleware
Chapter Goal: This chapter explains the process of writing HTTP middleware by practically adding a
... mehr
middleware layer to the web app built in chapter 5.
- Writing HTTP Middleware
- Negroni package
- Writing HTTP Middleware with Negroni
- Summary
Chapter 7: Authentication for Web Apps
Chapter Goal: This chapter covers different kinds of authentication mechanisms in Go web apps.
- Introduction
- HTTP Basic authentication
- Cookie-based sessions
- Authentication with Gorilla Web Toolkit
- Authentication with OAuth
- Adding authentication to an existing web app
- Summary
Chapter 8: Persistence with MongoDB
Chapter Goal: This chapter introduces data persistence with MongoDB using mgo, a MongoDB driver for Go.
- Introducing MongoDB
- mgo package
- Working with MongoDB using mgo
- Persistence with MongoDB
- Summary and best practices
Chapter 9: Building RESTful Services
Chapter Goal: This chapter explains how to build a real-world RESTful service with net/http, MongoDB with mgo, and many useful Go packages. Best practices for building W
web apps in Go will also be covered.
- Discussion about the app
- Designing the API endpoints
- Creating Models
- Building the REST API
- Implementing the persistence with MongoDB
- Adding authentication
- Adding HTTP Middleware
- Best Practices
- Summary
Chapter 10: Building Web Apps with Beego
Chapter Goal: Some Go developers may look for a full-fledged web development framework for building web apps. Beego is a full-fledged web development framework for Go. This chapter will introduce Beego for developing web apps, and will provide a web app by leveraging the features of the framework.
- Introducing Beego
- Routing
- Controllers
- Templates
- ORM
- Building an app with Beego
- Summary and best practices
Chapter 11: Deploying Go Web Apps to the Google Cloud
Chapter Goal: This chapter explains how to build Go web apps by leveraging the features of the Google Cloud platform and deploying these web apps to it.
- Google Cloud and Google App Engine
- Go runtime environment for Google App Engine
- The appengine package
- App engine modules in Go
- Go datastore API
- Deploying Go web apps to Google App Engine
- Summary
Chapter 12: Deploying Go Web Servers with Docker
Chapter Goal: This chapter will explain how to deploy Go web apps to the Google Cloud platform using Docker.
- Introducing Docker
- Docker on Google Cloud Platform
- Google Container Engine
- Deploying Go servers to the Google Cloud with Docker
- Introduction to container cluster management and Kubernetes
- Writing HTTP Middleware
- Negroni package
- Writing HTTP Middleware with Negroni
- Summary
Chapter 7: Authentication for Web Apps
Chapter Goal: This chapter covers different kinds of authentication mechanisms in Go web apps.
- Introduction
- HTTP Basic authentication
- Cookie-based sessions
- Authentication with Gorilla Web Toolkit
- Authentication with OAuth
- Adding authentication to an existing web app
- Summary
Chapter 8: Persistence with MongoDB
Chapter Goal: This chapter introduces data persistence with MongoDB using mgo, a MongoDB driver for Go.
- Introducing MongoDB
- mgo package
- Working with MongoDB using mgo
- Persistence with MongoDB
- Summary and best practices
Chapter 9: Building RESTful Services
Chapter Goal: This chapter explains how to build a real-world RESTful service with net/http, MongoDB with mgo, and many useful Go packages. Best practices for building W
web apps in Go will also be covered.
- Discussion about the app
- Designing the API endpoints
- Creating Models
- Building the REST API
- Implementing the persistence with MongoDB
- Adding authentication
- Adding HTTP Middleware
- Best Practices
- Summary
Chapter 10: Building Web Apps with Beego
Chapter Goal: Some Go developers may look for a full-fledged web development framework for building web apps. Beego is a full-fledged web development framework for Go. This chapter will introduce Beego for developing web apps, and will provide a web app by leveraging the features of the framework.
- Introducing Beego
- Routing
- Controllers
- Templates
- ORM
- Building an app with Beego
- Summary and best practices
Chapter 11: Deploying Go Web Apps to the Google Cloud
Chapter Goal: This chapter explains how to build Go web apps by leveraging the features of the Google Cloud platform and deploying these web apps to it.
- Google Cloud and Google App Engine
- Go runtime environment for Google App Engine
- The appengine package
- App engine modules in Go
- Go datastore API
- Deploying Go web apps to Google App Engine
- Summary
Chapter 12: Deploying Go Web Servers with Docker
Chapter Goal: This chapter will explain how to deploy Go web apps to the Google Cloud platform using Docker.
- Introducing Docker
- Docker on Google Cloud Platform
- Google Container Engine
- Deploying Go servers to the Google Cloud with Docker
- Introduction to container cluster management and Kubernetes
... weniger
Autoren-Porträt von Shiju Varghese
Shiju Varghese is a solutions architect who specializes in cloud computing solutions and distributed web apps. His current technology focus is on Go, Google Cloud, Azure, and Docker. He has been working with Web technologies since early 2000, and has developed web apps and distributed systems in Go, C#, and Node.js. His areas of interest include cloud solutions architecture, application containers, distributed systems, RESTful microservice architecture, and mobile backend as a service. Shiju has been awarded Microsoft MVP status five times. He is a regular speaker at various technology conferences.
Bibliographische Angaben
- Autor: Shiju Varghese
- 2016, 1st ed., 289 Seiten, Masse: 17,8 x 25,4 cm, Kartoniert (TB), Englisch
- Verlag: Springer, Berlin
- ISBN-10: 1484210530
- ISBN-13: 9781484210536
- Erscheinungsdatum: 25.12.2015
Sprache:
Englisch
Kommentar zu "Web Development with Go"
0 Gebrauchte Artikel zu „Web Development with Go“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Web Development with Go".
Kommentar verfassen