Go Web Development Cookbook : Build full-stack web applications with Go.
Go is an open source programming language that is designed to scale and support concurrency at the language level. This gives you the liberty to write large concurrent web applications with ease. From creating web application to deploying them on Amazon Cloud Services, this book will be your one-sto...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Creating Your First Server in Go; Introduction; Creating a simple HTTP server; How to do it ... ; How it works ... ; Implementing basic authentication on a simple HTTP server; Getting ready; How to do it ... ; How it works ... ; Optimizing HTTP server responses with GZIP compression; How to do it ... ; How it works ... ; Creating a simple TCP server; How to do it ... ; How it works ... ; Reading data from a TCP connection; Getting ready ... ; How to do it ... ; How it works ... ; Writing data to a TCP connection; Getting ready ...
- How to do it ... How it works ... ; Implementing HTTP request routing; How to do it ... ; How it works ... ; Implementing HTTP request routing using Gorilla Mux; How to do it ... ; How it works ... ; Logging HTTP requests; Getting Ready ... ; How to do it ... ; How it works ... ; Chapter 2: Working with Templates, Static Files, and HTML Forms; Introduction; Creating your first template; How to do it ... ; How it works ... ; Serving static files over HTTP; Getting ready ... ; How to do it ... ; How it works ... ; Serving static files over HTTP using Gorilla Mux; Getting ready ... ; How to do it ... ; How it works ... ; Creating your first HTML form.
- How to do it ... How it works ... ; Reading your first HTML form; Getting ready ... ; How to do it ... ; How it works ... ; Validating your first HTML form; Getting ready ... ; How to do it ... ; How it works ... ; Uploading your first file; How to do it ... ; How it works ... ; Chapter 3: Working with Sessions, Error Handling, and Caching in Go; Introduction; Creating your first HTTP session; How to do it ... ; How it works ... ; Managing your HTTP session using Redis; Getting ready ... ; How to do it ... ; How it works ... ; Creating your first HTTP cookie; How to do it ... ; How it works ... ; Implementing caching in Go; How to do it ... ; How it works ...
- Implementing HTTP error handling in GoHow to do it ... ; How it works ... ; Implementing login and logout in web application; Getting ready ... ; How to do it ... ; How it works ... ; Chapter 4: Writing and Consuming RESTful Web Services in Go; Introduction; Creating your first HTTP GET method; How to do it ... ; How it works ... ; Creating your first HTTP POST method; How to do it ... ; How it works ... ; Creating your first HTTP PUT method; How to do it ... ; How it works ... ; Creating your first HTTP DELETE method; How to do it ... ; How it works ... ; Versioning your REST API; How to do it ... ; How it works ... ; Creating your first REST client.
- Getting ready ... How to do it ... ; How it works ... ; Creating your first AngularJS Client; Getting ready ... ; How to do it ... ; How it works ... ; Creating your first ReactJS client; Getting ready ... ; How to do it ... ; How it works ... ; Creating your first VueJS client; Getting ready ... ; How to do it ... ; How it works ... ; Chapter 5: Working with SQL and NoSQL Databases; Introduction; Integrating MySQL and Go; Getting ready ... ; How to do it ... ; How it works ... ; Creating your first record in MySQL; Getting ready ... ; How to do it ... ; How it works ... ; Reading records from MySQL; How to do it ... ; How it works ...