A presentation at ElixirConf 2024 in in Orlando, FL, USA by Divya
At the heart of Phoenix, lies a key concept encapsulating power and flexibility, plugs. These small but mighty modules play a key role in connecting requests in a typical request-response cycle alongside other core concerns like authentication, session management, and error handling. With their modular approach that contains a single unit of functionality, plugs work perfectly when combined to support the needs of a fully fledged web application like Phoenix. In this talk, we’ll explore the inner workings of plugs to better understand their versatility in the context of an app. We’ll specifically work on building a phoenix like framework from the ground up using just plugs to see just how big and magical plugs can be in making applications like Phoenix work!