Developer's CodeBox

Gives WordPress developers an easy way to test their functions and code in a live WordPress environment.

Author:John Kolbert (profile at wordpress.org)
WordPress version required:2.7
WordPress version tested:2.9.2
Plugin version:1.1
Added to WordPress repository:13-06-2009
Last updated:30-03-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.johnkolbert.com/portfolio/wp-plugi...
Total downloads:2 033
Active installs:10+
plugin download
Click to start download

The Developer's CodeBox is a WordPress plugin for developers! It adds a textarea that allows you to try out HTML, PHP, or Javascript code. It is integrated with the Easy Area syntax highlighting for extra usefulness! This is great for trying out code snippets before integrating them with your larger project or plugin. It supports native PHP using proper syntax (eg: ), and best of all: it supports native WordPress functions like get_bloginfo('template_url');

Why did I make this plugin? Often when writing a new plugin I want to test a particular function or code snippet and see if it works properly. Usually I want to test it isolated from other code so I can hone in specifically on any errors or irregularities quickly. This typically meant that I would copy the function, paste it into a blank plugin, add the necessary actions or filters so I could visualize its results in the admin area, activate it, then test it.

Well, I got tired of doing all that. Enter the Developer's CodeBox.

Please note: the Developer's CodeBox is NOT a sandbox. Meaning code run in the CodeBox has the ability to do whatever it is you're testing. If you are testing a function to add a column to your mySQL database, it will actually be added! That said, I recommend only using this plugin on a development server were testing code won't do any damage. You've been warned!

This plugin uses the syntax highlighting script found here: http://www.cdolivet.com/index.php?page=editArea