
Programming Backend with Go
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Quickly introducing readers to Go and its ecosystem, the book walks them through installing and creating a development environment with VS Code. Next, it takes a baby step into learning the basics of building web servers with the net/http 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 gorilla/mux package. The book then 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 crypto/tls, avoiding SQL injections and XSS attacks, and configuration management with Viper are also one of the main goal of the book.
Key Learnings
- Use gorilla/mux to implement advanced routing techniques and implement strong API security using OAuth2 and JWT.
- Make use of GORM's advanced capabilities of migrations and transactions, to integrate SQL databases.
- Use Gin, Kubernetes, and gRPC to build and launch scalable microservices.
- Make use of NSQ and Kafka for asynchronous processing.
- Use Testify, GoMock, and Delve to streamline testing and debugging.
- Use AWS CodeDeploy with blue-green and canary deployment strategies to deploy applications.
More details
Content
- Understanding Go for Backend Development
- Building a Basic Web Server with net/http
- Advanced Routing with gorilla/mux
- User Authentication with Oauth2 and JWT
- Integrating Databases with GORM
- Creating Microservices in Go
- Message Brokering with NSQ and Apache Kafka
- Securing Go Applications
- Testing and Debugging Go Applications
- Deploying Go Applications
System requirements
File format: ePUB
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reading software that can process the file format ePUB: e.g., Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Before downloading, install the free app Adobe Digital Editions (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.