Lisplog

Blogging in Lisp

Search

Web Pages from JSON Templates in Elm

Submitted by Bill St. Clair on Fri, 24 Mar 2017 16:30:26 GMT

One of the problems I find with Elm is that the HTML is compiled into the JavaScript code for a web site. I wrote a template package to enable more data-driven HTML generation.

It's in the Elm repository at package.elm-lang.org/packages/billstclair/elm-html-template.

There's a live example website at lisplog.org/elm-html-template.

I'm switching now to a WordPress-like blogging package built on top of it. It will be similar to Lisplog (this web site), but will do all the rendering in the client browser, just as is done by the example, but with forms to create and edit content.

It's called XosBow, pronounced "Crossbow". That web site is a one-page place-holder for now, but once enough works, it will itself be done in XosBow.

Add comment   Edit post   Add post

Previous Posts:

Cryptographically-Secure Random Numbers in Elm
Elm Digital Ocean Interface
Fixed: Slow Macintosh File Dialogs
Kokuro Dojo for Android
Android Version Hell
Kakuro Dojo iOS App Ships!
Elm Tutorial on Commands, Subscriptions, and Ports
Kakuro-Dojo Is Good Enough to Play
SVG Rocks!
What Are You Listening To?