O'Reilly logo

Programming Elm by Jeremy Fairbank

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Organize the View

In this section, you will learn about the application and discover the problems with its view function. The previous developer put all the application’s markup inside one view function, creating tons of duplication and hard-to-read code. You will spend extra development time adding new features unless you organize the view function first. Let’s fix this dilemma. You will divide the view function into separate functions to make the code more understandable.

Build a Salad

A large chain of restaurants known as Saladise needs help with a new salad-builder application. Customers can customize a salad with their favorite greens, toppings, and dressing. Then, they can supply contact information to receive an alert to pick up their ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required