25. HTTP REQUESTS
★ Not all PHP environments have
cURL installed
★ The WP_Http class Standardizes the
HTTP requests for WordPress. Handles
cookies, gzip encoding and decoding,
chunk decoding…
26. HTTP REQUESTS
★ Not all PHP environments have
cURL installed
★ The WP_Http class Standardizes the
HTTP requests for WordPress. Handles
cookies, gzip encoding and decoding,
chunk decoding…
★ wp_remote_* functions provided
33. JSON
★ JSON (JavaScript Object Notation)
is the preferred way to exchange data
★ PHP 5.2 has json_encode() and
json_decode() functions
34. JSON
★ JSON (JavaScript Object Notation)
is the preferred way to exchange data
★ PHP 5.2 has json_encode() and
json_decode() functions
★ Many WP users are on earlier
versions of PHP
35. JSON
★ JSON (JavaScript Object Notation)
is the preferred way to exchange data
★ PHP 5.2 has json_encode() and
json_decode() functions
★ Many WP users are on earlier
versions of PHP
★ WP has a backwards compatibility
layer for PHP < 5.2 (since 2.9)
39. EMAIL
★ Sending email sucks
★ WP's mail sending functionality
makes it suck less
★ Centralizes all email so that it can
be overridden/manipulated by plugins