BOOKS - Programming Backend with Go Build robust and scalable backends for your appli...
US $6.59
353914
353914
Programming Backend with Go Build robust and scalable backends for your applications using the efficient and powerful tools of the Go ecosystem
Author: Julian Braun
Year: 2024
Number of pages: 469
Format: PDF | AZW3 | EPUB | MOBI
File size: 10.1 MB
Language: ENG
Year: 2024
Number of pages: 469
Format: PDF | AZW3 | EPUB | MOBI
File size: 10.1 MB
Language: ENG
This book takes its time to go over every important aspect of backend programming, from the fundamentals to more advanced techniques, so that you can become experts in Go scripting and all the things Go can do. Quickly introducing readers to Go and its ecosystem, the book walks them through installing the language and creating a development environment with Visual Studio Code. Next, it takes a baby step into learning the basics of building web servers with the nethttp package, going over topics like routing, handling various HTTP methods, and the structures of requests and responses. Path variables, regex-based routing, custom handlers, and middleware are some of the advanced routing topics covered, which uses the robust gorillamux package. After introducing session and cookie management, the book moves on to user authentication, covering topics such as OAuth2 integration, JWT for secure APIs, and more. The book then teaches various aspects of database integration with GORM, covering topics such as connecting to SQL databases, performing CRUD operations, managing migrations, and handling transactions and concurrency control. The Gin framework for designing and implementing microservices, REST and gRPC for inter-service communication, and Kubernetes for containerizing applications are also covered in detail. Also covered is message brokering with Apache Kafka and NSQ for asynchronous systems, which guarantees resilient systems and efficient message delivery. Secure coding practices, HTTPS with cryptotls, avoiding SQL injections and XSS attacks, and configuration management with Viper are also one of the main goal of the book.