
欢迎!在本系列的第二部分中,我将使用 MySQL、Cassandra 和 Elasticsearch 作为持久层,我们将使用不同的设计模式创建 3 个不同的微服务:MVC、特色 MVC 和实现六边形架构的域驱动开发。课程结束您将学习:如何构建我们应用程序的包和代码。MVC 模式、领域驱动开发和六边形架构应用!如何在 Go 中配置 MySQL 客户端。实现了 DAO 模式。如何在 Go 中配置和使用 CassandraDB 客户端。如何在 Go 中配置和使用 Elasticsearch。
测试和模拟数据库集成。使用 goroutine 对微服务进行压力测试。依赖项在 Go 中是如何工作的。Go 模块的使用。如何构建、发布、使用和共享自定义 Go 库。应用程序设计模式。准备我们的分布式日志系统。现实生活中的示例和练习。我相信你会喜欢这门课程的!如果您有任何疑问,请查看我的其他课程的评论,以便您了解您将要获得的内容。这是真实的生活和行业经验!希望收到您的来信!Fede。
本系列课程的第一部分下载地址:https://rr3d.cn/11105.html
概述
第 1 节:简介
第 1 讲 课程目标:我们要构建什么
第 2 讲 快速预览
第3讲这些都是repos!
第 2 部分:创建我们的项目:用户 API
Lecture 4 在 Github 中创建项目
第 5 讲 HTTP 框架
第6讲 基本应用结构:MVC模式
第7讲 从我们的领域开始
第 8 讲 如何构建我们的域持久性
第 9 讲 处理日期
第 3 节:MySQL 集成
Lecture 10 在 Go 中配置 MySQL 客户端
第11讲如何插入行
第12讲如何读取行
第 13 讲 如何处理 MySQL 错误
第 14 讲如何更新行
第15讲如何删除行
第 16 讲 如何查找行
第 4 部分:修复我们犯的错误
第17讲如何编组结构
第18讲 服务结构
第19讲无日志系统
第 5 部分:创建我们的项目:OAuth API
第20讲 OAuth认证
第21讲领域驱动开发
第 22 讲 DDD – 从域开始
第 23 课 DDD – 项目结构
第 6 节:Cassandra 集成
第24讲 Cassandra DB简介
第 25 讲 Cassandra Go 客户端
Lecture 26 如何插入、获取和更新记录
第 27 课调整我们的 get session 实现
第 7 节:使身份验证工作
第28讲 认证用户
第 29 讲 生成访问令牌
第30讲 两种API的不同请求
第 8 节:Golang 库和依赖项
第 31 讲 创建一个共享的 OAuth 库
第 32 讲 依赖是如何工作的:go 模块
第33课定义传递依赖
第 34 课创建一个共享的 utils 库
第 9 节:创建我们的项目:Items API
第35讲 应用结构:MVC & gorilla/mux
第 36 讲 配置我们的多路复用路由器
第37课 Elasticsearch简介
第 38 讲 添加 ElasticSearch 客户端
第 39 讲 ES 中的索引文档
第 40 讲 将我们的 logger 移至 utils 库
第 41 讲 改进我们的错误库
第42讲依赖关系:在所有项目中使用模块
第43讲 如何通过ID获取文件
Lecture 44 在 ES 中搜索文档
第45课作业:添加删除和更新端点
第 10 节:测试
第 46 讲 测试我们的应用程序:OAuth 客户端
第 11 节:Docker
第 47 课使用 Docker 来发布我们的 Items API
第 12 节:额外章节
Lecture 48 Extra class – 看看我的网站
软件工程师、软件开发人员、技术领导者、架构师、任何想要认真对待 Go 中的微服务的人。
All you need to integrate SQL & NoSQL databases, search engines and all the tools that you need in your REST API.
Last updated 4/2020
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 7.29 GB | Duration: 20h 40m
What you’ll learn
How to structure and organize your microservice.
Domain Driven Development.
Hexagonal architecture applied.
MySQL integration and configuration.
Integrate Cassandra DB in your microservices.
Elasticsearch integration and configuration.
Logging to standard output and log files.
DAO pattern implementation.
How to build, publish and use a custom Go library.
Testing all the layers of your application.
How dependencies work in Go.
Requirements
Just complete the Golang tour available at Golang’s website
Nice to have: Part 1 of this course
Description
Welcome! In this second part of the series I’m working with MySQL, Cassandra and Elasticsearch as persistence layers and we’re going to create 3 different microservices using different design patterns: MVC, featured MVC and Domain Driven Development implementing the Hexagonal architecture.At the end of the course you’ll learn:How to structure our application’s packages and code.MVC pattern, Domain Driven Development and Hexagonal Architecture applied!How to configure MySQL client in Go. DAO pattern implemented.How to configure and use CassandraDB client in Go.How to configure and use Elasticsearch in Go.
Testing and mocking database integrations.Stress test the microservice with goroutines.How dependencies work in Go. Usage of Go modules.How to build, publish, use and share a custom Go library.Application design patterns.Preparing our distributed logging system.Real life examples and exercises.I’m sure you’re going to enjoy this course! if you have any doubts, please check the reviews on my other courses so you can get an idea about what you’re about to get. This is real life and industry experience!Hope to hear from you!Fede.
Overview
Section 1: Introducción
Lecture 1 Course goal: What we’re going to build
Lecture 2 A quick preview
Lecture 3 These are all of the repos!
Section 2: Creating our projects: Users API
Lecture 4 Create projects in Github
Lecture 5 HTTP frameworks
Lecture 6 Basic application structure: MVC pattern
Lecture 7 Starting from our domain
Lecture 8 How to structure our domain persistence
Lecture 9 Working with dates
Section 3: MySQL integration
Lecture 10 Configure MySQL client in Go
Lecture 11 How to insert rows
Lecture 12 How to read rows
Lecture 13 How to handle MySQL errors
Lecture 14 How to update rows
Lecture 15 How to delete rows
Lecture 16 How to find rows
Section 4: Fixing the mistakes we made
Lecture 17 How to marshal structs
Lecture 18 Services structure
Lecture 19 No logging system
Section 5: Creating our projects: OAuth API
Lecture 20 OAuth authentication
Lecture 21 Domain Driven Development
Lecture 22 DDD – Starting with the domain
Lecture 23 DDD – Project structure
Section 6: Cassandra integration
Lecture 24 Introduction to Cassandra DB
Lecture 25 Cassandra Go client
Lecture 26 How to insert, get and update records
Lecture 27 Tune our get session implementation
Section 7: Making the authentication work
Lecture 28 Authenticating users
Lecture 29 Generating access tokens
Lecture 30 Different requests for the two APIs
Section 8: Golang libraries & dependencies
Lecture 31 Creating a shared OAuth library
Lecture 32 How dependencies work: go modules
Lecture 33 Defining transitive dependencies
Lecture 34 Creating a shared utils library
Section 9: Creating our projects: Items API
Lecture 35 Application structure: MVC & gorilla/mux
Lecture 36 Configure our mux router
Lecture 37 Introduction to Elasticsearch
Lecture 38 Adding ElasticSearch client
Lecture 39 Index documents in ES
Lecture 40 Moving our logger to the utils library
Lecture 41 Improving our errors library
Lecture 42 Dependencies: Using modules in all projects
Lecture 43 How to get documents by ID
Lecture 44 Searching documents in ES
Lecture 45 Homework: Add delete and update endpoints
Section 10: Testing
Lecture 46 Testing our application: OAuth client
Section 11: Docker
Lecture 47 Use Docker to ship our Items API
Section 12: Extra chapter
Lecture 48 Extra class – Take a look at my website
Software engineers.,Software developers.,Technical leaders.,Architects.,Anyone who wants to get serious about microservices in Go.
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/34489.html