O'Reilly logo

Seven Web Frameworks in Seven Weeks by Frederic Daoud, Jack Moffitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

images/src/yesod/rumble.png
Figure 24. Rumble: A social news site ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required