Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Continuous WordPress

1,941 views

Published on

WordPress is probably the most-used blogging framework on the internet, with millions of people publishing multiple articles daily and a very active community building extra functionality through plugins and themes, making WordPress the best tool for small businesses to get started with their online identity. But this popularity comes with a price: it becomes target to spammers and even worse: hackers.
In this session I will explain how you can harness your WordPress setup and use automated tools to keep your WordPress site (or sites) protected and up-to-date, especially when you can not use the automated update features WordPress has build-in. Stop worrying about failing plugins and keep your WordPress application up-to-date in a continuous, automated, secure way.

Published in: Engineering

Continuous WordPress

  1. 1. Continuous WordPress Remove the repetition https://goo.gl/images/X7FdTp
  2. 2. Michelangelo van Dam PHP Consultant, Community Leader & Trainer https://www.flickr.com/photos/akrabat/8784318813
  3. 3. Schedule WordPress Continuous Integration Challenges Solutions Recap
  4. 4. #ciwp https://www.flickr.com/photos/usfwsmidwest/5324227021
  5. 5. WordPress Continuous Integration Challenges Solutions Recap
  6. 6. PRO Easy for end users PRO Huge contributor base PRO Support numerous PHP versions PRO Active updates https://www.flickr.com/photos/skyseeker/6424157
  7. 7. CON Auto update for core only https://www.flickr.com/photos/130973380@N08/16656126444 CON Manual update of plugins & themes CON Support numerous PHP versions CON Prime target for hackers
  8. 8. https://www.flickr.com/photos/regtiangha/18032558131
  9. 9. https://www.flickr.com/photos/regtiangha/18032558131
  10. 10. https://www.flickr.com/photos/mikecogh/8090312841
  11. 11. WordPress Continuous Integration Challenges Solutions Recap
  12. 12. https://www.flickr.com/photos/freefoto/5982549938
  13. 13. https://www.flickr.com/photos/freefoto/5982549938 Common CI systems
  14. 14. Online CI systems https://www.flickr.com/photos/freefoto/5982549938
  15. 15. https://www.flickr.com/photos/mabi/38307124
  16. 16. https://www.flickr.com/photos/regtiangha/18032558131 Wordpress Core Wordpress Plugins Wordpress Themes
  17. 17. https://www.flickr.com/photos/regtiangha/18032558131 Wordpress Core Wordpress Plugins Wordpress Themes ⚙⚙⚙ CI System
  18. 18. WordPress Continuous Integration Challenges Solutions Recap
  19. 19. Customization https://www.flickr.com/photos/t00n/5213814999
  20. 20. https://www.flickr.com/photos/t00n/5213814999 Platforms & Services
  21. 21. https://www.flickr.com/photos/t00n/5213814999 Scary
  22. 22. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  23. 23. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  24. 24. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  25. 25. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  26. 26. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  27. 27. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  28. 28. https://www.flickr.com/photos/t00n/5213814999 WP Core WP Plugins WP Themes Custom Plugins Custom Themes OS Server (cloud, vps, bare metal) ENV (DEV, TEST, ACC, PROD) Database and Filesystem
  29. 29. WordPress Continuous Integration Challenges Solutions Recap
  30. 30. https://www.flickr.com/photos/cfaobam/6785094564
  31. 31. https://www.flickr.com/photos/cfaobam/6785094564 • WordPress Core: 
 https://core.svn.wordpress.org/ • WordPress Plugins: 
 https://plugins.svn.wordpress.org • WordPress Themes: 
 https://themes.svn.wordpress.org
  32. 32. https://www.flickr.com/photos/cfaobam/6785094564 CUSTOMCODE
  33. 33. https://www.flickr.com/photos/cfaobam/6785094564 • Custom Themes:
 http://svn.company.com/themes/ • Custom Plugins:
 http://svn.company.com/plugins
  34. 34. https://www.flickr.com/photos/cfaobam/6785094564 • https://github.com/company/wp/themes/ mytheme/tags/1.1.4 • https://github.com/company/wp/plugins/ myplugin/tags/3.2.6
  35. 35. Staged environment ProductionAcceptanceTestDevelopment https://www.flickr.com/photos/cod_gabriel/5888445557
  36. 36. https://www.flickr.com/photos/cod_gabriel/5888445557 Staged environment ProductionTest
  37. 37. https://www.flickr.com/photos/cod_gabriel/5888445557 Provisioning tools
  38. 38. Phing or Ant? https://www.flickr.com/photos/jrmllvr/8658786500
  39. 39. https://www.flickr.com/photos/jrmllvr/8658786500 Backup all Check for new updates Core Plugins Themes database filesystem Test incoming changes Unit Selenium Update production Patch SVN switch Package … Reporting & Notifications Old projects Overview Changes …
  40. 40. https://www.flickr.com/photos/jrmllvr/8658786500 Continuous Monitor, Test and Update Your WordPress sites Default target: ------------------------------------------------------------------------------- build Run automated WordPress Updater Main targets: ------------------------------------------------------------------------------- build Run automated WordPress Updater catalog Create a catalog of sites under control dbupdate Update the WP database if there’s new version inventory Make an inventory of site core, plugins and themes versions plugin-check Check if WordPress Plugins require updates prepare Get all configuration settings theme-check Check if WordPress Themes require updates wpbackup Make a backup of the WordPress site wpcore-check Check if WordPress Core requires updates wpplugins-check Check local WP Plugins version wpthemes-check Check local WP Themes version
  41. 41. https://www.flickr.com/photos/jrmllvr/8658786500
  42. 42. https://www.flickr.com/photos/jrmllvr/8658786500
  43. 43. https://www.flickr.com/photos/jrmllvr/8658786500
  44. 44. WordPress Continuous Integration Challenges Solutions Recap
  45. 45. https://twitter.com/CalEvans/status/647660383499587584 WordPress is a great platform! Automate updates for core, plugins and themes⚙ Sleep better knowing you have all the updates automatically 😴
  46. 46. https://twitter.com/CalEvans/status/647660383499587584
  47. 47. https://twitter.com/CalEvans/status/647660383499587584
  48. 48. https://www.flickr.com/photos/lwr/13442542235
  49. 49. Contact us in it2PROFESSIONAL PHP SERVICES Michelangelo van Dam michelangelo@in2it.be www.in2it.be PHP Consulting - Training - QA
  50. 50. phpcon.eu Ticket sales start soon! January 27 & 28 in Antwerp (Belgium)
  51. 51. 18957 If you enjoyed this talk, thanks. If not, tell me how to make it better Leave feedback and grab the slides
  52. 52. Thank you Have a great conference http://www.flickr.com/photos/drewm/3191872515

×