Book Image

Flask Blueprints

By : Joel Perras
Book Image

Flask Blueprints

By: Joel Perras

Overview of this book

Table of Contents (14 chapters)

Chapter 4. Socializer – the Testable Timeline

In this chapter we will build our next application with the codename: Socializer. This application will provide you with a very typical timeline feed, whose variations grace many well-known modern web applications.

This application will allow authenticated users to follow others, and be followed by other users, and display content posted from the followed users in a time-ordered fashion. Along with building the basic features required of a timeline-based application, we will implement additional behaviors using the excellent Blinker library for in-process publish/subscribe signals that will allow us to decouple the application into more compassable, reusable parts.

Additionally, Socializer will be built with unit and functional testing in mind, allowing us to vigorously test the various models and views to ensure that it functions according to our expectations.