https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
WordPress with Haskell app embedded in iFrames
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
Haskell app serves content from WordPress API
https://slides.com/emhoracek/haskell/live
<wpPostByPermalink>
<apply template="_post">
<wpMultisection>
<wpSections>
<wpSection>
<section class="po-cn__section po-wp__section" id="ch-${wpSectionsIndex}">
<if exists="${wpTitle}">
<then><h1 class="po-cn__subhead po-wp__subhead"><wpTitle/></h1></then>
<else><hr class="po-cn__rule po-wp__rule"/></else>
</if>
<wpContent/>
</section>
</wpSection>
</wpSections>
</wpMultisection>
</apply>
</wpPostByPermalink>
https://slides.com/emhoracek/haskell/live
multiSectionFields :: Field Ctxt
multiSectionFields = CN "multisection"
["acf"]
[ M "sections"
[ F "title"
, M "section"
[ F "content" ] ] ]
https://slides.com/emhoracek/haskell/live
postByPermalinkHandler :: Ctxt -> Text -> Text -> Text -> IO (Maybe Response)
postByPermalinkHandler ctxt year month slug =
do let key = PostByPermalinkKey year month slug
mpost <- evalStateT (wpGetPost wordpress key) ctxt
case mpost of
Nothing -> return Nothing
Just post ->
do render ctxt ("post-types/" <> postFormat post)
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
According to my research the fence was built as an art project and abandoned in 1932!
THERE WAS A RAMPAGING BULL BEHIND THE FENCE
idk what if it's important?????
who knows????
I'll research the historical owners of the surrounding property.
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
https://slides.com/emhoracek/haskell/live
Can't find a person with extensive experience developing Haskell web applications? Try:
a person with knowledge of Haskell
plus
a person with experience in web applications
It works!