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.

The swiss knife of a word press developer

764 views

Published on

Developer tool guide

Published in: Technology
  • Be the first to comment

The swiss knife of a word press developer

  1. 1. The Swiss Knife of a WordPress Developer Technical Tool Guide
  2. 2. In the beginning
  3. 3. Then automation take over
  4. 4. Goals ➔ Less time to develop the code ➔ Easier way to track errors ➔ Standards check ➔ Version control ➔ Testing ➔ Deploy safe and quickly
  5. 5. How many tools do you need to start developing? communicate with the rest of the world?
  6. 6. Just enough!
  7. 7. Editor ➔ Light ➔ Open Source ➔ Extendable
  8. 8. Meet Atom. “A hackable text editor for the 21st Century”
  9. 9. Your Friends - the editors plugins.
  10. 10. Terminal plus
  11. 11. AutoComplete
  12. 12. Documentation
  13. 13. Keep the standards Keep the standards
  14. 14. PHP CodeSniffer
  15. 15. Linter A linter is a small program that checks code for stylistic or programming errors
  16. 16. JS Hint
  17. 17. “is a toolkit that helps you automate painful or time- consuming tasks in your development workflow.”
  18. 18. “The Grunt ecosystem is huge and it's growing every day. With literally hundreds of plugins to choose from, you can use Grunt to automate just about anything with a minimum of effort.”
  19. 19. Version Control All the Things
  20. 20. Git time machine
  21. 21. Merge conflicts
  22. 22. Local install ➔ Easy set up ➔ Quick ways to switch between WordPress versions ➔ DataBase migration
  23. 23. Capistrano As an automation tool
  24. 24. Switch between WordPress Versions
  25. 25. Mercury Vagrant “Mercury project is meant to allow people in the WordPress community to run a single Vagrant for developing, debugging, and deploying HHVM based code.”
  26. 26. WP CLI WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser.
  27. 27. wp core wp plugin install wp theme ➔ Download, install, update and otherwise manage WordPress proper. ➔ Installs a specific plugin ➔ Manage themes.(activate, delete, disable)
  28. 28. WP REST CLI
  29. 29. //When I wrote this, only God and I understood what I was doing //Now, God only knows
  30. 30. Tests ➔ Check new features ➔ Test compatibility with old code ➔ Try different roles and actions
  31. 31. Php Browser
  32. 32. Web Browser and Selenium
  33. 33. WP Browser ● WPBrowser ● WPWebDriver ● WPDb ● WPLoader ● WPBootstrapper ● WPQueries ● WPRequests
  34. 34. Deployment
  35. 35. Capistrano As a deployment tool
  36. 36. Git push Add remote locally - check remotes – git remote -v - add remote – git remote add <your repo ssh link> git push <branch name needed>
  37. 37. Thank you! Pros and Cons
  38. 38. Thank you! @iv_wp
  39. 39. Resources http://capistranorb.com/ https://wp-cli.org/ https://github.com/danielbachhuber/wp-rest-cli https://github.com/wpengine/hgv http://gulpjs.com/ http://gruntjs.com/ http://codeception.com/ https://github.com/lucatume/wp-browser http://codeception.com/for/wordpress Photos by: https://stocksnap.io/ http://www.freeimages.com/

×