7 Habits of Highly Effective WordPress Developers


Published on

If you are just learning how to code, or are a seasoned developer, there are some important habits that will serve you well during your WordPress development career. Beyond the high-level approach of Stephen Covey’s “7 Habits of Highly Effective People”, this presentation will walk you through 7 practical things you can do to become a better and more effective WordPress developer. The concepts presented will be accompanied with action steps and follow up resources so you can start becoming a better developer right away.

Presentation given at WordCamp Atlanta 2014: http://2014.atlanta.wordcamp.org/session/7-habits-of-highly-effective-wordpress-developers/

Published in: Technology, Design
  • Be the first to comment

7 Habits of Highly Effective WordPress Developers

  1. 1. Excellent items from you, man. I have take note your stuff prior to and you are just extremely magnificent. I really like what you've acquired here, certainly like what you are stating and the best way in which you say it. You are making it entertaining and you still take care of to keep it wise. I can't wait to learn far more from you. - A flattering spam bot
  2. 2. 7 Habits of Highly Effective7 Habits of Highly Effective WordPress DevelopersWordPress Developers Micah Wood - @wpscholar - http://micahwood.me
  3. 3. Habit 1: Constantly LearningHabit 1: Constantly Learning Learn – to gain or acquire knowledge of or skill in (something) by: 1) study, 2) experience, or 3) being taught
  4. 4. Make a Plan ● Determine your specialty ● Identify your shortcomings ● Consider your options ● Prioritize your approach ● Schedule your studies
  5. 5. Habit 2: Being ConsistentHabit 2: Being Consistent The average developer spends 90% of their time reading code. If your code isn't readable, you are just wasting your own time.
  6. 6. Writing Readable CodeWriting Readable Code ● WordPress Coding Standards ● Naming ● Code Organization ● Single Responsibility Principle
  7. 7. Habit 3: Using Debugging ToolsHabit 3: Using Debugging Tools “Everyone knows that debugging is twice as hard as writing a program in the first place. So if you are as clever as you can be when you write it, how will you ever debug it?” – Brian Kernighan
  8. 8. Debugging in PHPDebugging in PHP ● var_dump(); ● WP_DEBUG – enables reporting of all errors ● WP_DEBUG_DISPLAY – display errors on screen ● WP_DEBUG_LOG – log errors to file ● Xdebug
  9. 9. Debugging in JavaScriptDebugging in JavaScript ● console.log(); ● SCRIPT_DEBUG ● JS Hint ● Chrome Developer Tools, Firebug ● JetBrains Chrome Extension (for PHPStorm)
  10. 10. Habit 4: Creating and Running TestsHabit 4: Creating and Running Tests A programmer’s wife tells him: “Go to the store. Pick up a loaf of bread. If they have eggs, get a dozen.” The programmer returns with 12 loaves of bread.
  11. 11. Types of TestingTypes of Testing ● Unit Testing ● Integration Testing ● Regression Testing ● Usability Testing
  12. 12. Habit 5: Reusing CodeHabit 5: Reusing Code ● Reusability Principles – Simple – Modular – Extensible ● Documentation ● Referencing vs Forking
  13. 13. Habit 6: Automating TasksHabit 6: Automating Tasks “The first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.” – Bill Gates
  14. 14. Automation ToolsAutomation Tools ● Vagrant ● WP-CLI ● Grunt / Gulp ● GitHub / BitBucket Webhooks ● Ansible ● Capistrano ● Third Party: Deploy HQ, Beanstalk
  15. 15. Habit 7: CollaboratingHabit 7: Collaborating ● Ask questions ● Share your code ● Contribute to a project ● Pair programming
  16. 16. Any Questions?Any Questions?