Ethan Butler and Jordan Cauley: WordPress and Express – Building Better APIs

Continue the discussion

Published

June 16, 2017

For BeerNC, Cardinal Media used WordPress for content management but served content and user data over a custom Express App. This provided a content management experience the client was comfortable with and the security and control of Express for the app’s internal-facing API.

Takeaways:

Using Express and an ORM can be better for some use-cases than the baked-in WP-API features.
Using WP-API methods and hooks can be used to create webhooks to keep an external API in sync with WordPress content, while giving content creators the ease-of-use that WordPress offers.
Shortcodes can be integrated into a front-end framework – we used Ionic2 to build BeerNC, but the methodology should be similar for most front-end frameworks.

Presentation Slides »

Rate this:

Event

WordCamp Asheville 2017 32

Speakers

Ethan Butler 6
Jordan Cauley 3

Tags

API 86
Webhooks 7

Language

English 10534

Download
MP4: Low, Med, High, Original
OGG: Low
Subtitles
Subtitle this video →