Introducing Yesod

Yesod is the Hebrew word for foundation, and the framework strives to provide a robust and strong foundation for your apps. Some of the frameworks in this book attempt to explore new ways of building apps, but Yesod instead takes the traditional architecture and tries to leverage the strengths of Haskell to make it incredibly solid.

The Pieces

Yesod has models, views, and controllers like most modern frameworks, but its strong, static type system gives them a unique flavor. The keys for querying models have distinct types, ensuring that you can never confuse user ID 123 with invoice 123. View templates are compiled and enforce easily neglected security invariants. Controllers deal with URLs that cannot become outdated. ...

Get Seven Web Frameworks in Seven Weeks 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.