|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/building-restful-in-golang/
课程评论:没有评论
课程名称:如何使用Golang构建REST应用程序 课程概述: 本课程旨在教授如何利用表现层状态转移(REST)架构风格构建可扩展的网络服务。RESTful系统通常通过超文本传输协议(HTTP)进行通信,并使用HTTP动词。REST架构风格最初由Roy Fielding在其博士论文中描述,他提出了应用于REST架构的六个约束条件,这些条件包括: - 统一接口 - 无状态 - 可缓存 - 客户端-服务器模式 - 分层系统 - 可选的按需代码 Go(Golang)是一种很适合用于构建微服务模式应用的技术栈,其设计哲学与微服务架构模式相吻合。Golang编程的惯用方法是将小的软件下载组件开发为包,然后通过组合这些包构建应用程序。该课程将帮助学生掌握使用Golang构建REST应用程序的技能和最佳实践。
Representational State Transfer (REST) is an architectural style for building scalable web services. RESTfulsystems typically communicate over the Hypertext Transfer Protocol (HTTP) by using HTTP verbs. The RESTarchitectural style was first described by Roy Fielding in his doctoral dissertation, in which he described sixconstraints applied to the REST architecture.Here are the six constraints described by Roy Fielding:• Uniform interface• Stateless• Cacheable• Client-server• Layered system• Code on demand (optional) Go is a great technology stack for building applications with the Microservice pattern and itsdesign philosophy intersects with the Microservice architecture pattern. The idiomatic approach of Goprogramming is to develop small pieces of software components as packages and then build applications bycomposing these packages.