Frameworks
Framework components represent what is common to all web applications. That’s why the framework creators extracted them out into the framework. This is a great boon to developers because we don’t need to solve the same problems over and over again. Things like routing requests to the right handler functions, getting the request parameters, handling response templates, setting cookies—the framework takes care of all that for us. The framework components make it easy to interact with the business logic over the web. They make up the web interface for the application.
The business logic is unique to each application. This is the part that we can’t extract into a common framework. It’s what makes our application do interesting things ...
Get Functional Web Development with Elixir, OTP, and Phoenix now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.