Programming Elm (Pragprog) (Elm)

Programming Elm
Build Safe and Maintainable Front-End Applications

by Jeremy Fairbank @elpapapollo jfairbank
Elm brings the safety and stability of functional programing to front-end development, making it one of the most popular new languages. Elm’s functional nature and static typing means that run-time errors are nearly impossible, and it compiles to JavaScript for easy web deployment. This book helps you take advantage of this new language in your web site development. Learn how the Elm Architecture will help you create fast applications. Discover how to integrate Elm with JavaScript so you can update legacy applications. See how Elm tooling makes deployment quicker and easier.

Functional programming offers safer applications with decreased runtime errors, but functional solutions that are type-safe and easy to use have been hard to find, until the Elm language. Elm has the benefits of functional languages while compiling to JavaScript. This book provides a complete tutorial for the Elm language, starting with a simple static application that introduces Elm syntax, modules, and the virtual DOM, to exploring how to create a UI using functions. See how Elm handles the issues of state in functional languages. You’ll continue to build up larger applications involving HTTP requests for communication. Integrate your Elm applications with JavaScript so you can update legacy applications or take advantage of JavaScript resources.

Elm also provides built-in tooling to alleviate the tooling creep that’s so common in JavaScript. This book covers Elm’s deployment and testing tools that ease development confusion. Dive into advanced concepts including creating single-page applications, and creating performance improvements. Elm expert Jeremy Fairbank brings his years of web development experience to teaching how to use Elm for front-end development.

Your web UIs will be faster, safer, and easier to develop with Elm and this tutorial.

Don’t forget you can get 25% off with your forum discount :023: (ElixirForum)

Woo Hoo! Been waiting for the Programming Elm beta ebook to come out. Looks like it is finally here!!

Can’t wait to dig in!


I am interested in Elm, as staying within the functional mindset is favorable (IMHO). However I need to research how usable it is with React/React Native. This book appears to be the first logical step in exploring the language, and the chapter titled “Integrate with JavaScript” sounds ideal.

1 Like

It isn’t - it’s its own thing, in fact Elm is where the React/Redux team got some of their ideas from.
Reddit: Is Elm Native UI usable in production?(2017-08-15)

If you are dead set on React then you have to look at the ReasonML ecosystem, including ReasonReact and BuckleScript (which ReasonML is based on).


Thank you!

1 Like