Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

S TAT U S A P P

Slide 3

Slide 3 text

W H AT I S W P - A P I

Slide 4

Slide 4 text

W P - A P I I S A J S O N R E S T A P I A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. V 2 . W P - A P I . O R G

Slide 5

Slide 5 text

W H AT I S J S O N JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. J S O N . O R G

Slide 6

Slide 6 text

W E B S I T E J S O N torquemag.io torquemag.io/wp-json

Slide 7

Slide 7 text

W E B S I T E torquemag.io

Slide 8

Slide 8 text

J S O N torquemag.io/wp-json/wp/v2/posts

Slide 9

Slide 9 text

M O B I L E A P P

Slide 10

Slide 10 text

W H E R E T O G E T W P - A P I

Slide 11

Slide 11 text

If you are running WordPress 4.4 + then you already have it on your site.

Slide 12

Slide 12 text

The API infrastructure was added in WordPress 4.4 The core endpoints, posts, pages etc are available through a plugin wordpress.org/plugins/rest-api

Slide 13

Slide 13 text

• Posts • Post Revisions • Pages • Media • Post Types • Post Statuses • Comments • Taxonomies • Categories • Tags • Users Endpoints

Slide 14

Slide 14 text

/wp-json/wp/v2/posts /wp-json/wp/v2/pages /wp-json/wp/v2/media

Slide 15

Slide 15 text

v2.wp-api.org/extending/adding C U S T O M E N D P O I N T S

Slide 16

Slide 16 text

There’s a renewed push going on right now to try and get what is being termed “content endpoints” into WordPress core with the 4.7 release. Helen, release lead for 4.7 has identified blockers for inclusion. Your help is needed. bit.ly/2ctnH1Z E N D P O I N T S I N C O R E

Slide 17

Slide 17 text

F O R K I N G W O R D P R E S S The future of

Slide 18

Slide 18 text

You can fork WordPress without forking WordPress!

Slide 19

Slide 19 text

“WordPress is easy to use compared to other CMSs, but is it easy to use versus social platforms or other places where people type words, share pictures, and maintain a digital footprint? The goalposts are always moving and we have to move too.” - Brian Krogsgard poststatus.com

Slide 20

Slide 20 text

25+ % of all websites are WordPress 0 25 50 75 100 2015 2016 2017 2018

Slide 21

Slide 21 text

• Internet of things • POS Systems • Information Kiosks • Cloud Services • Desktop Apps • Mobile Apps • Progressive Web Apps • ? Other Areas for Market Dominance

Slide 22

Slide 22 text

P R O G R E S S I V E W E B A P P S washingtonpost.com/pwa flipkart.com

Slide 23

Slide 23 text

WordPressOS T W I T T E R FA C E B O O K N Y T T W P R S S P I N T E R E S T Y O U T U B E A M A Z O N W O O T R AV E L W P. C O M A P P S C O M M E R C E M E D I A N E W S S O C I A L

Slide 24

Slide 24 text

If WordPress is the dominant CMS on the web then it is our duty as a community to move the UX forward in relation to emerging technologies.

Slide 25

Slide 25 text

F R A M E W O R K S • Angular • React • Ionic Framework • Ember • Nativescript • Electron

Slide 26

Slide 26 text

If you can build a WordPress theme then you can build desktop and mobile apps using web technologies JavaScript HTML CSS WP-API

Slide 27

Slide 27 text

E X A M P L E S I N T H E W I L D

Slide 28

Slide 28 text

I O T L I S T. C O M

Slide 29

Slide 29 text

W I R E C U T T E R . C O M

Slide 30

Slide 30 text

W I R E C U T T E R . C O M

Slide 31

Slide 31 text

N Y T I M E S . C O M

Slide 32

Slide 32 text

J E T PA C K . C O M

Slide 33

Slide 33 text

P O S T S TAT U S . C O M

Slide 34

Slide 34 text

P O S T S TAT U S . C O M

Slide 35

Slide 35 text

P O S T S TAT U S . C O M

Slide 36

Slide 36 text

T R I . B E

Slide 37

Slide 37 text

M I N D I N G K I D S . C O . U K

Slide 38

Slide 38 text

R O O O M Y. C O M

Slide 39

Slide 39 text

A D AY O F R E S T. H M

Slide 40

Slide 40 text

A D AY O F R E S T. H M

Slide 41

Slide 41 text

C A LY P S O : W O R D P R E S S . C O M

Slide 42

Slide 42 text

H A P P Y TA B L E S . C O M

Slide 43

Slide 43 text

H Y P O T H E T I C A L

Slide 44

Slide 44 text

H Y P O T H E T I C A L R E C I P E B L O G R E C I P E O R D E R A P P Content Marketing App consumes WP-API Data App sends order data to order processing to WP-API Main site recommends recipes using WP-API Discoverable in app stores H A R D WA R E P R I N T E R

Slide 45

Slide 45 text

The future of WordPress is now what will you build?

Slide 46

Slide 46 text

Resources • v2.wp-api.org • wordpress.org/plugins/rest-api • facebook.github.io/react • ionicframework.com • nativescript.org • electron.atom.io • angularjs.org • emberjs.com

Slide 47

Slide 47 text

@modemlooper • WordPress app, plugin developer • BuddyPress contributor • modemlooper.me