Working with WebSockets in Go (Golang)

所在平台: Udemy

课程主页: https://www.udemy.com/course/working-with-websockets-in-go/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用Go语言(Golang)与WebSockets进行开发 课程概述:WebSockets是一种技术,允许开发人员构建高度互动和极快的网络应用程序。所有现代浏览器都支持WebSockets,因此可以在任何现代网络应用程序中实现。本课程将指导您如何在Go语言中使用WebSockets。我们将使用两种WebSocket技术:首先,通过我们的网络应用程序直接调用所有连接的浏览器,所有功能均由应用程序处理。我们将构建一个简单的聊天应用程序,让用户能够实时聊天,并显示实时更新的连接用户列表。接下来,我们将利用Pusher兼容服务器(或直接使用Pusher,如果您愿意),将其作为我们的网络应用程序与所有连接客户端之间的消息代理。 我坚信,最有效的学习方法是将技术应用于现实世界的场景。许多教程和课程通常会过于简化教学内容,创建一个过于简单的环境,导致在更复杂的项目中遭遇问题。因此,为了实施和学习WebSockets和Pusher,我们将构建一个监控远程服务器和主机的网络应用程序,并在服务出现故障或恢复时实时通知我们。我们将使用WebSockets实时发送通知(更新所有连接客户端所查看页面的相应内容),通过电子邮件发送通知,并作为额外内容,我们还将学习如何通过Twilio发送短信通知(SMS)。

课程评论(0条)

课程详情

WebSockets are a technology that allows developers to build highly interactive, extremely fast web applications. Since WebSockets are supported by all modern browsers, and have been for years now, there is no reason why they cannot be implemented on any modern web application. This course will show you how to work with WebSockets with Go.We will work with two kinds of WebSocket technologies: first, with simple calls directly from our web application to all connected browsers, where all functionality is handled by our application. The web application we'll build is a simple chat application, which will allow users to chat back and forth, and will show the list of connected users, updated in real time. Next, we'll take advantage of a Pusher compatible server (or Pusher itself, if you prefer) and use that server as a message broker between our web application and all connected clients. I am a firm believer that learning how to use a particular technology works best when applying it to a real-world situation. All too often, tutorials and courses over simplify what they are trying to teach, and create an artificial environment where things are so simple that what is being taught looks easy enough, but you immediately run into problems when trying to implement it on a more complex project. So, to implement and learn about WebSockets and Pusher, we'll build a web application which monitors remote servers and hosts, and notifies us in real-time when a service goes down or comes back up again. We will send notifications in real time using WebSockets (which will update the appropriate content on the pages being viewed by all connected clients), by email, and, as a bonus, we'll also learn how to send notifications using text messages (SMS) with Twilio.

课程标签

0人关注该课程

主题相关的课程