Is anyone interested in an Elm tutorial?

github logo ・1 min read

I'm interested in writing an Elm tutorial but I'm not sure what you all would want from such a tutorial.

My gut feeling is that there is a need for a tutorial that shows you how to build a SPA from start to finish.

There's,

GitHub logo rtfeldman / elm-spa-example

A Single Page Application written in Elm

RealWorld Example App

👉 I gave a talk to explain the principles I used to build this. I highly recommend watching it!

Elm codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Demo    RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with Elm including CRUD operations, authentication, routing, pagination, and more.

For more information on how this works with other frontends/backends, head over to the RealWorld repo.

How it works

Check out the full writeup!

Building

I decided not to include a build script, since all you need for a development build is the elm executable, and all you need on top of that for production is Uglify.

Development Build

Install Elm (e.g. with npm install --global elm), then from the root project directory, run this:

$ elm make src/Main.elm --output elm.js

If you want to include…

and he gave a talk,

and wrote a post,

about it.

Is that sufficient?

Do you need a more detailed breakdown of elm-spa-example?

Would you like a detailed breakdown of a different app entirely? Which one?

Would you like me to write a tutorial about one of these apps?

Your thoughts on these questions will help me decide on what to focus my attention.

twitter logo DISCUSS (9)
markdown guide
 

Some topics that I don't think have been covered well in the official documentation:

  • Web components...yay or nay?
  • The SPA example would definitely be a very good way to thoroughly tie together all the parts of Elm
  • Taking advantage of the parser library to do something cool...perhaps creating a DSL for building forms or something else that would simplify really tedious tasks?
  • Elm and JS interopt, or strategies for gradually introducing your team to Elm.
  • Some high-quality automated testing, possibly even from a TDD perspective.
 

Since I have you here.

What tutorial would YOU be most interested in reading (from your list or otherwise)? Are you currently trying to build something and struggling?

 

Definitely parsing, I love learning about compilers!

 
 

Also, since you seem to be the biggest evangelist for Elm right now, could you recommend any specific Elm projects that need help?

you seem to be the biggest evangelist for Elm right now

I have an interest in Elm that I'm exploring deeply. I share what I learn but I'm no evangelist for Elm.

could you recommend any specific Elm projects that need help?

None that I'm aware of at the moment.

 

Anything real world, as in the kind of stuff we need to build day to day. and anything with elm-ui!

 

I love what you do with it, was telling my friend about you today and yes I'd love to learn it please..make a tutorial for it, text or video is fine..thanks

 

Would love to read a tutorial about the parser too !

Classic DEV Post from May 19

Solving Puzzles With High-Performance JavaScript

Dwayne Crooks profile image
Software developer, teacher, math enthusiast and typed functional programming aficionado.

Night owl? 🦉

dev.to now has a dark version (in public beta).

Go to the "misc" section of your settings and select night theme ❤️