21.1 What else can be done with PHP?This is NOT the latest copy of this book; click here for the latest version.
The four most interesting alternative uses for PHP are as a command-line scripting language, a cross-platform graphical user interface system, a games engine, and as a host for our own language - we will be looking at all three of these here. Due to a lack of support for various applications on Windows, several parts of both the command-line scripting section and the graphical user interfaces chapter will not work outside of a Unix environment.
Users of Cygwin may be able to circumvent this problem - problems and possible solutions are mentioned where appropriate. In the games section, the graphical games library for Unix is much more advanced than that for Windows, but, so as to help the largest audience, we use the slightly older cross-platform code only.
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|