Build Your Own WordPress Development Environment

Since moved to WordPress, I always made my theme yearly. Like another WordPress Themes Developer, I created my own developing environment to custom WordPress design and development. If you want to become a freelance WordPress Themes Developer or just make your own WordPress theme like me, this topic will list the things you need before you start.

Local Web Server

Before you can start creating a theme, plugin…, you must first install your own local web server that can install WordPress and testing your works. There are a lot of Local Web Server on Windows, Linux, Mac Os. Here is a selection of my favourite packages.

  • LAMP (Linux Apache MySQL PHP): If you running Linux, you can create a perfect server can working like real web server on the world with little config. It’s can easy install and automatic configuration on some popular Linux distro like Ubuntu, Fedora, SUSE, Arch …
  • XAMPP: It can be run on the multi operating systems: Windows, Linux, Mac OS X and Solaris. It’s package with pre-configured and just install and run. Let’s try it if you are ordinary computer users.
  • WAMP: WampServer installs automatically all you need to start developing web applications and is very intuitive to use. You will be able to tune your server without even touching the setting files.
  • MAMP: The abbreviation “MAMP” stands for: Macintosh, Apache, Mysql and PHP. With just a few mouse-clicks, you can install Apache, PHP and MySQL for Mac OS X!

Let’s choose your favorite Local Web Server, so you may have to try them to choose the best.

Build your own WordPress Development Environment
Build your own WordPress Development Environment

Choosing a Good Web Browser

Choose good web browsersYou need a good web browser to view the result of your works and the biggest browsers for working with WordPress themes, plugins … is Firefox and Chrome. After it’s installed, you need install some plugins and add-of to improve the browsers features.
For a more comprehensive list of good Add-ons, see The Essential Firefox Add-ons for Web Designers, Essential Google Chrome Extensions for Web Designers. If you using Mac OS, the Safari browser is good to choice but its lack of some useful add ons.
Because Windows is most using operating system on the world for personal using. I recommend you use or install Internet Explorer browser for testing your WordPress theme and make sure it displays correctly.

Preparation of useful WordPress documents

[adsense ad_client=ca-pub-0297902515090400 ad_slot=3999285131 width=336 height=280]

Debugging and Checking

  • Do a run-through using the  WordPress Theme Unit Test
  • WordPress Template File Checklist
  • Fix PHP and WordPress errors. Add the following debug setting to your wp-config.php file to see deprecated function calls and other WordPress-related errors: define(‘WP_DEBUG’, true);.
  • Validate HTML and CSS. See Validating a Website.
  • Check for JavaScript errors.
  • Test in all your target browsers. For example, IE7, IE8, IE9, Safari, Chrome, Opera, and Firefox.
  • Clean up any extraneous comments, debug settings, or TODO items.
  • See Theme Review if you are publicly releasing the Theme by submitting it to the Themes Directory.

Advanced Toolkits

  • Version Control: Why do you need a Version Control System? Let’s answer these questions:
    • Made a change to code, realised it was a mistake and wanted to go back?
    • Lost code or had a backup that was too old?
    • Had to maintain multiple versions of a product?
    • Wanted to see the difference between two (or more) versions of your code?
    • Wanted to prove that a particular change broke or fixed some piece of code?
    • Wanted to submit a change (patch) to someone else’s code?
    • Wanted to see how much work is being done (where/when/who)?
    • Wanted to experiment with a new feature without interfering with working code?

    If you have more than 3 questions with YES, I recommend using a Version Control System like SVN, Git, Bazaar, … Why? You’ve answered it!

  • Cloud Storage: If your project always backup to the cloud, your works will be safe and can access anywhere, anytime and easy to share, public and more… Almost cloud storage services are free and enough for your project like Dropbox, Google Drive, Box, …

Conclusion

In this post, I’ve told you some basic steps to make your computer has a WordPress Development Environment without creating a separate installation. It’s not everything but enough for starting. Let’s try it!

1 thought on “Build Your Own WordPress Development Environment”

Comments are closed.