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

The Truth About The Environment

The Truth About The Environment

A Primer for Professional WordPress Development

1f0b00b8853cf0311888bb3ed2a77ebc?s=128

Tom McFarlin

March 20, 2016
Tweet

Transcript

  1. The Truth About The Environment A Primer for Professional WordPress

    Development Practices
  2. • I’m Tom (nice to meet you!) • I’m self-employed

    and blog daily • Married for eight years • Two beautiful daughters • Two crazy terrier mutts Hey, What’s Up? @tommcfarlin | https://tommcfarlin.com | http://pressware.co | https://presswareplugins.com
  3. A Primer for Professional WordPress Development Practices The Purpose of

    This Talk I want to believe there’s a better way to build solutions.
  4. 1. Three Environments 2. Why They Matter 3. How They

    Help Us What We’ll Cover
  5. A Primer for Professional WordPress Development Practices Before We Get

    Started A few questions for all of you.
  6. 1. Do you build sites? 2. Do you maintain code?

    3. Do you use version control? 4. Do you use deployments? I want to know…
  7. A Primer for Professional WordPress Development Practices The Three Environments

    Development, Staging, Production
  8. • Your local machine • Should mirror Staging and Production

    • This is where development starts. Development
  9. • A server for deployments • Accessible by you and

    your client • Should have the same configuration • This is for testing only • Do not modify code live on this server Staging
  10. • This is the live site • It’s for code

    deployments and users • You do not make live changes • This never includes • test content • untested code Production
  11. A Primer for Professional WordPress Development Practices Deploying Code Sending

    code from your machine to Staging and Production
  12. • How most people get started • Clearly delineate Staging

    and Production • Push to Production on final sign off Deployments via FTP
  13. • Tied into version control • Relies on changes in

    your repository • In WordPress, you’re likely to use Subversion • You may also use Git via GitHub Deployments via Tooling
  14. • PhpMyAdmin • Free • Manual deployments • WP Migrate

    DB Pro • Paid plugin • Handles deployments automatically What About Databases?
  15. A Primer for Professional WordPress Development Practices Improving Project Management

    Streamlining Your Workflow and Keeping Clients Happy
  16. • May require a change to your workflow • My

    approach is not prescriptive: • Set up my development environment • Defines milestones and tasks • Iterate until sign off • Repeat until project completion • Deploy to production Your Project Management
  17. A Primer for Professional WordPress Development Practices Thank You! Comments,

    Questions, Confusion, or Clarity?