Hi all!
Can someone explain what is the difference between normalized and denormalized API?
Thank you in advance
Hi,
I try to describe the two types with starting with a scenario:
-I need to retrieve a user's information through an exposed API. The user has several related entities ( Work experience,education,hobbies)
In a normalized API,I have multiple endpoint foreach set of information:
To retrieve all the information the client must execute four different api invoke.
In a denormalized API, i have a single endpoint that assemble all the need information:
To retrieve all the information the must execute one api invoke.
The typical usage for denormalized api is when the client is an enduser layer (web or mobile).
DISCLAIMER : This is a basic example with a basic explaination the "Normalize/Denormalize" topic is bigger than his.
Br,
AL
Thank you, Andrea