I just read this pattern from the pragprog’s Phoenix LiveView online course on educative. I think it is edited from the book Programming Phoenix LiveView. But there is not much to introduce here, it just provides a prelude to explain Phoenix’s Plug. I would like to know how this pattern is widely used in more general contexts.