【问题标题】:Jetpack JSON REST API and WP APIJetpack JSON REST API 和 WP API
【发布时间】:2015-07-20 13:41:55
【问题描述】:

与 WP API 相比,使用 Jetpack JSON API 有明显的优势吗?哪一个提供最佳的资源利用率并且在服务器上很容易?

【问题讨论】:

    标签: json wordpress jetpack


    【解决方案1】:

    不选择 Jetpack JSON API 的一个关键原因是它需要连接到 wordpress.com 以进行 API 调用。

    这里有一些有用的比较。 WP API 与 Jetpack JSON API https://github.com/WP-API/WP-API.github.io/blob/master/misc/comparison.md

    为什么不选择Jetpack,写的很好。 http://joshpress.net/why-the-wordpress-rest-api-must-be-in-core/

    WP REST API 将被合并到 Wordpress 核心中。 https://make.wordpress.org/core/features-as-plugins/

    实际上,WP REST API 将在 4.6 版中合并到 Wordpress 核心中。为新开发选择 WP REST API 会很好。

    PS,WP REST API 也有 javascript 客户端,Jetpack JSON API 中没有 https://github.com/WP-API/client-js

    https://github.com/kadamwhite/wordpress-rest-api

    【讨论】:

      猜你喜欢
      • 2018-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多