Lynda_WordPress_REST_API_(WP-API)_First_Look

در این آموزش تصویری با WordPress REST API آشنا می شوید.
این دوره آموزشی محصول موسسه Lynda است.

سرفصل های دوره:

  • کار با WP-API
  • اسکریپت wp-API چیست؟
  • JSON چیست؟
  • شروع به کار با WP-API
  • نحوه نصب WP-API
  • نحوه استفاده از ابزارها برای دسترسی به API
  • بررسی WP-API
  • بررسی شاخص های API
  • بررسی مسیرهای مشترک
  • ایجاد یک پلاگین با استفاده از WP-API و AJAX
  • ساخت یک پلاگین عمومی
  • کار با توابع
  • نحوه انتقال داده ها به فایل جاوا اسکریپت
  • ایجاد تابع عمومی AJAX با استفاده از WP-API
  • نحوه خروجی گرفتن HTML برای AJAX
  • نحوه نمایش تصاویر
  • افزودن تصاویر گرافیکی در AJAX
  • و…

عنوان دوره: Lynda WordPress REST API (WP-API): First Look
سطح: پیشرفته
مدت زمان: 1 ساعت و 38 دقیقه
نویسنده: Morten Rand-Hendriksen


توضیحات:

Lynda WordPress REST API (WP-API): First Look

Morten Rand-Hendriksen
Advanced
1h 38m

The revolution will be RESTful! WordPress, the most popular and prevalent content publishing platform on the web, is undergoing a fundamental change. With the introduction of the WP API, a RESTful JSON API, the content management system can finally graduate from its PHP-rooted origins to become a full-fledged application platform.
With the WP API, developers can access the data on a WordPress site'such as users, posts, and categories'programmatically. The result is an expansion of the already limitless field of possibilities where theme and plugin development is concerned.
This course is a first look at the WP API: what it is, how to get it running, how to interact with it, what it can do for us, and what we can do with it. Join Morten Rand-Hendriksen, your guide and WordPress guru, as he walks through the tools and major features (such as routes and endpoints) of the WP API, as well as a short project that shows how this new API will be used in real-world workflows.
Topics include:
Installing the WP API
Exploring common routes
Examining WP API output
Building plugins with the WP API
Crafting WP API URL requests
Creating AJAX functions with the WP API

Introduction
3m 12s
Welcome
1m 5s
How to use the exercise files
2m 7s
1. What Is the WP-API?
6m 28s
What is the WP-API?
3m 1s
What are RESTful APIs and JSON?
2m 13s
Understanding routes and endpoints
1m 14s
2. Getting Started with the WP-API
7m 41s
Installing the WP-API
4m 14s
Using tools to access the API
3m 27s
3. Exploring the WP-API
16m 11s
Checking the API index
3m 19s
Exploring common routes
8m 36s
A closer look at the API output of a post
4m 16s
4. Building a Plugin Using the WP-API and AJAX
1h 2m
Start at the end: What we are building
2m 26s
Craft the API URL request
5m 6s
Build a basic plugin
2m 55s
Create and enqueue a plugin stylesheet
3m 55s
Create basic HTML and CSS output
4m 38s
Create a function to generate the API URL request
5m 13s
Create and enqueue JavaScripts for AJAX
3m 18s
Pass data to the JavaScript file
4m 13s
Create a basic AJAX function using the WP-API
4m 2s
Create the HTML output for the AJAX function
4m 45s
Register a Post Author Name field to the API response
6m 14s
Display featured images in the response
4m 37s
Create condition for featured images
3m 8s
Add a loader graphic to the AJAX function
3m 32s
Final touches
4m 47s
Next Steps
2m 6s
Learn more about RESTful APIs
2m 6s