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

Not Your Grandmother's WordPress

0953b75cd018be4c5bc5ebe973616df4?s=47 Jason Rhodes
November 14, 2013

Not Your Grandmother's WordPress

More than anything, I want people to know that WordPress is far more flexible than it appears. Notes/links from the talk: https://gist.github.com/jasonrhodes/7469795

0953b75cd018be4c5bc5ebe973616df4?s=128

Jason Rhodes

November 14, 2013
Tweet

More Decks by Jason Rhodes

Other Decks in Programming

Transcript

  1. N O T Y O U R GRANDMOTHER’S W O

    R D P R E S S
  2. WHAT THIS TALK IS NOT

  3. • A DEFENSE OF WORDPRESS • AN EXPLANATION OF WHY

    YOU SHOULD USE WORDPRESS WHAT THIS TALK IS NOT
  4. None
  5. 1

  6. 2

  7. SUGGESTED WORDPRESS 3

  8. 2004

  9. 2003: GOLD (0.71)

  10. 2004: MILES (1.0)

  11. 2005: DUKE (2.0)

  12. 2008: BRECKER (2.5)

  13. 2008: COLTRANE (2.7)

  14. 2010: THELONIOUS (3.0)

  15. ORGANIZE THE WAY YOU LIKE

  16. None
  17. None
  18. None
  19. None
  20. MARKJAQUITH.WORDPRESS.COM

  21. None
  22. None
  23. THE POST IS DEAD LONG LIVE THE POST

  24. TABLE: POSTS THE POST IS DEAD LONG LIVE THE POST

  25. TABLE: POSTMETA THE POST IS DEAD LONG LIVE THE POST

  26. THE POST IS DEAD LONG LIVE THE POST • ARTICLE

    • PRODUCT • BOOK • EVENT • DEPARTMENT • PROGRAM • LOCATION
  27. THE POST IS DEAD LONG LIVE THE POST

  28. THE POST IS DEAD LONG LIVE THE POST

  29. THE NEED FOR SPEED

  30. THE NEED FOR SPEED

  31. THE NEED FOR SPEED

  32. THE NEED FOR SPEED

  33. THE NEED FOR SPEED

  34. THE NEED FOR SPEED

  35. THE NEED FOR SPEED tollmanz.com/grokking-the-wp-object-cache

  36. BYE BYE, THEMES

  37. BYE BYE, THEMES 1. Open up your index.php file 2.

    Change:
 
 
 to:
 
 3. That’s it.
  38. BYE BYE, THEMES TA DA!

  39. BYE BYE, THEMES CHOOSE YOUR OWN TEMPLATING ENGINE

  40. BYE BYE, THEMES

  41. BYE BYE, THEMES

  42. BYE BYE, THEMES

  43. MANAGE DEPENDENCIES with style

  44. MANAGE DEPENDENCIES WITH STYLE conductor?

  45. MANAGE DEPENDENCIES WITH STYLE composer.json

  46. MANAGE DEPENDENCIES WITH STYLE

  47. MANAGE DEPENDENCIES WITH STYLE

  48. MANAGE DEPENDENCIES WITH STYLE ADD TO WP-CONFIG include ‘path/to/vendor/autoload.php’;

  49. MANAGE DEPENDENCIES WITH STYLE <?php ! ! use MyNamespace\CustomObject; !

    ! $event = new CustomObject(‘event’);
  50. MANAGE DEPENDENCIES WITH STYLE

  51. MANAGE DEPENDENCIES WITH STYLE

  52. MANAGE DEPENDENCIES WITH STYLE

  53. MANAGE DEPENDENCIES WITH STYLE myApp/ public/ .htaccess assets/ plugins index.php

    vendor/ wordpress/ wordpress/ core… composer.json NO CONFIG NO WEBROOT ACCESS TO ADMIN, ETC
  54. MANAGE DEPENDENCIES WITH STYLE bin/wp-deploy-symlink.sh composer.json

  55. MANAGE DEPENDENCIES WITH STYLE myApp/ public/ .htaccess assets/ plugins wp

    -> ../vendor/wordpress/wordpress index.php vendor/ wordpress/ wordpress/ …core files… composer.json
  56. MANAGE DEPENDENCIES WITH STYLE

  57. DEPLOY WITH CONFIDENCE

  58. DEPLOY WITH CONFIDENCE

  59. DEPLOY WITH CONFIDENCE

  60. DEPLOY WITH CONFIDENCE Capfile

  61. DEPLOY WITH CONFIDENCE config/deploy/staging.rb

  62. DEPLOY WITH CONFIDENCE Task definition

  63. DEPLOY WITH CONFIDENCE myApp/ current -> releases/20131106133229 releases/ 20131009150239 20131028161941

    20131029163056 20131031180031 20131106133229 shared
  64. DEPLOY WITH CONFIDENCE Task running

  65. DEPLOY WITH CONFIDENCE

  66. DEPLOY WITH CONFIDENCE

  67. DEPLOY WITH CONFIDENCE VANDELAY WP PLUGIN: A simple options importer/exporter

    github.com/johnshopkins/vandelay
  68. DEPLOY WITH CONFIDENCE

  69. MAKE YOUR OWN REST API

  70. MAKE YOUR OWN REST API DATA SHARING

  71. MAKE YOUR OWN REST API JAVASCRIPT APPLICATIONS

  72. MAKE YOUR OWN REST API

  73. AUTOMATE ALL THE THINGS WITH CLI TOOLS

  74. AUTOMATE ALL THE THINGS WITH CLI TOOLS DRUPAL DRUSH SYMFONY

    CONSOLE ZF2 ZFTOOL WORDPRESS WP-CLI
  75. AUTOMATE ALL THE THINGS WITH CLI TOOLS

  76. AUTOMATE ALL THE THINGS WITH CLI TOOLS • wp shell

    • wp post edit 142 • wp scaffold [theme | plugin | post-type | taxonomy] • wp core install • wp core update • wp user generate
  77. AUTOMATE ALL THE THINGS WITH CLI TOOLS

  78. • ORGANIZE THE WAY YOU LIKE • THE POST IS

    DEAD (LONG LIVE THE POST) • THE NEED FOR SPEED • BYE BYE, THEMES • MANAGE DEPENDENCIES WITH STYLE • DEPLOY WITH CONFIDENCE • MAKE YOUR OWN REST API • AUTOMATE ALL THE THINGS WITH CLI TOOLS RECAP
  79. PHEW.

  80. None
  81. NEVER TRUST A GRANDMA IN MEMORY OF NORENE RHODES

  82. @RHODESJASON GITHUB.COM/JASONRHODES THANKS. *NOTES AND LINKS HERE, TOO RATE THIS

    TALK AT JOIND.IN/10041*