Day 3: Rumbling Along
Today we’ll put everything together to build our social news aggregator. We’ll use the Shakespearian templates to generate views and Yesod’s declarative forms to handle new content. We’ll also see how to modify the default layout.
We’ll start top-down by building Rumble’s front page list of posts and then move to displaying single posts. This will make a lot of use of Hamlet templates and widgets. Then we’ll add forms for new posts and comments using Yesod’s declarative forms. By the end of the day, Rumble will be ready for beta testers and should look similar to this screenshot.
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.