O'Reilly logo

Learning Sinatra by Manoj Sehrawat, Sudeep Agarwal

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

Chapter 7. Handling User Data

In the previous chapter, we made the forms and designed them, and now we are able to see the form where a user can fill in data and use the application. A well-designed user interface is very important. Now we will make these forms functional and handle the data provided by the user.

In this chapter, you will learn the following topics:

  • Creating forms
  • Handling data in the backend

Creating forms

Here, you are going to learn how to work with forms. We know that to be able to create a list and its tasks, we need to give the user an interface where he will fill in the data, submit the form and the data will go to the server, then the server processes the data and creates a list of tasks for the user.

A quick overview of the ...

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