Important |
This is a reminder that all source code and support for this book can now be found at http://www.apress.com, even though references within the chapters may point to http://www.wrox.com. |
One of the aspects of PHP often overlooked by the programmer is its ability to act as a command line interpreter through COM, CORBA, and the new PHP-GTK to create applications that present the user with a Graphical User Interface (GUI). There are many situations where PHP is the ideal choice to use as the language for the backend of a simple desktop GUI or interactive command line application.
In this chapter we will provide an overview of setting up PHP for use as a command line interpreter. We will then look at:
Automating tasks under Windows and Linux
Creating interactive command line applications
Creating cross-platform windowed applications with PHP-GTK