Book description
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.
What You Need:
You will need the latest version of Elm, 0.19, along with a browser to run the examples in this book.
Publisher resources
Table of contents
- Preface
- 1. Get Started with Elm
- 2. Create Stateful Elm Applications
- 3. Refactor and Enhance Elm Applications
- 4. Communicate with Servers
- 5. Go Real-Time with WebSockets
- 6. Build Larger Applications
- 7. Develop, Debug, and Deploy with Powerful Tooling
- 8. Integrate with JavaScript
- 9. Test Elm Applications
- 10. Build Single-Page Applications
- 11. Write Fast Applications
- A1. Install Elm
- A2. Run the Local Server
- A3. Elm Package Versions
- Bibliography
Product information
- Title: Programming Elm
- Author(s):
- Release date: July 2019
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680507171
You might also like
book
Get Programming with F#
Get Programming with F#: A guide for .NET Developers shows you how to upgrade your .NET …
book
Programming Ecto
Languages may come and go, but the relational database endures. Learn how to use Ecto, the …
book
Programming Clojure, 3rd Edition
Drowning in unnecessary complexity, unmanaged state, and tangles of spaghetti code? In the best tradition of …
book
Erlang Programming
This book is an in-depth introduction to Erlang, a programming language ideal for any situation where …