Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WordPress: Software of Many Uses

modemlooper
September 10, 2016

WordPress: Software of Many Uses

modemlooper

September 10, 2016
Tweet

More Decks by modemlooper

Other Decks in Technology

Transcript

  1. View Slide

  2. S TAT U S A P P

    View Slide

  3. W H AT I S W P - A P I

    View Slide

  4. 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

    View Slide

  5. 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

    View Slide

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

    View Slide

  7. W E B S I T E
    torquemag.io

    View Slide

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

    View Slide

  9. M O B I L E A P P

    View Slide

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

    View Slide

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

    View Slide

  12. 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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  16. 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

    View Slide

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

    View Slide

  18. You can fork WordPress
    without forking WordPress!

    View Slide

  19. “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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  23. 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

    View Slide

  24. 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.

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  28. I O T L I S T. C O M

    View Slide

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

    View Slide

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

    View Slide

  31. N Y T I M E S . C O M

    View Slide

  32. J E T PA C K . C O M

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  36. T R I . B E

    View Slide

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

    View Slide

  38. R O O O M Y. C O M

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  44. 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

    View Slide

  45. The future of WordPress is now
    what will you build?

    View Slide

  46. 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

    View Slide

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

    View Slide