PHP PORTABLE IDE: Introduction
US PHP IDE : Introduction | Notepad++ | Install PHP | NppExec Config | PHP extensions | Run Menu | XDebug 1 | Debugging 1 | XDebug 2 | Debugging 2
|
|
Uniform Server Portable PHP IDE. |
Uniform Server portable PHP IDE
This step-by-step design guide shows how to create a simple portable PHP IDE (integrated development environment).
Included are steps for converting this IDE to run as a Uniform Server plugin. For completeness the guide includes mini tutorials.
Portable PHP IDE Features:
|
|
|
Background
Some time ago I was asked the following question "Is there an easy way to develop and run PHP CLI scripts from a USB memory stick"?
It transpires this user was learning PHP and wanted an easy way to run code snippets. The reason user had for running from a USB stick, they did not want to install PHP and a full-blown IDE on their PC.
My reply was, use Notepad++, install the NppExec plugin and add core binaries from PHP. To run currently displayed script, write a small NppExec command script. You can create a shortcut key that runs this command script. For greater flexibility, consider adding XDebug which will allow you to debug both CLI and server side scripts.
The response was not unexpected! "Can you supply a complete idiots guide?"
Guide Tutorial Breakdown
This guide is split across several pages. Each page builds on previous pages to construct the final IDE. Pages and topics covered are as follows:
Page |
Content |
Introduction |
This page |
Step-by-step guide creating IDE folder structure. Install and reduce size of Notepad++ (core component). Batch file to start Notepad++
| |
Install PHP for running CLI scripts. You can decide which version of PHP to use
| |
This page covers the following:
| |
This page shows how to enable PHP extensions in the CLI configuration and ensure that the correct file is being picked up.
| |
This page looks at automating functionality using the Notepad++ menu system.
| |
XDebug 1 covers setting up our IDE for PHP CLI debugging using the XDebug extension
| |
| |
XDebug 2 covers setting up our IDE for running and debugging PHP web pages using the XDebug extension
| |
This page provides a recap of material already covered and provides an updated redirect script.
|
Download and Install
After reading this design tutorial, why not download either the finished Portable IDE or Plugin?
Download and Install details are provided on this page: Uniform Server PHP IDE
Summary
First page introduces the core component Notepad++