PHP

Architecture

The only layer is the PHP processor, which can be used by any web server as a handler for PHP pages. The global configuration file includes a list of libraries, which are available to all pages.

State

The server holds a dictionary of objects in memory for each session, accessible as the $_SESSION array.

Source Files

.htaccess
Configures PHP when running as an Apache module. An equivalent php.ini should be used under other scenarios.
A.php
The HTML page for step A.
fromA.php
PHP code to process the data submitted by A.html, and decide which page to move to next.
B.php
The HTML page for step B.
C.php
A mixture of HTML and PHP code to produce the final page.

Deployment

All the source files are simply copied to the web server.

Tools

Some third party tools of varying quality exist, but PHP is typically developed with a text editor and an FTP client.