- Full Stack Web Development with Raspberry Pi 3
- Soham Kamani
- 131字
- 2025-04-04 18:41:02
Integrating the database into our application
The database is interfaced with the rest of the application through the server (yet another area where the server acts as the middleware). The server application will add, update, read, and delete data from the database through the use of queries.
All queries to the database can be classified under Create, Read, Update, or Delete operations, which are collectively referred to as CRUD.
In our application, the database will be running on another port in our Raspberry Pi machine. The application server will interact with the database through the local network.
It's important to note that the database is also a server, which occupies a port. This is why we sometimes call it the database server, while our main application runs on the application server.
