Contribute Media
A thank you to everyone who makes this possible: Read More

Real-time web apps with (just) Python and Postgres

Description

Talk: Real-time web apps with (just) Python and Postgres

The design and documentation of the leading Python web frameworks are heavily focused on building web sites, with HTML content rendered on the server, and require significant effort to support modern web apps that use RESTful APIs, real-time updates over websockets, and Javascript-based user interfaces.If we start with a clean slate and design a framework around the needs of a real-time single-page-application, several things become apparent:Using the well-known TodoMVC application as an example, this presentation will give a tour of a simple Python backend that provides live syncing between browsers using just Python, Postgres, and a Werkzeug based micro framework that integrates REST endpoints and websockets into a single, coherent API.Though approachable to beginners, this talk will be of greatest interest to intermediate-level Python programmers who have used Django in the past and wondered how to move on to something more modern, but not more complicated.

Speaker: Brent Tubbs. Brent Tubbs is the Deputy Technical Director at YouGov, an online market research and political polling firm. He is the primary author of Velociraptor, an open source platform-as-a-service for deploying Heroku-compatible applications, and of Mettle, a data pipeline framework being open sourced at the PyWaw conference.

Slides: http://btubbs.com/documents/RealTimeWebApps.pdf

License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.

http://summit.pywaw.org

Improve this page