DEV Community

Discussion on: Is The Web Forcing Us to Split Applications the Wrong Way?

Collapse
 
kayis profile image
K • Edited

"There's simply no way to be an effective front-end developer and work strictly on code in the "front-end" layer."

I have the feeling solutions like GraphQL change this, by simply giving the front-end more control.

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

It probably does. But at the same time, having a very open protocol can make maintenance hard. Your backend no longer has any idea how it's really being used. There aren't specific APIs to optimize, nor specific unit tests for essential pathways.

Thread Thread
 
kayis profile image
K

While the clients are more flexible you can still check what is accessed together in your monitoring and optimize your resolvers and data-stores for it when needed.

I'd even say that the GraphQL spec (which is stricter than the REST spec) allows for optimizations across different implementations of that spec.