001: Getting started with elm-pages

April 03, 2020 0:51:27 49.66 MB Downloads: 0

elm-pages hydrates into a full Elm app. It solves similar problems to what GatsbyJS solves in the ReactJS ecosystem.

Static site generators with JS-free output

https://korban.net/elm/elmstatic/
https://jekyllrb.com/
Eleventy

Meta Tags

Open Graph tags

Asset management with elm-pages (CSS vs. SASS,etc.)

Github issue discussing using the Unix Toolchain Philosophy in the context of keeping elm-pages focused on primitive assets for elm apps

Compared to extending the Gatsby webpack config

SOLID Open-Closed Principle

elm-pages showcase

Chandu's art showcase (built with elm-pages) - https://tennety.art/

Headless CMSes vs. monolothic site providers

https://www.sanity.io/
contentful.com
https://airtable.com/
netlifycms.org

CDN hosting provider Netlify

Static Site Generators and The JAMstack

https://jekyllrb.com/ - static site builder in Ruby - perhaps the first static site generator?
Eleventy - spritual successor to Jekyll - but more flexible
More info on what exactly is the JAMstack?

Getting started with elm-pages

elm-pages-starter repo

elm-pages vs. elm/browser

Pages.Platform.application

The elm-pages StaticHttp API

StaticHttp Docs (there's a description of when and why you would use this compared to elm/http)

elm-pages.com blog post A is for API - talks about StaticHttp and its lifecycle, including some example code.

Core Concepts

Incremental Elm Live - Twitch streaming series

Where to learn more

  • elm-pages.com
  • Join the Elm slack and say hello in the elm-pages channel!