Let’s Go! Learn to Build Professional Web Applications With Golang


Let’s Go! Learn to Build Professional Web Applications With Golang
Author: Alex
Written for: Go 1.23
Last updated: September 25th, 2024
Formats: HTML, PDF and ePUB
Language 语言: US English
Size: 403 pages (in PDF format)
Version: 2.23.1


Book Description
By finelybook

Let’s Go! Learn to Build Professional Web Applications With Golang [Professional Package], 2nd Edition

Let’s Go is a clear, concise and easy-to-follow guide to web development with Go.

It packs in everything you need to know about best practices, project structure and practical code patterns — without skimping on important details and explanations.

Go is a great language for building web applications. But teaching yourself from blog posts and the standard library documentation can be a big time-sink and leave you with more questions than answers.

You might be wondering things like:

  • Where can I see a concrete example of a real-world web application?
  • How is it best to structure and organize my code?
  • How do I manage and version control dependencies?
  • And how do I effectively test my web application?

Let’s Go answers these questions for you — and a whole lot more — helping you get up to speed quickly and saving you months of research and experimentation.

The book walks through the start-to-finish build of a complete working application, helping you to learn by doing. You’ll get practical experience implementing common real-life code patterns, the topics that you’re learning about are put in context, and you’ll end up with a well-structured codebase that you can adapt for your own future work.

By the end of the book, you’ll have all the knowledge and confidence that you need to build your own professional, production ready, web applications.

What You’ll Learn…
1
All the fundamentals — How to start a server, create handlers, send responses, route requests and serve static files.
2
Structure and organization — How to create an idiomatic and scalable structure for your web application.
3
Using modules — How to use Go’s Module functionality to manage and version control your dependencies.
4
Managing configuration — How to use command-line flags and dependency injection to manage your application settings.
5
Logging and error handling — How to implement leveled logging and centralized error handling.
6
SQL databases — How to design a database model, set up a connection pool, and execute statements and queries.
7
HTML templating — How to cache your templates, display dynamic data, create custom functions and handle runtime errors.
8
Middleware — How to create your own middleware to perform common actions (like logging requests and recovering panics).
9
Form validation — How to implement a reusable and user-friendly pattern for validating forms and displaying errors.
10
Session management — How to use and configure sessions to persist data between requests.
11
Using HTTPS — How to correctly setup a HTTPS server and configure it for improved performance and security.
12
Embedding files — How to embed static assets (like HTML templates, images, CSS and JS files) into your Go binary.
13
Prevent common vulnerabilities — How to prevent SQL injection, CSRF, XSS, clickjacking and slow-client attacks.
14
Authentication and authorization — How to safely encrypt user passwords and add signup, login and logout functionality.
15
Request context — How to use Go’s context.Context to pass data between your middleware and handlers.
16
Testing — How to create unit tests, integration tests and end-to-end tests, mock dependencies and measure test coverage.
17
And most importantly… How to put it together in a fully-functioning application!

Amazon page

相关文件下载地址

Formats: PDF, EPUB, MOBI, ZIP | 22 MB | 2024-08-20
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Let’s Go! Learn to Build Professional Web Applications With Golang

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫