Flask-Socket.io (WebSockets) and Generators


Details
http://photos4.meetupstatic.com/photos/event/6/0/c/d/600_447864781.jpeg
Doors open at 5:45, talks start shortly after 6:00
Flask-Socket.io • David McKeone
Building websites? AJAX and timeouts got you waiting around? This might be the talk for you. It's time to get real, ughh... time.
Thanks to the Flask-Socket.io extension by Miguel Grinberg it is now a whole lot easier to turn your static websites into highly dynamic real time applications.
This talk will walk through some of the basics for building a simple Flask app that uses Flask-Socket.io -- and of course follows Flask best practices. We'll build the quintessential (for WebSockets) chat app together and demonstrate how using socket.io gives some nice usability benefits over plain web sockets.
An introduction to generators and the yield keyword • Scott Newson
Normal functions stop when they hit a return, an exception, or the end of the function—but generator functions can return values part way through execution.
This talk will cover the basics, along with an introduction to some more advanced cases like lazy generation of infinite sequences—all Fibonacci numbers, all primes—and stream processing.

Flask-Socket.io (WebSockets) and Generators