Programming Elm

Build Safe and Maintainable Front-End Applications

by: Jeremy Fairbank

Published 2019-06-30
Internal code jfelm
Print status In Print
Pages 308
User level Intermediate
Keywords DOM, javascript, functional programming, HTML, CSS, front end
Related titles

Seven More Languages in Seven Weeks, Bruce Tate et al, 978-1-94122-215-7

ISBN 9781680502855
Other ISBN Channel epub: 9781680507171
Channel PDF: 9781680507188
Kindle: 9781680507157
Safari: 9781680507164
Kindle: 9781680507157
BISACs COM060090 COMPUTERS / Internet / Application Development
COM051260 COMPUTERS / Programming Languages / JavaScript
COM051260 COMPUTERS / Programming Languages / JavaScript

Highlight

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 runtime 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.

Description

Functional programming offers safer applications with fewer 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.

Contents and Extracts