Skip to content

Commit 76844e7

Browse files
committed
new websockets resources
1 parent 8626660 commit 76844e7

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

content/pages/07-web-development/38-websockets.markdown

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ own project.
177177
that demos sending server generated events as well as input from users
178178
via a text box input on a form.
179179

180+
* The [realtime codenames game](https://github.com/joshporter1/codenames)
181+
source code is a full-featured example for using WebSockets via
182+
Flask-SocketIO. There is also a
183+
[multi-part tutorial](https://secdevops.ai/weekend-project-part-1-creating-a-real-time-web-based-application-using-flask-vue-and-socket-b71c73f37df7)
184+
that walks through the code.
185+
180186
* The
181187
[python-websockets-example](https://github.com/mattmakai/python-websockets-example)
182188
contains code to create a simple web application that provides WebSockets
@@ -190,6 +196,13 @@ own project.
190196
Flask web app implementation that allows the audience to interact with
191197
WebSockets as I built out the application.
192198

199+
* [Creating a Real-time Web-based Application using Flask, Vue, and Socket.io: part 1](https://secdevops.ai/weekend-project-part-1-creating-a-real-time-web-based-application-using-flask-vue-and-socket-b71c73f37df7),
200+
[part 2](https://secdevops.ai/weekend-project-part-2-turning-flask-into-a-real-time-websocket-server-using-flask-socketio-ab6b45f1d896)
201+
and
202+
[part 3](https://secdevops.ai/weekend-project-part-3-centralizing-state-management-with-vuex-5f4387ebc144)
203+
are a complete front-to-backend WebSockets, Python and JavaScript front
204+
end framework example with open source code.
205+
193206
* [Real-time in Python](http://mrjoes.github.io/2013/06/21/python-realtime.html)
194207
provides Python-specific context for how the server push updates were
195208
implemented in the past and how Python's tools have evolved to perform
@@ -201,6 +214,13 @@ own project.
201214
[Tulip](https://code.google.com/p/tulip/) if you're working with
202215
Python 3.3).
203216

217+
* [Speeding up Websockets 60X](https://www.willmcgugan.com/blog/tech/post/speeding-up-websockets-60x/)
218+
is a cool experiment in coding loops different ways to eek out more
219+
performance from WebSockets connections. It is unclear how generalizable
220+
the results in the blog post are to other programs but it is a good example
221+
of how tweaking and tuning can produce outsized returns in some
222+
applications.
223+
204224
* The [Choose Your Own Adventure Presentations](https://www.twilio.com/blog/2014/11/choose-your-own-adventure-presentations-with-reveal-js-python-and-websockets.html)
205225
tutorial uses WebSockets via gevent on the server and socketio.js for
206226
pushing vote count updates from the server to the client.
@@ -289,3 +309,7 @@ Python.
289309
is a detailed examination of how WebSockets connections can scale to tens
290310
of thousands of users.
291311

312+
* [Writing WebSocket servers](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers)
313+
gets into the nitty-gritty of how WebSockets work. Well worth reading to
314+
get a deep understanding of WebSockets connections.
315+

content/pages/12-meta/01-change-log.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on GitHub.
1717

1818
## 2018
1919
### February
20+
* New [WebSockets](/websockets.html) resources.
2021
* New starter page on [CSS frameworks](/css-frameworks.html).
2122
* Added new [enterprise Python](/enterprise-python.html) resources.
2223

0 commit comments

Comments
 (0)