Attendees: we will use Ellie for running demos and exercises, so please bring your laptop.
We will first learn Elm’s syntax by defining and calling functions with familiar data types such as strings and numbers. We will discover that Elm’s functions have no side effects, meaning they are predictable, reliable, and easily testable.
Next, we will build our first application with the Elm Architecture. The Elm Architecture is Elm’s one framework for building front-end applications, meaning no fatigue about which framework or library to use. We will define a model to hold application state, a view function to display the state in the browser, and an update function to handle events and create new state to display.
Finally, we will discover the safety of building Elm applications by introducing static types. We will add type annotations to document our code and see how the Elm compiler prevents type errors. We will also improve event handling by creating our own custom type to define the exact kinds of events in our application. We will see that the compiler ensures we handle all events in our application to prevent bugs.
You will leave this session able to build your own Elm applications and take your knowledge further with additional resources.
Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?
Join the conversation here (requires login)
©2018, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org