Practical C++ Backend Programming: Crafting Databases, APIs, and Web Servers for High-Performance Backend
暫譯: 實用 C++ 後端程式設計:為高效能後端打造資料庫、API 與網頁伺服器
Barbara, Justin
相關主題
商品描述
"Practical C++ Backend Programming" is a comprehensive walkthrough that provides readers with the necessary tools and knowledge to become proficient C++ backend developers. With a strong focus on real-world application and practical implementation, this book takes readers on a journey through the multifaceted landscape of backend development, making it an essential resource for any aspiring or current backend developer.
Starting with the basics, the book introduces C++, providing a solid foundation in the language, its structure, and core concepts with regards to backend programming. From there, readers dive into the more complex elements of backend development. Through our engaging sections, use-cases and sample examples, readers are introduced to advanced topics such as concurrent programming, exploring threading and multiprocessing to handle intensive computational tasks, thus laying the groundwork for scalable applications.
This book offers an in-depth look into APIs, specifically gRPC, along with caching strategies, and database management, using MongoDB as a NoSQL database of choice. All the while, readers will learn to implement these technologies in a practical context, building a blog application from scratch, thereby bridging the gap between theory and practical implementation. An entire section is dedicated to securing applications, wherein the book teaches authentication, authorization, and database security, and demonstrates how to implement these measures in the blog application.
Another utmost important part of this book is to cover testing strategies, teaching the reader how to employ Google Test (gtest) to create robust and fail-proof backend solutions. Finally, the journey culminates in a step-by-step walkthrough to deploying applications on AWS, ensuring the reader is equipped with the necessary skills to take their applications live.
- Detailed overview of C++ programming, catering to both beginners and experienced coders.
- Practical exploration of concurrent programming for scalable and efficient application design.
- Comprehensive understanding of API usage, specifically using the gRPC framework.
- Deep dive into MongoDB for effective NoSQL database management and operations.
- Thorough walkthrough to implementing caching strategies for performance optimization.
- Strategic use of Nginx for handling web server needs including load balancing.
- Hands-on guide to implementing security measures for databases, APIs, and web servers.
- Instruction on employing Google Test for robust application testing and debugging.
- Step-by-step guidance for deploying applications on AWS, ensuring real-world readiness.
- Practical application of concepts via building and refining a blog application.
- Introduction to Backend Development
- C++ Refresher and Essentials
- Deep Dive into Algorithms
- Mastering Version Control - Git and GitHub
- Managing Database Operations with MongoDB
- Crafting Rest APIs with gRPC
- Dealing with Client-side and Server-side Caching
- Managing Web Servers with Nginx
- Testing Your C++ Backend
- Securing Your C++ Backend
- Deploying Your Application
This book is appropriate for readers with some background in C++ and nothing about back-end development. It's great for those just getting their feet wet in back-end, as well as seasoned pros looking to hone their craft and learn something new. Whether you're a student, or professional this book will teach you everything you need to know to master the art of C++ back-end development.
商品描述(中文翻譯)
《實用 C++ 後端程式設計》是一本全面的指南,為讀者提供成為熟練 C++ 後端開發者所需的工具和知識。**本書強調實際應用和實踐實現,帶領讀者探索後端開發的多面向領域,成為任何有志或現任後端開發者的必備資源。**
本書從基礎開始,介紹 C++,為後端程式設計提供語言、結構和核心概念的堅實基礎。接著,讀者將深入了解後端開發的更複雜元素。**透過引人入勝的章節、案例和範例,讀者將接觸到如並行程式設計等進階主題,探索執行緒和多處理來處理密集計算任務,從而為可擴展應用奠定基礎。**
本書深入探討 API,特別是 gRPC,並介紹快取策略和資料庫管理,選用 MongoDB 作為 NoSQL 資料庫。在此過程中,讀者將學會在實際情境中實現這些技術,從零開始構建一個部落格應用,從而縮短理論與實踐之間的距離。整個章節專門用於應用安全,書中教授身份驗證、授權和資料庫安全,並示範如何在部落格應用中實施這些措施。
本書的另一個重要部分是**涵蓋測試策略,教導讀者如何使用 Google Test (gtest) 創建穩健且不易失敗的後端解決方案。最後,這段旅程以逐步指導的方式結束,教導如何在 AWS 上部署應用,確保讀者具備將應用上線所需的技能。**
**主要學習重點**
- 詳細概述 C++ 程式設計,適合初學者和有經驗的程式設計師。
- 實用探索並行程式設計,以實現可擴展和高效的應用設計。
- 全面理解 API 的使用,特別是使用 gRPC 框架。
- 深入了解 MongoDB,以有效管理和操作 NoSQL 資料庫。
- 徹底指導實施快取策略以優化性能。
- 策略性使用 Nginx 處理網頁伺服器需求,包括負載平衡。
- 實用指南以實施資料庫、API 和網頁伺服器的安全措施。
- 教導如何使用 Google Test 進行穩健的應用測試和除錯。
- 逐步指導如何在 AWS 上部署應用,確保實際應用的準備。
- 通過構建和完善部落格應用來實踐概念。
**內容目錄**
1. 後端開發簡介
2. C++ 基礎與要點
3. 演算法深入探討
4. 精通版本控制 - Git 和 GitHub
5. 使用 MongoDB 管理資料庫操作
6. 使用 gRPC 構建 REST API
7. 處理客戶端和伺服器端快取
8. 使用 Nginx 管理網頁伺服器
9. 測試你的 C++ 後端
10. 保護你的 C++ 後端
11. 部署你的應用
**讀者對象**
本書適合對 C++ 有一定背景但對後端開發不熟悉的讀者。對於剛開始接觸後端的初學者以及希望精進技藝並學習新知的資深專業人士來說,都是極佳的選擇。無論你是學生還是專業人士,本書將教會你掌握 C++ 後端開發所需的一切知識。