Learning WordPress REST API (學習 WordPress REST API)
Sufyan bin Uzayr
- 出版商: Packt Publishing
- 出版日期: 2016-07-25
- 售價: $1,440
- 貴賓價: 9.5 折 $1,368
- 語言: 英文
- 頁數: 216
- 裝訂: Paperback
- ISBN: 1786469243
- ISBN-13: 9781786469243
-
相關分類:
WordPress
海外代購書籍(需單獨結帳)
相關主題
商品描述
A practical tutorial to get you up and running with the revolutionary WordPress REST API
About This Book
- Learn how to run the latest WordPress REST API with various platforms
- Create exciting apps and manage non-WordPress content with them
- Secure, export, and manage your data through illustrative examples
Who This Book Is For
This book is for WordPress developers and designers who want to get a complete practical understanding of the WordPress REST API and leverage it to create fully-featured web apps.
What You Will Learn
- Use the WordPress REST API to read, write, and edit posts
- Create and work with metadata using the WordPress REST API
- Work with taxonomies using the REST API
- Add custom routes and build apps using the WordPress REST API
- Process requests and integrate with external applications and frameworks
- Make your WordPress projects ready for the RESTful API standard
In Detail
The WordPress REST API is a recent innovation that has the potential to unlock several new opportunities for WordPress developers. It can help you integrate with technologies outside of WordPress, as well as offer great flexibility when developing themes and plugins for WordPress. As such, the REST API can make developers’ lives easier.
The book begins by covering the basics of the REST API and how it can be used along with WordPress. Learn how the REST API interacts with WordPress, allowing you to copy posts and modify post metadata. Move on to get an understanding of taxonomies and user roles are in WordPress and how to use them with the WordPress REST API. Next, find out how to edit and process forms with AJAX and how to create custom routes and functions. You will create a fully-functional single page web app using a WordPress site and the REST API. Lastly, you will see how to deal with the REST API in future versions and will use it to interact it with third-party services.
By the end of the book, you will be able to work with the WordPress REST API to build web applications.
Style and Approach
A step by step tutorial to explain the new and exciting world of the WordPress REST API with the real world examples.
商品描述(中文翻譯)
一本實用的教程,讓您快速上手並使用革命性的WordPress REST API
關於本書
- 學習如何在不同平台上運行最新的WordPress REST API
- 使用它創建令人興奮的應用程序並管理非WordPress內容
- 通過實例來保護、導出和管理數據
本書適合對WordPress REST API有完整實用理解並希望利用它創建功能完整的Web應用程序的WordPress開發人員和設計師。
您將學到什麼
- 使用WordPress REST API讀取、寫入和編輯文章
- 使用WordPress REST API創建和處理元數據
- 使用REST API處理分類法
- 添加自定義路由並使用WordPress REST API構建應用程序
- 處理請求並與外部應用程序和框架集成
- 使您的WordPress項目符合RESTful API標準
詳細內容
WordPress REST API是一項最近的創新,為WordPress開發人員提供了多個新機會。它可以幫助您與WordPress之外的技術集成,同時在開發WordPress主題和插件時提供了很大的靈活性。因此,REST API可以讓開發人員的生活更輕鬆。
本書首先介紹了REST API的基礎知識以及如何與WordPress一起使用。學習REST API如何與WordPress互動,使您能夠複製文章並修改文章元數據。接下來,了解WordPress中的分類法和用戶角色以及如何與WordPress REST API一起使用它們。然後,了解如何使用AJAX編輯和處理表單,以及如何創建自定義路由和功能。您將使用WordPress站點和REST API創建一個完全功能的單頁Web應用程序。最後,您將了解如何在未來版本中處理REST API,並將其與第三方服務集成。
通過閱讀本書,您將能夠使用WordPress REST API構建Web應用程序。
風格和方法
這是一本逐步教程,通過真實世界的例子來解釋WordPress REST API的新奇世界。