CG数据库 >> Lynda – WordPress: REST API

Lynda – WordPress: REST API的图片1

Lynda - WordPress: REST API

Size: 357 MB | Duration: 2h 6m | Video: AVC (.mp4) 1280x720 15&30fps | Audio: AAC 48KHz 2ch

Genre: eLearning | Level: Advanced | Language: English

Developers can interact remotely with a WordPress site from a client-side or external application by using the WordPress REST API. Using JSON objects, this API allows you to create and send content to a site, request information from a site, update existing content, and even create single page applications on top of WordPress. This course takes a detailed look at putting the WordPress REST API to use, demonstrating the use of routes, endpoints, arguments, requests, responses, and more. Technologies covered include RESTful APIs, JSON, HTML, CSS, JavaScript, PHP, and AJAX.

Topics include:

* Using a REST client to communicate with a REST API

* Reviewing available routes, endpoints, and arguments

* Adding custom post types and taxonomies

* Altering the API response

* Using PHP for resiliency

* Passing info using wp_localize_script()

* Setting up a REST API request through AJAX

* Outputting selected post data to the front end

* Formatting post data to match a theme

* Triggering AJAX for an infinite scroll effect

* Setting up the core HTML, CSS, and JavaScript

* Using AJAX to load subsequent responses

Lynda – WordPress: REST API的图片2

发布日期: 2017-03-24