17 Storing Data in Databases
If you implement web applications that process data, you need to store that data somewhere. This is exactly where databases come into play.
In the preceding chapters, we have slowly worked our way—layer by layer, as it were—from the frontend to the backend. Finally, in the previous chapter, you saw what web services are and how you can use web services to receive and process data from the client. The last layer we turn to is databases, as shown in Figure 17.1, which you need whenever you want to store data permanently, that is, when you want to persist data. In the case of an online store, for example, this persistent data could be the various products you sell and your registered users or, in the case of a social ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access