IHP is a refreshing modern Haskell MVC framework. It's simple to get started with, in contrast to how Haskell is often perceived. It's popularly called "Haskell on Rails". The good old multi page app (MPA) is back and better than ever.
Elm is a delightful language for writing reliable web apps. And even if it's most famous for writing single page apps (SPA), it's just as great for sprinkling interactivity on the MPA architecture.
Elm and IHP is a satisfying combo to work with for great SSR support, unlimited possibilities for interactivity and the simplicity of pure functions all over.
A simplified version of Richard Feldman's RealWorld SPA archtecture turns out to be well suited for a widget-engine in IHP.
This tutorial series about the "Elm-as-widget" pattern, combines two of the world's sweetest programming languages into one great developer experience.
The complete code is available on Github: