drupal移动端

drupal 移动端接口比较: REST vs JSON:API vs GraphQL

日期:2019-06-18 阅读:210

https://dri.es/headless-cms-rest-vs-jsonapi-vs-graphql 

Based on this analysis, for Drupal core's needs, we rank JSON:API above GraphQL and GraphQL above REST. As such, I want to change my recommendation for Drupal 8 core. Instead of adding both JSON:API and GraphQL to Drupal 8 core, I believe only JSON:API should be added. That said, Drupal's GraphQL implementation is fantastic, especially when you have the developer capacity to build a bespoke API for your project.

从上面文章综合比较,Dries认为jsonapi 胜于 GraphQL, 而GarphQL又胜于REST 

 drupal从8.7版本开始,core里用了jsonapi。

<<点击返回