DEV Community

Discussion on: REST API - Yet Another UI

Collapse
 
davidszabo97 profile image
Dávid Szabó

You mean GraphQL is just another UI? :)
Right now I think anything that spits out data that another application can read, that's a UI / View or whatever you call it.
Maybe I played too much on the front-end side and totally messed up my thinking that's why I thought that REST API is the backend, whereas it is just a presenter and the core/system/business logic is the backend.

GraphQL is cool, but that adds too much unnecessary complexity to my product.

Collapse
 
scriptify profile image
Maximilian Torggler

Ok maybe I missed the original intention of this post. Yea, in that way, GraphQL would also be like "another UI", cause, if the application is architectured in the right way, it can just use the "core" functionality (how you named it here) of the application. Same as REST.