What are Web APIs and what does that mean for users?
First Evolution: Separation of application and data storage
Most applications from the 2000s have their own file formats. The files must be loaded into the RAM and are only organized there into memory structures that can be accessed quickly. This leads to the PC crashing, especially with large amounts of data. Today's software uses databases for storage instead. These build structures automatically, allowing for efficient access to the data regardless of how much it grows. With the query language SQL, there is a standardized communication line to the storage backend.Second Evolution: Separation of business logic and interface
Clean software already contains an internal separation of business logic from the interface. However, this was an internal division within the software. If these two components are actually separated into two programs that only communicate with each other via a network line, the following situation arises:- The business logic controls which actions (e.g., "add customer") are permitted for which users
- The interfaces merely display the data and forward actions to the business logic
- In the business logic, you now have complete control over all data, including access rights
- Software is no longer tied to a single interface. You can set up a PC interface, a tablet interface, and an autonomous printing service in the basement, all of which access the same business logic
- Communication between the interfaces and the business logic takes place via a so-called Web API