4 ms·
A lot of commenters jumping on the "cut out the middle tier" title. The bulk of the content is simply about formatting JSON in the DB instead of manually mappi
by tofuahdude 5y ago
A lot of commenters jumping on the "cut out the middle tier" title.
The bulk of the content is simply about formatting JSON in the DB instead of manually mapping rows in the application layer.
It doesn't say "eliminate your API layer" or "have no application logic between client and db" as most are jumping to.
I find the actual methods described as helpful in that I can convert to the data structures I ultimately want in one pass instead of two.
Doesn't mean I don't have validation or a traditional API layer. Just easier to use.